wsimport Envelope namespace

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

wsimport Envelope namespace

yevamd
I am using metro's wsimport to generate java classes.

The issue is in the request XML:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap1="http://schemas.microsoft.com/sharepoint/soap/">
   <S:Header/>
   <S:Body>
      <soap1:GetListCollection/>
   </S:Body>
</S:Envelope>


xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"

is wrong!

SOAP only accepts
http://www.w3.org/2003/05/soap-envelope


Same tested with SOAP-UI

Can anything be done?
Reply | Threaded
Open this post in threaded view
|

Re: wsimport Envelope namespace

Miroslav Kos
Both namespaces are valid. The one being generated is SOAP 1.1 where as
you want to use SOAP 1.2.

It's doable, check following blog item:
http://web-gmazza.rhcloud.com/blog/entry/switch-soap11-to-soap12