-
1. Re: No Content-type in the header
gurkanerdogdu Mar 23, 2009 8:28 AM (in response to gurkanerdogdu)Hey,
Nobody cares my question ?? :)
Thanks; -
2. Re: No Content-type in the header
asoldano Mar 27, 2009 2:38 PM (in response to gurkanerdogdu)Do you have the jbossws-native libraries in you JBOSS_HOME/lib/endorsed as you're using JDK 6?
Asking because the error message you get is most probably from Metro, suggesting on client side you're actually using it instead of JBossWS Native libraries.
Please double check the endorsed lib and provide the full stacktrace of the exception you get. -
3. Re: No Content-type in the header
gurkanerdogdu Mar 30, 2009 2:47 AM (in response to gurkanerdogdu)Thanks for answer.
I have following jars in the endorsed library.
jbossws-native-jaxrpc.jar,-jaxws.jar, -jaxws-ext.jar, -saaj.jar,
Exception is : Exception in Thread main javax.xml.ws.WebServiceException :
No Content-type in the header
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java 163:)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java
)
at com.sun.xml.ws.api.pipe.Fiber.__doRun
et.c....
I run the client in standalone mode in Eclipse. Actually, I am putting all the JBoss Client jars in to the class path.
Exactly, which jars that I have to setup in the client classpath to call webservice correctly?
Thanks a lot;