You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nirmit Desai <ni...@us.ibm.com> on 2006/08/29 19:20:31 UTC

[Axis2] change in envelope from 1.0 to nightly

Hi,

I used to use Axis2 1.0, and now shifted to the nightlies. I always used
doc/lit style.

When I look at the envelopes being exchanged over the wire, I see that the
request messages for operations having no parameters are encoded
differently. I have put envelope sample below.

With 1.0, the request envelope for an operation having no parameter would
have an empty soap:body.

With the nighgtly of 8/24, the soap:body i non-empty, and has one empty
element corresponding to the name of the input message (having no parts),
whtout any namespace.

I have two questions:

--why this change? what does it signify?
--why is the empty message element out of any namespace? shouldn't it be
under the target namespace of the WSDL?

Here, getClubs is the name of the input message
ENVELOPE for 1.0:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header />
      <soapenv:Body/>
</soapenv:Envelope>

ENVELOPE for nightly:
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header />
      <soapenv:Body>
            <getClubs />
      </soapenv:Body>
</soapenv:Envelope>

Thanks,

-Nirmit


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] change in envelope from 1.0 to nightly

Posted by Davanum Srinivas <da...@gmail.com>.
with your wsdl please.

-- dims

On 8/29/06, Anne Thomas Manes <at...@gmail.com> wrote:
> This is a bug. Please enter a JIRA for it.
>
> On 8/29/06, Nirmit Desai <ni...@us.ibm.com> wrote:
> >
> > Hi,
> >
> > I used to use Axis2 1.0, and now shifted to the nightlies. I always used
> > doc/lit style.
> >
> > When I look at the envelopes being exchanged over the wire, I see that the
> > request messages for operations having no parameters are encoded
> > differently. I have put envelope sample below.
> >
> > With 1.0, the request envelope for an operation having no parameter would
> > have an empty soap:body.
> >
> > With the nighgtly of 8/24, the soap:body i non-empty, and has one empty
> > element corresponding to the name of the input message (having no parts),
> > whtout any namespace.
> >
> > I have two questions:
> >
> > --why this change? what does it signify?
> > --why is the empty message element out of any namespace? shouldn't it be
> > under the target namespace of the WSDL?
> >
> > Here, getClubs is the name of the input message
> > ENVELOPE for 1.0:
> > <?xml version='1.0' encoding='utf-8'?>
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> >       <soapenv:Header />
> >       <soapenv:Body/>
> > </soapenv:Envelope>
> >
> > ENVELOPE for nightly:
> > <?xml version='1.0' encoding='utf-8'?>
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> >       <soapenv:Header />
> >       <soapenv:Body>
> >             <getClubs />
> >       </soapenv:Body>
> > </soapenv:Envelope>
> >
> > Thanks,
> >
> > -Nirmit
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] change in envelope from 1.0 to nightly

Posted by Anne Thomas Manes <at...@gmail.com>.
This is a bug. Please enter a JIRA for it.

On 8/29/06, Nirmit Desai <ni...@us.ibm.com> wrote:
>
> Hi,
>
> I used to use Axis2 1.0, and now shifted to the nightlies. I always used
> doc/lit style.
>
> When I look at the envelopes being exchanged over the wire, I see that the
> request messages for operations having no parameters are encoded
> differently. I have put envelope sample below.
>
> With 1.0, the request envelope for an operation having no parameter would
> have an empty soap:body.
>
> With the nighgtly of 8/24, the soap:body i non-empty, and has one empty
> element corresponding to the name of the input message (having no parts),
> whtout any namespace.
>
> I have two questions:
>
> --why this change? what does it signify?
> --why is the empty message element out of any namespace? shouldn't it be
> under the target namespace of the WSDL?
>
> Here, getClubs is the name of the input message
> ENVELOPE for 1.0:
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>       <soapenv:Header />
>       <soapenv:Body/>
> </soapenv:Envelope>
>
> ENVELOPE for nightly:
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>       <soapenv:Header />
>       <soapenv:Body>
>             <getClubs />
>       </soapenv:Body>
> </soapenv:Envelope>
>
> Thanks,
>
> -Nirmit
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org