Announcement

Collapse
No announcement yet.

Web Service Sender Edit Respones problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web Service Sender Edit Respones problem

    In my channel I have Web Service Sender, which gives me respone like this one:

    <soap:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Header/>
    <soap:Body>
    <GetPatientResponse xmlns="http://tempuri.org/">
    <GetPatientResult>
    <Name>John</Name>
    <Surname>Smith</Surname>
    <Address>
    <City>London</City>
    </Address>
    </GetPatientResult>
    </GetPatientResponse>
    </soap:Body>
    </soap:Envelope>

    In my Message Templates in Edit Response i also have this message. The problem is, when i try to get values from msg, they are empty, for example :

    var name = msg['soap:Body']['GetPatientResponse']['GetPatientResult']['Name'].toString();

    and there is no value in this variable.

    If anyone has some idea why this is not working?
Working...
X