Hello,

Many thanks for this. I'm using Spring and by changing a value in one of the 
context files, the call to the webservice succeeds.

Mark

-----Original Message-----
From: Nigel Charman [mailto:nigel.charman...@gmail.com]
Sent: Monday, 28 November 2011 10:42 p.m.
To: jibx-users@lists.sourceforge.net
Subject: Re: [jibx-users] soapenv:Envelope namespace declaration

Hi Mark

Which web service framework are you using?

SOAP 1.2 uses "http://www.w3.org/2003/05/soap-envelope"; for the
namespace and SOAP 1.1 uses "http://schemas.xmlsoap.org/soap/envelope/";,
so you'll want to set your web service framework to use SOAP 1.1.

cheers
Nigel

On 28/11/11 15:13, Mark Harris wrote:
> Hello,
>
> How do I change the namespace declaration for the top soapenv:Envelope tag 
> that JiBX automatically adds to the top of every generated SOAP envelope?
>
> I'm trying to connect to a remote webservice. When I do so via JiBX (via 
> version 1.1.5), it automatically creates the following:
>
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
>
> ... which generates a SOAP error in the remote webservice. However, if I 
> manually change it to:
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>
> ... and resubmit using the soapUI application, it works.
>
> Thanks in advance for any assistance.
>
> Mark
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to