Honored Contributor Honored Contributor
Re: Call HPOO Workflow through webservice?
[ Edited ]

Hi Milap,


You can use msxml2.serverxmlhttp

use create object for CreateObject("Msxml2.ServerXMLHTTP.3.0")

use the open() method for acheiving the authentication as it uses five parameters

open (HTTPMethode , "http://localhost/books.xml", false);


oServerXMLHTTPRequest.open(bstrMethod, bstrUrl, bAsync, bstrUser, bstrPassword);


bstrMethod: The HTTP method used to open the connection, such as PUT or PROPFIND. For ServerXMLHTTP, this parameter is case-sensitive and the method name must be entered in all upper-case letters.


bstrUrl: The requested URL. This can be either an absolute URL, such as "http://Myserver/Mypath/Myfile.asp", or a relative URL, such as "../MyPath/MyFile.asp".


bAsync(optional): Boolean. Indicator as to whether the call is asynchronous. The default is False (the call does not return immediately).


bstrUser(optional): The name of the user for authentication.


bstrPassword(optional): The password for authentication. This parameter is ignored if the user parameter is Null or missing.


VBS Example:

http = Server.CreateObject("MSXML2.ServerXMLHTTP")
http.open "POST", "https://uspthsphpoo01.nam.corp.gm.com:8443/PAS/services/rest/run/096e9b19-e2b2-4f20-98b5-737ea19ad461",   False,"username","password"



Ref: http://msdn.microsoft.com/en-us/library/windows/desktop/ms763809(v=vs.85).aspx

Mahmoud Ibrahim
  • Say thanks by clicking the "Kudos! Star" which is on the left.

  • Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.