Hi,
I am a beginner of SOAP. I downloaded Apache SOAP
2.2 and deployed the stockquote sample. For learning, instead of using the
provided RPC client, I created a SOAP request XML and submitted
it to the stockquote service (using the SendMessage sample program) but
got 'No Deserializer Found' error. Here is what the envelope and
body look like:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body> <getQuote xmlns="urn:xmltoday-delayed-quotes"> <Symbol>sunw</Symbol> </getQuote> </s:Body> </s:Envelope> Is the error because I need to provide a serializer
to scramble the parameter? What about the parameter type is a Java type (String
and float) ?
Any help is
appreciated
Leo,
Sixth Dimension, Inc.- Here is the error I got:
$ ./run.sh
samples.messaging.SendMessage http://localhost:8080/soap/servlet/rpcrouter msg1.xml
RESPONSE: -------- <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>No Deserializer found to deserialize a 'urn:xmltoday-delayed-quotes:Symbol' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring> <faultactor>/soap/servlet/rpcrouter</faultactor> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
- Newbie Question David DELGRANCHE
- Newbie Question Craig Reynolds
- Re: Newbie Question Tom Myers
- TcpTunnel Leo
- TcpTunnel Tomas Jacobsson
- RE: TcpTunnel T. Carson Hager
- Newbie question Andre Luepke
- newbie question Wei Li
- Re: newbie question amy
- Newbie question Sauquet Dominique
- Re: Newbie question Scott Nichol
- RE: Newbie question Sauquet Dominique
- RE: Newbie question Sauquet Dominique
- Re: Newbie question Scott Nichol