Re: Problem with SOAP-ENC

From: Arun Gupta <>
Date: Mon, 04 Aug 2003 14:04:07 -0700

Hi Sudhir,

xmlns:SOAP-ENC is only defining a new namespace prefix for your SOAP
envelope. To correctly specify the encoding style, you need to add
SOAP-ENV:encodingStyle="" to
the SOAP envelope.

Thanks for your interest in JAX-RPC.


Sudhir(I) wrote:

> I installed S1 AppServer 7.0 and deployed the toejb jaxrpc sample
> bundled with the app server.
> The request I sent to this service was
> <?xml version="1.0" encoding="UTF-8" ?>
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV=""
> xmlns:SOAP-ENC=""
> xmlns:xsd=""
> xmlns:xsi="">
> <SOAP-ENV:Body>
> <tns:sayHello xmlns:tns="">
> <String_1 xsi:type="xsd:string">stringData1</String_1>
> </tns:sayHello>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> The server is sending a soap fault saying that the soap encoding is
> null in the request. Is there a difference in specifying the
> encoding as "soap-enc" and "SOAP-ENC"???? Because in the WSDL file for
> this service encoding is specified as "soap-enc"!
> Thanks
> Sudhir

There is only one me, I must live myself!
There is only one today, I must live itself!