Google: Flex WebService document literal xml

 

Also, you will find it much easier to debug problems if you build  the
webservice request object in AS rather than in declarative mxml;.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of NATA RAJAN
Sent: Wednesday, December 17, 2008 1:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] problem in WebService help me plz

 

Hi All,

The Below code is working very fine . but my need is i want to place the
XML file instead of parameter (externalServiceParameterInfo). if i print
in XML file using Aert it will show correctly..

<mx:WebService id="ws_IM"
wsdl="http://125.17.111.152:8600/imedicore/services/ExternalServiceDAO?w
sdl
<http://125.17.111.152:8600/imedicore/services/ExternalServiceDAO?wsdl>
" service="ExternalServiceDAO"
port="ExternalServiceDAOSOAP11Port" useProxy="false" >
<mx:operation name="UpdateAllExternalServiceParameterInfo"
resultFormat="e4x" result="ws_IM_result(event)"
fault="ws_IM_fault(event)">
<mx:request xmlns="http://www.resilient-networks.com/schemas
<http://www.resilient-networks.com/schemas> "
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
<http://schemas.xmlsoap.org/soap/envelope/> ">
<inParam>
<externalServiceParameterInfo>
<externalServiceGUID>{ExGuid}</externalServiceGUID>
<externalServiceParameterGUID>{getAllExSrParam_arr_guid.getItemAt(0)}</e
xternalServiceParameterGUID>
<name>{getAllExSrParam_arr_names.getItemAt(0)}</name>
<type>Text</type>
<value>{getAllExSrParam_arr_values.getItemAt(0)}</value>
</externalServiceParameterInfo>
</inParam>
</mx:request>
</mx:operation>
</mx:WebService>

MY CODE IS
~~~~~~~~~~
[Bindable]
public var inParameter:XMLList = new XMLList(<inParam/>);

<mx:WebService id="ws_IM"
wsdl="http://125.17.111.152:8600/imedicore/services/ExternalServiceDAO?w
sdl
<http://125.17.111.152:8600/imedicore/services/ExternalServiceDAO?wsdl>
" service="ExternalServiceDAO"
port="ExternalServiceDAOSOAP11Port" useProxy="false" >
<mx:operation name="UpdateAllExternalServiceParameterInfo"
resultFormat="e4x" result="ws_IM_result(event)"
fault="ws_IM_fault(event)">
<mx:request xmlns="http://www.resilient-networks.com/schemas
<http://www.resilient-networks.com/schemas> "
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
<http://schemas.xmlsoap.org/soap/envelope/> ">
<inParam>

{inParameter. externalServiceParameterInfo} // XML file it will print
correctly in Alert but not working here 

</inParam>
</mx:request>
</mx:operation>
</mx:WebService>

XML file
~~~~~~

<externalServiceParameterInfo>
<externalServiceGUID>1200</externalServiceGUID>
<externalServiceParameterGUID>1001</externalServiceParameterGUID>
<name>Lipix</name>
<type>Text</type>
<value>Reference</value>
</externalServiceParameterInfo>

Plz find me a solution for this WebService parameter issue .

Thanks in Advance

Regards
Natarajan V

Download prohibited? No problem. CHAT from any browser, without
download. Go to http://in.webmessenger.yahoo.com/
<http://in.webmessenger.yahoo.com/> 

 

Reply via email to