From version 3.1
edited by Pierre Dubois
on 2012/08/24 11:28
To version 3.2
edited by Pierre Dubois
on 2012/08/24 14:49
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -54,7 +54,7 @@
54 54  {{/code}}
55 55  
56 56  
57 -Note that the authentication is BASIC (HTTP) and requires an update of your app.config to specify the HTTP basic authentication:
57 +Note that the authentication is BASIC (HTTPS) and requires an update of your app.config to specify the HTTPS basic authentication:
58 58  
59 59  
60 60  <?xml version="1.0" encoding="utf-8" ?>
... ... @@ -77,7 +77,7 @@
77 77   </basicHttpBinding>
78 78   </bindings>
79 79   <client>
80 - <endpoint address="http://192.168.122.1:8080/dysoweb/ws/soap.ws"
80 + <endpoint address="https://myserver/dysoweb/ws/soap.ws"
81 81   binding="basicHttpBinding" bindingConfiguration="Book" contract="RequeaService.Book"
82 82   name="Book" />
83 83   </client>
... ... @@ -87,10 +87,38 @@
87 87  
88 88  
89 89  
90 +For an http connexion: (Not recommanded for security reasons unless in controled intranet environments):
90 90  
92 +<?xml version="1.0" encoding="utf-8" ?>
93 +<configuration>
94 + <system.serviceModel>
95 + <bindings>
96 + <basicHttpBinding>
97 + <binding name="Book" closeTimeout="00:01:00" openTimeout="00:01:00"
98 + receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
99 + bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
100 + maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
101 + messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
102 + useDefaultWebProxy="true">
103 + <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
104 + maxBytesPerRead="4096" maxNameTableCharCount="16384" />
105 + **<security mode="TransportCredentialOnly">**
106 +**~ <transport clientCredentialType="Basic" realm="" />**
107 +**~ </security>**
108 + </binding>
109 + </basicHttpBinding>
110 + </bindings>
111 + <client>
112 + <endpoint address="http://myserver/dysoweb/ws/soap.ws"
113 + binding="basicHttpBinding" bindingConfiguration="Book" contract="RequeaService.Book"
114 + name="Book" />
115 + </client>
116 + </system.serviceModel>
117 +</configuration>
91 91  
92 92  
93 93  
121 +
94 94  = Calling a Web Service in REQUEA =
95 95  
96 96  Invoking a Web Service from REQUEA requires that you adapt the semantics of the Web Service and wrap it as a JavaScript Plugin service.
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation