Problem with XML replied from web services
<cfset ServiceResult = "">
<cfset xmltext=xmlParse('<?xml version="1.0" ?>
<SOAP-ENV:Envelope 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">
<SOAP-ENV:Body>
<runProcess xmlns="http://3e.pl/ADInterface">
<ModelRunProcessRequest>
<ModelRunProcess AD_Process_ID="1000000" AD_Menu_ID="0" AD_Record_ID="0" DocAction="">
<serviceType>IInvoice</serviceType>
<ParamValues>
<field column="DocumentNo">
<val>#DOCNO_P#</val>
</field>
</ParamValues>
</ModelRunProcess>
<ADLoginRequest>
<user>WebService</user>
<pass>WebService</pass>
<lang>en_US</lang>
<ClientID>11</ClientID>
<RoleID>50004</RoleID>
<OrgID>11</OrgID>
<WarehouseID>103</WarehouseID>
<stage />
</ADLoginRequest>
</ModelRunProcessRequest>
</runProcess>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>')>
<cfhttp method="post" url="http://192.168.1.11:8080/ADInterface/services/ModelADService">
<cfhttpparam type ="XML" value=#xmltext#>
</cfhttp>
<cfset ServiceResult = cfhttp.fileContent>
from the code above, i will get replied and store into ServiceResult as below
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body><ns1:runProcessResponse
xmlns:ns1="http://3e.pl/ADInterface"><RunProcessResponse
xmlns="http://3e.pl/ADInterface" IsError="false">
<Summary>99 : Transaction Failed C_InvoiceLine</Summary><LogInfo />
</RunProcessResponse></ns1:runProcessResponse></soap:Body></soap:Envelope>
actually what i need is only those information inside the <summary> tag. How can i get the result i need?
Any expert can give their advies? thank you.
