Hi,
I'm trying to receive data from an webservice. The code i use to ask the webservice to response you find under here. Now I have to send a longchar to the webservice but i don't know if my strXML is a longchar of do i have to transform it to a longchar or what? I just don't know how to send the caller object on another way...
DEFINE VARIABLE caller AS LONGCHAR NO-UNDO.
DEFINE VARIABLE Caller_GetPrivilegesResult AS CHARACTER EXTENT NO-UNDO.
ASSIGN
strXML = strXML + " <ns0:caller xmlns:ns0='http://www.geodynamics.be/.........'>"
strXML = strXML + " <ns0:CompanyName></ns0:CompanyName>"
strXML = strXML + " <ns0:LoginName></ns0:LoginName>"
strXML = strXML + " <ns0assword></ns0assword>"
strXML = strXML + " </ns0:caller>".
ASSIGN caller = strXML.
RUN Caller_GetPrivileges IN hIntegratorWebserviceSoap(INPUT caller, OUTPUT Caller_GetPrivilegesResult).
I'm trying to receive data from an webservice. The code i use to ask the webservice to response you find under here. Now I have to send a longchar to the webservice but i don't know if my strXML is a longchar of do i have to transform it to a longchar or what? I just don't know how to send the caller object on another way...
DEFINE VARIABLE caller AS LONGCHAR NO-UNDO.
DEFINE VARIABLE Caller_GetPrivilegesResult AS CHARACTER EXTENT NO-UNDO.
ASSIGN
strXML = strXML + " <ns0:caller xmlns:ns0='http://www.geodynamics.be/.........'>"
strXML = strXML + " <ns0:CompanyName></ns0:CompanyName>"
strXML = strXML + " <ns0:LoginName></ns0:LoginName>"
strXML = strXML + " <ns0assword></ns0assword>"
strXML = strXML + " </ns0:caller>".
ASSIGN caller = strXML.
RUN Caller_GetPrivileges IN hIntegratorWebserviceSoap(INPUT caller, OUTPUT Caller_GetPrivilegesResult).