SOAP: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
==[[ASP 3.0 and VBS]]== |
==[[ASP 3.0 and VBS]]== |
||
Dim client |
Dim client |
||
Dim result |
Dim result |
||
Set client = CreateObject("MSSOAP.SoapClient") |
Set client = CreateObject("MSSOAP.SoapClient") |
||
client.MSSoapInit "http://example.com/soap/wsdl" |
client.MSSoapInit "http://example.com/soap/wsdl" |
||
⚫ | |||
result = client. |
result = client.anotherSoapFunc(34234) |
||
⚫ |
Revision as of 19:54, 23 January 2007
SOAP
You are encouraged to solve this task according to the task description, using any language you may know.
You are encouraged to solve this task according to the task description, using any language you may know.
In this task, the goal is to create a SOAP client which accesses functions defined at http://example.com/soap/wsdl, and calls the functions soapFunc( ) and anotherSoapFunc( ).
PHP
<?php $client = new SoapClient('http://example.com/soap/wsdl'); $result = $client->soapFunc('hello'); $result = $client->anotherSoapFunc(34234); ?>
ASP 3.0 and VBS
Dim client Dim result Set client = CreateObject("MSSOAP.SoapClient") client.MSSoapInit "http://example.com/soap/wsdl" result = client.soapFunc("hello") result = client.anotherSoapFunc(34234)