Assign Web Service Responce Data to A Variable (v5.5.2)
Hello everyone,
I have a problem to assign bonita variable from a web service response datas. I have to use different web service connectors and so there would be different response types. How can i assign the data which i need from web service response? for example ; I need to assign a variable "s7kojc33pqknkqr749hefd1k76".. Please help because i dont know how to assign web service response datas to bonita variables.
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:soap_call_wrapperResponse xmlns:ns1="https://secure.skylogicnet.com/wss/services/soap/">
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="unnamed_struct_use_soapval[2]">
<item>
<title xsi:type="xsd:string">sessid</title>
<value xsi:type="xsd:string">**s7kojc33pqknkqr749hefd1k76**</value>
</item>
<item>
<title xsi:type="xsd:string">user</title>
<value>
<uid xsi:type="xsd:int">0</uid>
<hostname xsi:type="xsd:string">***</hostname>
<roles xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
<item xsi:type="xsd:string">anonymous user</item>
</roles>
<session xsi:type="xsd:string"/>
<cache xsi:type="xsd:int">0</cache>
</value>
</item>
</return>
</ns1:soap_call_wrapperResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<ns1:soap_call_wrapperResponse xmlns:ns1="https://secure.skylogicnet.com/wss/services/soap/">
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="unnamed_struct_use_soapval[2]">
<item>
<title xsi:type="xsd:string">sessid</title>
<value xsi:type="xsd:string">**s7kojc33pqknkqr749hefd1k76**</value>
</item>
<item>
<title xsi:type="xsd:string">user</title>
<value>
<uid xsi:type="xsd:int">0</uid>
<hostname xsi:type="xsd:string">***</hostname>
<roles xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">
<item xsi:type="xsd:string">anonymous user</item>
</roles>
<session xsi:type="xsd:string"/>
<cache xsi:type="xsd:int">0</cache>
</value>
</item>
</return>
</ns1:soap_call_wrapperResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
No answers yet.
Comments
Anyone who want to help me about this situation?
Thanks.