A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
Socket write error due to outbound transmission failure from wsdl-generated client
Joined: Jun 18, 2014
Jun 18, 2014 13:42:11
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Socket write error due to outbound transmission failure from wsdl-generated client
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015