Florian
The best way to debug this is to trace it with TCPMON. You need to set
your Proxy up and start TCPMON in proxy mode on say port 8001.
ProxyProperties pp = new ProxyProperties();
pp.setProxyName("localhost");
pp.setProxyPort(8001);
stub._getServiceClient().getOptions().setProperty(HTTPConstants.PROXY,
pp);
Paul
On 4/16/07, Florian Wachs <[EMAIL PROTECTED]> wrote:
Hello all,
I`m trying to use a simple .NET Service with Axis2. It´s a simple
HelloWorld Service. After generating the stub with wsdl2java, I tried to
invoke the service, but I´m getting the following errors. I also
implemented the same service with Axis2 and created a Axis2 service and
it worked. I´m quite confused, because weeks ago it worked with the same
Axis / NET versions without any problem.
Maybe someone of you has a clue.
Thanks
Florian
org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Bad
Request'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Bad
Request'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Bad
Request'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Bad Request'
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
at
de.fhrosenheim.webservices.QuizServiceStub.holeFrage(QuizServiceStub.java:152)
at de.fhrosenheim.ws.quizclient.Client.main(Client.java:33)
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '400' -
'Bad Request'; nested exception is:
org.apache.axis2.AxisFault: HTTP Transport error : '400' - 'Bad Request'
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204)
... 5 more
Caused by: org.apache.axis2.AxisFault: HTTP Transport error : '400' -
'Bad Request'
at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335)
... 6 more
org.apache.axis2.AxisFault: Software caused connection abort: recv
failed; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed;
nested exception is:
org.apache.axis2.AxisFault: Software caused connection abort: recv
failed; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
at
de.fhrosenheim.webservices.QuizServiceStub.holeFrage(QuizServiceStub.java:152)
at de.fhrosenheim.ws.quizclient.Client.main(Client.java:33)
Caused by: org.apache.axis2.AxisFault: Software caused connection abort:
recv failed; nested exception is:
java.net.SocketException: Software caused connection abort: recv failed
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204)
... 5 more
Caused by: java.net.SocketException: Software caused connection abort:
recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:541)
at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:119)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335)
... 6 more
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]