I need to consume a web service called testStatus in lotuscript. There is a service called helloworld that needs no params and is called by setting up the client and then using:
client.helloWorld
this works fine however when i try to use the testStatus passing the three params eg
client.testStatus(1, 1, “Test”)
I get an automation object error. Any ide where im going wrong? I thought I may need to create some sort of xml object and pass that but ive not done it before? The code from the WSDL is below for the service im trying to use although ive changed the address
POST /TESTws/interface.asmx HTTP/1.1
Host: www.mywebsrvice.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: “http://www.mywebsrvice.co.uk/webservices/TestStatus”
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=“http://www.w3.org/2001/XMLSchema”
xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
<TestStatus xmlns="http://www.mywebsrvice.co.uk/webservices">
<status>
<OperationCompleted>boolean</OperationCompleted>
<OperationSuccessful>boolean</OperationSuccessful>
<ErrorMessage>string</ErrorMessage>
</status>
</TestStatus>
</soap:Body>
</soap:Envelope>