http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#SOAP_encodingStyle_Attribute
3.1.6 SOAP encodingStyle Attribute
The soap:encodingStyle attribute is used to indicate the use of a particular
scheme in the encoding of data into XML. However, this introduces complexity,
as this function can also be served by the use of XML Namespaces. As a result,
the Profile prefers the use of literal, non-encoded XML.
R1005
An ENVELOPE MUST NOT contain soap:encodingStyle
attributes on any of the elements whose namespace name is "http://schemas.xmlsoap.org/soap/envelope/".
R1006
An ENVELOPE MUST NOT contain soap:encodingStyle
attributes on any element that is a child of soap:Body.
R1007
An ENVELOPE described in an rpc-literal binding MUST NOT
contain soap:encodingStyle attribute on any element that is a grandchild of soap:Body.
Thank you for responding.
I did read something about this:
http://www-128.ibm.com/developerworks/webservices/library/ws-tip-j2eenet1/
But I couldn't confirm it by reading the specs on ws.apache.org/axis any
references to specs related to this would be appreciated.
best regards,
raymond
On Mon, 1 May 2006 20:25:20 -0500, Anne Thomas Manes wrote
> "literal" means there is no encoding style. It is inappropriate to specify
> one.
>
> Anne
>
> On 5/1/06, Raymond Domingo < [EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > Is there really no way to enable encodingStyle when using rpc literal ?
> >
> > In the request I recieve from some (soap) client there is an
> > encodingStyle,
> > but the response from my axis server has no encodintStyle. I suspect this
> > is
> > the cause why my clients to throw an exception.
> >
> > client request:
> > <?xml version='1.0' encoding='utf-8'?>
> > <SOAP-ENV:Envelope xmlns:SOAP-ENV="
> > http://schemas.xmlsoap.org/soap/envelope/ "
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema ">
> > <SOAP-ENV:Body>
> > <ns1:adHocVragen xmlns:ns1="LRDServiceSOAP.xml"
> > SOAP-ENV:encodingStyle=" http://xml.apache.org/xml-soap/literalxml">
> > <parameters>
> > ....
> >
> >
> > server response:
> > <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/
> > "
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema "
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Body>
> > <adHocVragenResponse xmlns=" LRDServiceSOAP.xml">
> > <parameters xmlns="">
> >
> > Any hints please ?
> >
> > thnx
> > raymond domingo
> >
