On Fri, 2008-10-17 at 13:17 -0400, Mark Webb wrote: > I am new to Axis2c and have written a simple web service in NetBeans > to test the Axis2c library. I am able to connect to the web service, > but I receive the following error message on the web service side: > > Unsupported Content-Type: application/soap+xml;charset=UTF-8 Supported > ones are: [text/xml] > com.sun.xml.ws.server.UnsupportedMediaException: Unsupported > Content-Type: application/soap+xml;charset=UTF-8 Supported ones are: > [text/xml] > > > I assume Axis2c can support text/xml, but how to I set this in the API?
You may need to send SOAP 1.1. you can do this by calling following function in your client code. axis2_options_set_soap_version(options, env, AXIOM_SOAP11); > > Thanks > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
