users@jax-rpc.java.net

Re: Bad Request Error

From: Doug Kohlert <Doug.Kohlert_at_Sun.COM>
Date: Thu, 21 Oct 2004 09:07:38 -0700

Looks like the server is not responding with a SOAP message, see if you
can use a network sniffer to capture the
response.

chirayu shah wrote:

>Hi,
>
>I am using static stub to consume the web service. It
>has been generated by the wscompile utility. When i
>make a method call on stub, it generates following
>exception:
>
>
>[java] java.rmi.RemoteException: HTTP Status-Code 400:
>Bad Request (Bad HTT P header 'Content-Type'); nested
>exception is:
>
> [java] HTTP Status-Code 400: Bad Request
>(Bad HTTP header 'Content-Type')
> [java] at
>com.qualcomm.qwbs.gt3p.gen.SessionServiceSoap_Stub.initiateSe
> ssion(SessionServiceSoap_Stub.java:135)
> [java] at
>com.qualcomm.qwbs.gt3p.GT3PWSClient.main(Unknown
>Source)
> [java] Caused by: HTTP Status-Code 400: Bad
>Request (Bad HTTP header 'Content-Type')
> [java] at
>com.sun.xml.rpc.client.http.HttpClientTransport.checkResponse
> Code(HttpClientTransport.java:319)
> [java] at
>com.sun.xml.rpc.client.http.HttpClientTransport.connectForRes
> ponse(HttpClientTransport.java:252)
> [java] at
>com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
> ientTransport.java:88)
> [java] at
>com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
> java:92)
> [java] at
>com.qualcomm.qwbs.gt3p.gen.SessionServiceSoap_Stub.initiateSe
> ssion(SessionServiceSoap_Stub.java:119)
> [java] ... 1 more
>
>I am finding it hard to figure out the cause. I will
>greatly appreciate the response.
>
>Thanks,
>
>Chirayu Shah
>
>
>
>__________________________________
>Do you Yahoo!?
>Y! Messenger - Communicate in real time. Download now.
>http://messenger.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net