gulloom Posted February 4, 2011 Posted February 4, 2011 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: FileserviceOperation: Getwsdl is located at: http://myhost/FileServiceHere 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 to1) Login with MyUser/MyPassword2) Call the operation Get and give the parameter FileService3) Get the response parameter ShortDescriptionThanks for your help!Gul
jvanegmond Posted February 4, 2011 Posted February 4, 2011 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. github.com/jvanegmond
gulloom Posted February 4, 2011 Author Posted February 4, 2011 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now