<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Sep 2016 13:45:20 Z</lastBuildDate><pubDate>8 Sep 2016 13:47:00 Z</pubDate><description>Hi Everyone&#13;
&#13;
I am struggling with integrating a couple of web services and was wondering if anyone could offer some help or advice please?&#13;
&#13;
I have imported my web service into Windev 21 and am able to make a call, and retrieve a result without any problems like so...&#13;
&#13;
MyData is ExampleWebservice&#13;
MyResponse is ExampleWebserviceResponse&#13;
&#13;
MyData.forename = "string"&#13;
MyData.surname = "string"&#13;
MyData.accountNumber = "123456"&#13;
&#13;
MyResponse = ExampleWebservice(MyData)&#13;
&#13;
This works fine, however the SOAP message that is sent using this method does not include a SOAP header. I need to include the following header in the sent SOAP message.&#13;
&#13;
[soap:Header]&#13;
[UserAuthenticateHeader xmlns="https://www.example.co.uk/v3/"]&#13;
[UserName]string[/UserName]&#13;
[Password]string[/Password]&#13;
[/UserAuthenticateHeader]&#13;
[/soap:Header]&#13;
&#13;
The only function I can find for this is SOAPAddHeader, but as far as I am aware this only works for other SOAP functions such as SOAPRunXML and will not work with the method described above. Does anyone know if this is possible for the above method? (The username &amp; password can not be passed as a variable of MyData unfortunately.)&#13;
&#13;
I am also able to use SOAPPrepare to create the XML, insert the header into the XML manually, then send using SOAPRunXML. My problem with this, is that SOAPPrepare seems to format the SOAP message using a different XML Schema than the webservice uses, which is incredibly annoying and basically gives me useless XML code. Is there any way of specifying the schema to use for this? Or if you have any other advice it would be much appreciated.&#13;
&#13;
Thanks&#13;
&#13;
Phil.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help/read.awp</link><title>[WD21] SOAP Webservice Help</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Attlebax</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59550/read.awp</comments><pubDate>14 Sep 2016 13:45:20 Z</pubDate><description>Web Services are web services. SOAP Services are SOAP Services. &#13;
&#13;
MyData is ExampleWebservice&#13;
MyResponse is ExampleWebservice…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59550/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59550/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help/read.awp">[WD21] SOAP Webservice Help</source><title>Re: [WD21] SOAP Webservice Help</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59515/read.awp</comments><pubDate>12 Sep 2016 10:07:00 Z</pubDate><description>Hi,&#13;
&#13;
Sometimes we use a proxy service written in C# to communicate between different development platforms. The C# handles the…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59515/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59515/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help/read.awp">[WD21] SOAP Webservice Help</source><title>Re: [WD21] SOAP Webservice Help</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59497/read.awp</comments><pubDate>9 Sep 2016 13:46:00 Z</pubDate><description>Hi Phil,&#13;
&#13;
It is true that if you have to work via SOAPxxx to get your work done, WX becomes 10 times slower and more cumbersom…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59497/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59497/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help/read.awp">[WD21] SOAP Webservice Help</source><title>Re: [WD21] SOAP Webservice Help</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59495/read.awp</comments><pubDate>9 Sep 2016 11:33:00 Z</pubDate><description>Thanks Peter&#13;
&#13;
I have tried this, but I believe the username and password you are specifying there form part of the HTTP header…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59495/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59495/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help/read.awp">[WD21] SOAP Webservice Help</source><title>Re: [WD21] SOAP Webservice Help</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59493/read.awp</comments><pubDate>9 Sep 2016 10:55:00 Z</pubDate><description>Hi Phil,&#13;
&#13;
Did you try to set the authentification in code like this:&#13;
(Lists is an imported Microsoft SharePoint webservice)&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59493/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help-59493/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59488-wd21-soap-webservice-help/read.awp">[WD21] SOAP Webservice Help</source><title>Re: [WD21] SOAP Webservice Help</title></item></channel></rss>
