Sign in to follow this  
Followers 0
gulloom

Help on Web Service/soapUI

3 posts in this topic

I am using soapUI to test my web services, but would like to call the same web services from AutoIt.

Now I don't know where to start.

I have been looking in the forum for a while, without finding a script or hints which help me.

Web Service Name: Fileservice

Operation: Get

wsdl is located at: http://myhost/FileService

Here ist the Input I give in soapUI:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:FileService_01">

<soapenv:Header>

<urn:AuthenticationInfo>

<urn:userName>MyUser</urn:userName>

<urn:password>MyPassword</urn:password>

<!--Optional:-->

<urn:authentication></urn:authentication>

<!--Optional:-->

<urn:locale></urn:locale>

<!--Optional:-->

<urn:timeZone></urn:timeZone>

</urn:AuthenticationInfo>

</soapenv:Header>

<soapenv:Body>

<urn:OpGet>

<urn:FileService>Pluto</urn:FileService>

</urn:OpGet>

</soapenv:Body>

</soapenv:Envelope>

Here is the output I get:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<ns0:OpGetResponse xmlns:ns0="urn:FileService_01">

<ns0:Consolidated/>

<ns0:ShortDescription>Full Synchro</ns0:ShortDescription>

</ns0:OpGetResponse>

</soapenv:Body>

</soapenv:Envelope>

So I need to

1) Login with MyUser/MyPassword

2) Call the operation Get and give the parameter FileService

3) Get the response parameter ShortDescription

Thanks for your help!

Gul

Share this post


Link to post
Share on other sites



Did you search the forum for SOAP, maybe via Google for " AutoIt SOAP "? I didn't, but I happen to know that here is an example SOAP script:

Best of luck. :)

Share this post


Link to post
Share on other sites

Fantastic!

I saw this topic one of those days and lost track of it again ;-)

I can do exactly what I need.

Great!

Thanks very much!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0