Re: Problem with SOAP-ENC

From: Sudhir(I) <"Sudhir>
Date: Mon, 04 Aug 2003 19:53:37 -0700

oops! Yes I missed that one. Thanks arun.


-----Original Message-----
From: Public discussion on JAX-RPC [mailto:JAXRPC-INTEREST_at_JAVA.SUN.COM]On
Behalf Of Arun Gupta
Sent: Monday, August 04, 2003 2:04 PM
Subject: Re: Problem with SOAP-ENC

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!