The Problem with Web Services
PostPosted:Thu Sep 16, 2010 8:03 am
Hi,
In short soap address is generated incorrect for https.
Example in WSDL file in https://address/OpenKM/OKMAuth?wsdl is:
<service name="OKMAuthService">
<port binding="tns:OKMAuthBinding" name="OKMAuthPort">
<soap:address location="http://address:8080/OpenKM/OKMAuth"/>
</port>
</service>
When I tried to use Java client I get error like this:
302 Moved Temporarily
All HTTP response is:
HTTP/1.1 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: https://address/OpenKM/OKMAuth
Content-Length: 0
Date: Thu, 16 Sep 2010 07:43:02 GMT
Can anybody help me?
Thanks in advance!
Cheers.
In short soap address is generated incorrect for https.
Example in WSDL file in https://address/OpenKM/OKMAuth?wsdl is:
<service name="OKMAuthService">
<port binding="tns:OKMAuthBinding" name="OKMAuthPort">
<soap:address location="http://address:8080/OpenKM/OKMAuth"/>
</port>
</service>
When I tried to use Java client I get error like this:
302 Moved Temporarily
All HTTP response is:
HTTP/1.1 302 Moved Temporarily
Server: Apache-Coyote/1.1
Location: https://address/OpenKM/OKMAuth
Content-Length: 0
Date: Thu, 16 Sep 2010 07:43:02 GMT
Can anybody help me?
Thanks in advance!
Cheers.