I don’t think your machine is
accessible from the outside world so I can’t read your WSDL…
However based on the request I’m not
sure I understand the error since it looks like you sent what the web service
expected. I’m not familiar with how the SAP webservices might work
including transformation, it may be that you need to debug on that end the data
that you are receiving.
Sorry!
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tony_lic
Sent: Thursday, July 14, 2005 2:15
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Error in
Web Service
Hi Matt,
My
WSDL : "http://iwdf9453.wdf.sap.corp:55080/sap/bc/srt/rfc/sap/ZVI_COP
Y_SAMP_02?wsdl"
Soap Request(from network monitor):
<?xml version="1.0"
encoding="UTF-8"?>
<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
xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<ns1:ZTR_PP_ORD_FOR_WC>
<SIMP>dfd</SIMP>
</ns1:ZTR_PP_ORD_FOR_WC>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
WebService (RPC):
Method: ZTR_PP_ORD_FOR_WC
Parameter 1:
name : SIMP
type : char10
value : dfd
Soap Response:
<?xml version="1.0"
encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-
env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<soap-env:Fault>
<faultcode>soap-env:Client</faultcode>
<faultstring xml:lang="en">Deserialisation
failed</faultstring>
<detail>
<n0:SimpleTransformationFault
xmlns:n0="http://www.sap.com/transformation-templates">
<MainName>/1BCDWB/WSS0050714080745961000</MainName>
<ProgName>/1BCDWB/WSS0050714080745961000</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>
</detail>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
please help me to come out of this problem
with regards,
tony
--- In flexcoders@yahoogroups.com,
"Matt Chotin" <[EMAIL PROTECTED]>
wrote:
> 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
>
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your
group "flexcoders
> <http://groups.yahoo.com/group/flexcoders>
" on the web.
>
> * To unsubscribe
from this group, send an email to:
>
[EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>
> * Your use of
Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>
.
>
>
>
> ________________________________
--
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