Jump to content

Help on Web Service/soapUI


gulloom
 Share

Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...