Looks like the Flex side didn’t send
the web service request in the way that the web service expected it. What is
your web service engine? Can you share the WSDL and what Flex sent
(web-service-proxy-debug to true in flex-config.xml)?
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tony_lic
Sent: Wednesday, July 13, 2005
4:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error in Web
Service
Hi,
I have a web service which is working fine.
this web service does
not require any input parameters.
If i change the web service to accept some
input parameters & then
try to run my flex application which tries to
connect to the web
service it gives some strange error like
'Deserialization Error'. the detailed error is as
follows.
<n0:SimpleTransformationFault
xmlns:n0="http://www.sap.com/transformation-templates">
<MainName>/1BCDWB/WSS0050713105048495000</MainName>
<ProgName>/1BCDWB/WSS0050713105048495000</ProgName>
<Line>9 </Line>
<Valid>X</Valid>
<MatchFault>
<DescriptionText>System expected the
element '{urn:sap-com:document:sap:rfc:functions}
ZTR_PP_ORD_FOR_WC'</DescriptionText>
<TokenType>S</TokenType>
<TokenName>ZTR_PP_ORD_FOR_WC</TokenName>
<TokenNameSpace/>
<TokenValue/>
</MatchFault>
<Caller>
<Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
<Method>IF_SXML_PART~DECODE</Method>
<Positions>1 </Positions>
</Caller>
</n0:SimpleTransformationFault>
what could be the reason.
My code is as follows:
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
initialize="webservice5.ZTR_PP_ORD_FOR_WC.send();">
<mx:WebService serviceName="temp"
id="webservice5">
<mx:operation
name="ZTR_PP_ORD_FOR_WC">
<mx:request>
<SIMP>DFD</SIMP>
</mx:request>
</mx:operation>
</mx:WebService>
</mx:Application>
please help me in this regards.
thanks in advance,
with regards,
tony
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>---- HM ADS ?>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>
---- HM ADS ?>
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Error in Web Service Matt Chotin
-