有一个.NET WCF服务,我有一个Java消费者客户端。
发送请求时,我收到错误回复: -
Invoking handleMessage... Sending Message to server... Exception in
thread "main" com.sun.xml.internal.ws.client.ClientTransportException:
The server sent HTTP status code 415: Cannot process the message
because the content type 'application/soap+xml;charset="utf-8";
action="http://tempuri.org/IServiceBus/HandleMessage"' was not the expected type 'application/soap+msbin1'.
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:196)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:168)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:83)
我将实施什么以便客户端 - 服务器交互工作?
非常感谢任何建议。
我也有一个JaxB绑定文件,但不确定我需要做些什么更改。
由于 保罗