Hi
I have problem with return XmlElement, who has value only firstchild of soap response.
Soap Response looks like this:
ResponseCode: 200 (OK)
Content-Length:537
Cache-Control:private, max-age=0
Content-Type:text/xml; charset=utf-8
Date:Tue, 18 May 2010 10:13:57 GMT
Server:Microsoft-IIS/6.0
X-AspNet-Version:1.1.4322
X-Powered-By:ASP.NET
<?xml version="1.0" encoding="utf-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<p_loginResponse xmlns="http://www.dhimahi.com/">
<p_loginResult>
<partner_name>Tripdrop</partner_name>
<address />
<tel />
<session_id>e16e3bcb-3aea-4be9-ba51-779f4e109fa8</session_id>
<fax />
<web />
<pid>2694</pid>
<city />
<country>PL</country>
<postal />
<email />
</p_loginResult>
</p_loginResponse>
</soap:Body>
</soap:Envelope>
I call webservice like this:
Client = new CronEventim.eventim.p_client();
XmlElement _response = Client.p_login(_partnerID, _username, _password);
And XmlElement looks like this (i get by call _response.OuterXml):
<partner_name xmlns="http://www.dhimahi.com/">Tripdrop</partner_name>
How can I get value of session_id node??