Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
Socket write error due to outbound transmission failure from wsdl-generated client
posted 2 years ago
Given a Weka Service
source (Weka 3.7), I generate a WSDL from it using apache axis CXF (version 2.7.7).
I then generate a client from this WSDL using apache axis2 (1.6.2).
I run the Weka Service on a
server (7.0) followed by running the generated client.
The client fails to send the outbound message, meaning the response is failing to transmit.
I suspect this is mainly due to these main errors:
Software caused connection abort: socket write error
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Invalid chunk header</faultstring></soap:Fault></soap:Body></soap:Envelope>
The full error stack can be found at
Apache CXF 2.7.7 download link:
Please ask for the Weka source projects if you would like to try it out yourself and I will post it.
unable to connect to .Net web service using axis with java
Jaxws client binding / unmarshal problem
How do I catch a user define exception on the client (SOAP/JAX-RPC/WSDL)
Getting Bad Response from Web service
Error reading XMLStreamReader @ SOAPUI but works fine in browser