Hi ,
I am trying to use WSDL service from my code and try to open a webpage through it but getting error Type mismatch in Web service inbuilt class.
Please help me
Getting error at this line
Public Function login(ByVal login_ As login) As loginResponse
Dim e As CoEnvelope
Set e = createObject("pocketSOAP.Envelope.2") ///Getting type mismatch here
e.EncodingStyle = ""
Set e.SerializerFactory = m_sf
e.Body.Create "login", login_, "http://www.ca.com/UnicenterServicePlus/ServiceDesk"
SendRecv e, ""
Set login = e.Body.Item(0).Value
End Function
I am trying to use WSDL service from my code and try to open a webpage through it but getting error Type mismatch in Web service inbuilt class.
Please help me
Getting error at this line
Public Function login(ByVal login_ As login) As loginResponse
Dim e As CoEnvelope
Set e = createObject("pocketSOAP.Envelope.2") ///Getting type mismatch here
e.EncodingStyle = ""
Set e.SerializerFactory = m_sf
e.Body.Create "login", login_, "http://www.ca.com/UnicenterServicePlus/ServiceDesk"
SendRecv e, ""
Set login = e.Body.Item(0).Value
End Function