cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purnacha <purnachandrarao...@gmail.com>
Subject Read soap envelope when server sends http status 400
Date Mon, 01 Oct 2012 06:00:26 GMT
Hi,

The server sends me 400 status code along with the soap envelope. I need to
read the soap envelope but i am not able to as the client is throwing the
exeption. Is there a way to read the soap envelope even if the servers sends
http status 400? FYI i am using apache cxf generated client.

This is the exception i am seeing:

*com.sun.xml.internal.ws.client.ClientTransportException: The server sent
HTTP status code 400: Bad Request
	at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:217)
	at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:137)
	at
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
	at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:581)
	at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:540)
	at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:525)
	at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:422)
	at com.sun.xml.internal.ws.client.Stub.process(Stub.java:235)
	at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:120)
	at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:230)
	at
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
	at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)*

Thanks
-Purna



--
View this message in context: http://cxf.547215.n5.nabble.com/Read-soap-envelope-when-server-sends-http-status-400-tp5715157.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message