Hi, I am facing a issue to connect CA Clarity PPM WebService using VBScript. When I try to MsgBox the SessionID, it returns null or empty. What can be? I have the code below to Login and get a SessionID, look the lines 91, 92 and 97.
Works like this:
Dim isexternal As String, currdate, strMessageFinish As String
Dim xmlhttp As Object
Dim lResolve As Integer, lConnect As Integer, lSend As Integer, lReceive As Integer
Commented out the un-needed request headers.
'CONSTRUCT THE CALL AND PASS SOAP MESSAGE IN
xmlhttp.Open "POST", SoapServer, False
'xmlhttp.setRequestHeader "Man", Post & " " & SoapServer & " HTTP/1.1"
'xmlhttp.setRequestHeader "MessageType", "CALL"
'xmlhttp.setRequestHeader "Content-Type", "text/xml"
Debug showed this:
I am not familiar with VBscript at all but can you extract the full contents of the
that you have around line 90 - perhaps there is something interesting in the full message that the web-service is returning to you.
This the result that I am looking for, do you have the entire script? I am trying to adjust my script with your considerations, but I get the same error.
My network proxy was causing the null return of web service. I used another network and now I can see the SessionID.
Retrieving data ...