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 Harrie Hazewinkel <ha...@funambol.com> on 2007/05/26 00:23:54 UTC

soap or soapenv

Hallo,


I would like to know if someone can tell me the difference between the
usage of 'soap' and 'soapenv'? I see the usage of 'soapenv' in the
axis2 package, but .NET uses 'soap' and does not accept the 'soapenv'.
Is there some parameter one can set for this?

message

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

and

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://
schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
.....
   </soap:Header>
   <soap:Body>
.....
   </soap:Body>
</soap:Envelope>

Thanks by advance,
Harrie
------------------------------------------------------------------
Funambol - Professional Services, Netherlands
http://www.funambol.com/



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


Re: soap or soapenv

Posted by David Illsley <da...@gmail.com>.
Um, I respectufully disagree. Both messages look like soap 1.1 to me.

The xml prefix (soap, soapenv etc) is just a shorthand in xml and the
exact chosen by a given framework is immaterial. I struggle to believe
that .Net can't accept a message with a different prefix.

Can you post the exact error you get back?
Thanks,
David

On 28/05/07, Michael.Davis@servicecanada.gc.ca
<Mi...@servicecanada.gc.ca> wrote:
> The former is SOAP version 1.2, and the latter is SOAP version 1.1.
>
> I'm new to Axis but I'm betting that there is a way to coerce it into using soap 1.1 (or maybe there's a way to coerce .net to use 1.2?)
>
> Michael Davis
>
>
> > -----Original Message-----
> > From: Harrie Hazewinkel [mailto:harrie@funambol.com]
> > Sent: Friday, May 25, 2007 6:24 PM
> > To: axis-user@ws.apache.org
> > Subject: soap or soapenv
> >
> >
> > Hallo,
> >
> >
> > I would like to know if someone can tell me the difference between the
> > usage of 'soap' and 'soapenv'? I see the usage of 'soapenv' in the
> > axis2 package, but .NET uses 'soap' and does not accept the 'soapenv'.
> > Is there some parameter one can set for this?
> >
> > message
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
> > envelope/">
> >    <soapenv:Header>
> > .....
> >    </soapenv:Header>
> >    <soapenv:Body>
> > ......
> >    </soapenv:Body>
> > </soapenv:Envelope>
> >
> > and
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://
> > schemas.xmlsoap.org/soap/envelope/">
> >    <soap:Header>
> > .....
> >    </soap:Header>
> >    <soap:Body>
> > .....
> >    </soap:Body>
> > </soap:Envelope>
> >
> > Thanks by advance,
> > Harrie
> > ------------------------------------------------------------------
> > Funambol - Professional Services, Netherlands
> > http://www.funambol.com/
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>


-- 
David Illsley - IBM Web Services Development

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


RE: soap or soapenv

Posted by Mi...@servicecanada.gc.ca.
The former is SOAP version 1.2, and the latter is SOAP version 1.1.

I'm new to Axis but I'm betting that there is a way to coerce it into using soap 1.1 (or maybe there's a way to coerce .net to use 1.2?)

Michael Davis


> -----Original Message-----
> From: Harrie Hazewinkel [mailto:harrie@funambol.com]
> Sent: Friday, May 25, 2007 6:24 PM
> To: axis-user@ws.apache.org
> Subject: soap or soapenv
> 
> 
> Hallo,
> 
> 
> I would like to know if someone can tell me the difference between the
> usage of 'soap' and 'soapenv'? I see the usage of 'soapenv' in the
> axis2 package, but .NET uses 'soap' and does not accept the 'soapenv'.
> Is there some parameter one can set for this?
> 
> message
> 
> <?xml version="1.0" encoding="utf-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/ 
> envelope/">
>    <soapenv:Header>
> .....
>    </soapenv:Header>
>    <soapenv:Body>
> ......
>    </soapenv:Body>
> </soapenv:Envelope>
> 
> and
> 
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://
> schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header>
> .....
>    </soap:Header>
>    <soap:Body>
> .....
>    </soap:Body>
> </soap:Envelope>
> 
> Thanks by advance,
> Harrie
> ------------------------------------------------------------------
> Funambol - Professional Services, Netherlands
> http://www.funambol.com/
> 
> 
> 
> ---------------------------------------------------------------------
> 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