|
| [WD 18]Webservice Soap Request |
| Iniciado por guest, 17,feb. 2015 09:49 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 17,febrero 2015 - 09:49 |
Hi
Is there anybody with Windev 18 that can try the following code from a test application?
In the code of a button on a form just copy and paste this text after loading the following wsdl in webservices:
<a class="ExternalLink" rel="nofollow" target="_blank" href="http://wsg.za.adaptris.com/wsg/resource/handler/soapmanager/MessageService?wsdl">http://wsg.za.adaptris.com/wsg/resource/handler/soapmanager/MessageService…</a>
//Code to paste soapMessage is Structure src is string dst is string type is string autoRelease is boolean payload is string username is string password is string END
MySoapMessage.payload = sMyResult is string = PushMessage("QA0000005918","QA0000001822","execution","true","","QA0000005918","password") Info(sMyResult)
//end Code
On my machine in Windev 18 no result is returned.
On a friend's Windev 19 the same code generates a result.
Unfortunately I cannot afford to upgrade to Windev 19 now so I'm trying to see if the problem is with Windev 18 or something else on my machine.
Thanks in advance
Ericus Steyn |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,febrero 2015 - 10:54 |
Ericus Slight change of code to get it to run... //Code to paste soapMessage is Structure src is string dst is string type is string autoRelease is boolean payload is string username is string password is string END MySoapMessage is soapMessage //Code to paste sMyResult is string sMyResult = PushMessage("QA0000005918","QA0000001822","execution","true","","QA0000005918","password") MySoapMessage.payload = sMyResult Info(sMyResult) //end Code However I have the same result as you.
Nothing is returned when run from v17 or v18. When run in v19 I get "96ef3aea-0000-000a-5218-f8f02e3b1e61" returned.
A question for PCS support maybe. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,febrero 2015 - 11:16 |
Thanks very much Derek. I passed it on to PC Soft today so will see what they say.
Regards
Ericus Steyn |
| |
| |
| | | |
|
| | | | |
| | |
|