cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: Read soap envelope when server sends http status 400
Date Tue, 09 Oct 2012 08:59:19 GMT
Hmm, you are not using cxf client but the jaxws  reference implementation metro.

also redirect to users mailing list.


-------------
Freeman Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-10-1, at 下午2:00, purnacha wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message