users@jax-rpc.java.net

Bad Request Error

From: chirayu shah <chiru24_at_yahoo.com>
Date: Wed, 20 Oct 2004 18:07:51 -0700 (PDT)

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