Thanks for the help, but I am still getting the similar problems.
Below are the 2 settings I am using and the errors on the server.  The
web service is one that I wrote as a tester in NetBeans using JDK1.6.

AXIOM_SOAP11
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]

AXIOM_SOAP12
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]

Thanks
Mark



On Sat, Oct 18, 2008 at 1:53 AM, Manjula Peiris <[EMAIL PROTECTED]> wrote:
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to