You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Leo <le...@sixthdimension.com> on 2001/10/17 01:48:45 UTC

newbie question

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>




RE: TcpTunnel

Posted by "T. Carson Hager" <ca...@cynergysystems.com>.
Your web server is likely listening on port 8080.  Switch the port to 8081
and point your HTTP request to 8081.


Carson

__________________________________________________________

Carson Hager
Cynergy Systems, Inc.
Sybase Enterprise Application Studio Consulting and Training
http://www.cynergysystems.com



> -----Original Message-----
> From: ejaomas@su.eip.ericsson.se [mailto:ejaomas@su.eip.ericsson.se]On
> Behalf Of Tomas Jacobsson
> Sent: Wednesday, October 17, 2001 4:43 AM
> To: soap-user@xml.apache.org
> Subject: TcpTunnel
>
>
> Hello!
> I want to use the TcpTunnel to see what is coming in and what is going
> out. But if I want to listened on port 8080 then I get the
> error address
> already in use....
> Is there a way to listen on that port or do I have to listen
> at another
> port. The thing is that I using a client which are sending
> updates to a
> database, it works if I change the port that it is talking to like for
> example 9090  then I see the messages that is traveling between them.
> But is there a way to listen on the port 8080?
> Regards
>
> Tomas
>
>


RE: TcpTunnel

Posted by "T. Carson Hager" <ca...@cynergysystems.com>.
Your web server is likely listening on port 8080.  Switch the port to 8081
and point your HTTP request to 8081.


Carson

__________________________________________________________

Carson Hager
Cynergy Systems, Inc.
Sybase Enterprise Application Studio Consulting and Training
http://www.cynergysystems.com



> -----Original Message-----
> From: ejaomas@su.eip.ericsson.se [mailto:ejaomas@su.eip.ericsson.se]On
> Behalf Of Tomas Jacobsson
> Sent: Wednesday, October 17, 2001 4:43 AM
> To: soap-user@xml.apache.org
> Subject: TcpTunnel
>
>
> Hello!
> I want to use the TcpTunnel to see what is coming in and what is going
> out. But if I want to listened on port 8080 then I get the
> error address
> already in use....
> Is there a way to listen on that port or do I have to listen
> at another
> port. The thing is that I using a client which are sending
> updates to a
> database, it works if I change the port that it is talking to like for
> example 9090  then I see the messages that is traveling between them.
> But is there a way to listen on the port 8080?
> Regards
>
> Tomas
>
>


TcpTunnel

Posted by Tomas Jacobsson <to...@su.eip.ericsson.se>.
Hello!
I want to use the TcpTunnel to see what is coming in and what is going
out. But if I want to listened on port 8080 then I get the error address
already in use....
Is there a way to listen on that port or do I have to listen at another
port. The thing is that I using a client which are sending updates to a
database, it works if I change the port that it is talking to like for
example 9090  then I see the messages that is traveling between them.
But is there a way to listen on the port 8080?
Regards

Tomas


TcpTunnel

Posted by Tomas Jacobsson <to...@su.eip.ericsson.se>.
Hello!
I want to use the TcpTunnel to see what is coming in and what is going
out. But if I want to listened on port 8080 then I get the error address
already in use....
Is there a way to listen on that port or do I have to listen at another
port. The thing is that I using a client which are sending updates to a
database, it works if I change the port that it is talking to like for
example 9090  then I see the messages that is traveling between them.
But is there a way to listen on the port 8080?
Regards

Tomas