Issue
I made a wsdl using sun-jaxws. I created a web service client in Netbeans, and successfully called the wsdl web service. Then I configured my nginx server to access the web service by https. When I call the service over https I get the following error: com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 200: OK
My wsdl is available by address https://somesite.com/mywsdl/?wsdl
. Inside the wsdl I see such service location:
<service name="GenericService">
<port name="GenericServicePort" binding="tns:GenericServicePortBinding">
<soap:address location="https://somesite.com:443/mywsdl"/>
</port>
</service>
I don't know whether the problem is in my nginx configuration, or in my jaxws.
Solution
The problem was in the extra slash in my url. I changed url from https://somesite.com/mywsdl/?wsdl
to https://somesite.com/mywsdl?wsdl
and the problem disappeared.
Answered By - Alexander Pavlov
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.