Kevin Mortimer Posted August 6, 2010 Posted August 6, 2010 (edited) 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, 2010 by Guest
sterlpearl Posted August 9, 2010 Posted August 9, 2010 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.
Kevin Mortimer Posted August 11, 2010 Author Posted August 11, 2010 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" )
Recommended Posts
This topic is 5217 days old. Please don't post here. Open a new topic instead.
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