小编Ale*_*lov的帖子

连接到Web服务会导致com.sun.xml.internal.ws.client.ClientTransportException:服务器发送了HTTP状态代码200:确定

我使用sun-jaxws制作了wsdl。我在Netbeanse中创建了Web服务客户端,并成功调用了wsdl Web服务。然后,我将Nginx服务器配置为通过https访问Web服务。通过https致电服务时出现错误com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 200: OK

我的wsdl可通过地址获得https://somesite.com/mywsdl/?wsdl。在wsdl中,我看到了这样的服务位置:

<service name="GenericService"> <port name="GenericServicePort" binding="tns:GenericServicePortBinding"> <soap:address location="https://somesite.com:443/mywsdl"/> </port> </service>

我不知道问题出在我的nginx配置还是我的jaxws中。

java soap web-services nginx jax-ws

3
推荐指数
1
解决办法
8028
查看次数

标签 统计

java ×1

jax-ws ×1

nginx ×1

soap ×1

web-services ×1