August 6, 201015 yr Can web assistant handle authentication to a server using soap. example would be... SOAP Request POST /webserviceauthenticator.asmx HTTP/1.1 Host: webservices.seek.com.au Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.seek.com.au/AuthenticateWS" <?xml version="1.0" encoding="utf-8"?> string string string Edited August 6, 201015 yr by Guest
August 9, 201015 yr Yes. You would pass in the entire SOAP payload as a parameter to the function WASetRawPostData. There is nothing special about SOAP authentication Web Service operations, or any other SOAP operation, for that matter. They usually return some sort of token that you use for calls to other operations. It's just a basic post. To make the entire call, you would make one call to WASetRequestHeader for every header name and value you want to set, followed by the aforementioned call to WASetRawPostData. Finally you would call WAGetURL, passing in the URL of the Web service endpoint as a parameter. Check out the documentation at http://www.360works.com/plugins/WEBASSISTANTPLUG/documentation.html for more information on WASetRequestHeader, WASetRawPostData and WAGetURL and the rest of the plugin functions.
August 11, 201015 yr Author Hi Thanks again....Ok I have used WASetRequestHeader and WASetRawPostData and got a result of 1 which is fine. I am not sure what url I am supposed to use. I am supposed to receive a token if authentication passes. According to documentation i am working with these are the headers. POST /webserviceauthenticator.asmx HTTP/1.1 Host: webservices.seek.com.au Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.seek.com.au/AuthenticateWS" Here is my calc. It returns 1 but how do i see the actual response? WAReset and WASetRequestHeader ( "Post" ; "/webserviceauthenticator.asmx HTTP/1.1" ) and WASetRequestHeader ( "Content-Type:" ; "text/xml; charset=utf-8" ) and WASetRequestHeader ( "Content-Length: " ; "1000" ) and WASetRequestHeader ( "SOAPAction:" ; "http://webservices.seek.com.au/AuthenticateWS" ) and WASetRawPostData ( "<?xml version="1.0" encoding="utf-8"?> username password Uploader ") and WAGetUrl("http://webservices.seek.com.au" ) and WAGetResponseHeader ( "Post" )
Create an account or sign in to comment