You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Enrique Riego Seisdedos <En...@sema.es> on 2000/11/30 16:56:59 UTC
StockQuote example
Hello
I'm very new to soap and I am trying to run the stockquote example of apache
soap with Tomcat 1.3.
Xerces is installed, the service is deployed, I can see it with
http://localhost:8080/soap/admin/
In the 'list' I can see the service and the provider class is
'samples.stockquote.StockQuoteService'
but when I run
[c:\soap20] java samples.stockquote.GetQuote
http://localhost:8080/soap/servlet/rpcrouter ibm
I obtain
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.BadTargetObjectURI
Fault String = Unable to resolve target object:
samples.stockquote.StockQuoteService
I added
set CLASSPATH=%CLASSPATH%;c:\soap20\samples\stockquote
to Tomcat.bat
and I also copied StockQuoteService.class to
C:\Tomcat\webapps\ROOT\WEB-INF\classes but no luck.
Help, where (in what directory) must be the file StockQuoteService.class?
Thank you.
------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Sema Group.
If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.
------------------------------------------------------------------
Re: StockQuote example
Posted by Enrique Riego Seisdedos <En...@sema.es>.
Thank you very much. It works.
But, now the error is in the remote stock quote server
Ouch, the call failed:
Fault Code = SOAP-ENV:Server
Fault String = www.xmltoday.com
I know, soap is working well (also the addressbook example
works with no problem), but do you know what is the error?
I can access the web server with my browser
http://www.xmltoday.com/examples/stockquote/getxmlquote.vep?s=ibm
Thanks.
----- Original Message -----
From: "Maarten Coene" <Ma...@ToughGuy.net>
To: <so...@xml.apache.org>
Sent: Thursday, November 30, 2000 6:51 PM
Subject: Re: StockQuote example
> Since the class name of your Stockquote example is
> samples.stockquote.StockQuote, your classpath should be include C:\soap20
> and not C:\soap20\samples\stockquote
>
> Maarten
>
> At 16:56 30/11/2000 +0100, you wrote:
> >Hello
> >
> >I'm very new to soap and I am trying to run the stockquote example of
apache
> >soap with Tomcat 1.3.
> >Xerces is installed, the service is deployed, I can see it with
> >
> >http://localhost:8080/soap/admin/
> >
> >In the 'list' I can see the service and the provider class is
> >'samples.stockquote.StockQuoteService'
> >but when I run
> >
> >[c:\soap20] java samples.stockquote.GetQuote
> >http://localhost:8080/soap/servlet/rpcrouter ibm
> >
> >I obtain
> >
> >Ouch, the call failed:
> > Fault Code = SOAP-ENV:Server.BadTargetObjectURI
> > Fault String = Unable to resolve target object:
> >samples.stockquote.StockQuoteService
> >
> >I added
> >
> >set CLASSPATH=%CLASSPATH%;c:\soap20\samples\stockquote
> >
> >to Tomcat.bat
> >
> >and I also copied StockQuoteService.class to
> >C:\Tomcat\webapps\ROOT\WEB-INF\classes but no luck.
> >
> >Help, where (in what directory) must be the file StockQuoteService.class?
> >
> >Thank you.
> >
> >------------------------------------------------------------------
> >This email is confidential and intended solely for the use of the
> >individual to whom it is addressed. Any views or opinions presented are
> >solely those of the author and do not necessarily represent those of Sema
> >Group.
> >If you are not the intended recipient, be advised that you have received
> >this email in error and that any use, dissemination, forwarding,
printing,
> >or copying of this email is strictly prohibited.
> >------------------------------------------------------------------
>
> --
> Maarten Coene
> K.U.Leuven
> Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
> Celestijnenlaan 200A
> B-3001 Heverlee
>
>
>
------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Sema Group.
If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.
------------------------------------------------------------------
Re: StockQuote example
Posted by Enrique Riego Seisdedos <En...@sema.es>.
Thank you very much. It works.
But, now the error is in the remote stock quote server
Ouch, the call failed:
Fault Code = SOAP-ENV:Server
Fault String = www.xmltoday.com
I know, soap is working well (also the addressbook example
works with no problem), but do you know what is the error?
I can access the web server with my browser
http://www.xmltoday.com/examples/stockquote/getxmlquote.vep?s=ibm
Thanks.
----- Original Message -----
From: "Maarten Coene" <Ma...@ToughGuy.net>
To: <so...@xml.apache.org>
Sent: Thursday, November 30, 2000 6:51 PM
Subject: Re: StockQuote example
> Since the class name of your Stockquote example is
> samples.stockquote.StockQuote, your classpath should be include C:\soap20
> and not C:\soap20\samples\stockquote
>
> Maarten
>
> At 16:56 30/11/2000 +0100, you wrote:
> >Hello
> >
> >I'm very new to soap and I am trying to run the stockquote example of
apache
> >soap with Tomcat 1.3.
> >Xerces is installed, the service is deployed, I can see it with
> >
> >http://localhost:8080/soap/admin/
> >
> >In the 'list' I can see the service and the provider class is
> >'samples.stockquote.StockQuoteService'
> >but when I run
> >
> >[c:\soap20] java samples.stockquote.GetQuote
> >http://localhost:8080/soap/servlet/rpcrouter ibm
> >
> >I obtain
> >
> >Ouch, the call failed:
> > Fault Code = SOAP-ENV:Server.BadTargetObjectURI
> > Fault String = Unable to resolve target object:
> >samples.stockquote.StockQuoteService
> >
> >I added
> >
> >set CLASSPATH=%CLASSPATH%;c:\soap20\samples\stockquote
> >
> >to Tomcat.bat
> >
> >and I also copied StockQuoteService.class to
> >C:\Tomcat\webapps\ROOT\WEB-INF\classes but no luck.
> >
> >Help, where (in what directory) must be the file StockQuoteService.class?
> >
> >Thank you.
> >
> >------------------------------------------------------------------
> >This email is confidential and intended solely for the use of the
> >individual to whom it is addressed. Any views or opinions presented are
> >solely those of the author and do not necessarily represent those of Sema
> >Group.
> >If you are not the intended recipient, be advised that you have received
> >this email in error and that any use, dissemination, forwarding,
printing,
> >or copying of this email is strictly prohibited.
> >------------------------------------------------------------------
>
> --
> Maarten Coene
> K.U.Leuven
> Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
> Celestijnenlaan 200A
> B-3001 Heverlee
>
>
>
------------------------------------------------------------------
This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Sema Group.
If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.
------------------------------------------------------------------
Re: StockQuote example
Posted by Maarten Coene <Ma...@ToughGuy.net>.
Since the class name of your Stockquote example is
samples.stockquote.StockQuote, your classpath should be include C:\soap20
and not C:\soap20\samples\stockquote
Maarten
At 16:56 30/11/2000 +0100, you wrote:
>Hello
>
>I'm very new to soap and I am trying to run the stockquote example of apache
>soap with Tomcat 1.3.
>Xerces is installed, the service is deployed, I can see it with
>
>http://localhost:8080/soap/admin/
>
>In the 'list' I can see the service and the provider class is
>'samples.stockquote.StockQuoteService'
>but when I run
>
>[c:\soap20] java samples.stockquote.GetQuote
>http://localhost:8080/soap/servlet/rpcrouter ibm
>
>I obtain
>
>Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.BadTargetObjectURI
> Fault String = Unable to resolve target object:
>samples.stockquote.StockQuoteService
>
>I added
>
>set CLASSPATH=%CLASSPATH%;c:\soap20\samples\stockquote
>
>to Tomcat.bat
>
>and I also copied StockQuoteService.class to
>C:\Tomcat\webapps\ROOT\WEB-INF\classes but no luck.
>
>Help, where (in what directory) must be the file StockQuoteService.class?
>
>Thank you.
>
>------------------------------------------------------------------
>This email is confidential and intended solely for the use of the
>individual to whom it is addressed. Any views or opinions presented are
>solely those of the author and do not necessarily represent those of Sema
>Group.
>If you are not the intended recipient, be advised that you have received
>this email in error and that any use, dissemination, forwarding, printing,
>or copying of this email is strictly prohibited.
>------------------------------------------------------------------
--
Maarten Coene
K.U.Leuven
Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee
Re: StockQuote example
Posted by Maarten Coene <Ma...@ToughGuy.net>.
Since the class name of your Stockquote example is
samples.stockquote.StockQuote, your classpath should be include C:\soap20
and not C:\soap20\samples\stockquote
Maarten
At 16:56 30/11/2000 +0100, you wrote:
>Hello
>
>I'm very new to soap and I am trying to run the stockquote example of apache
>soap with Tomcat 1.3.
>Xerces is installed, the service is deployed, I can see it with
>
>http://localhost:8080/soap/admin/
>
>In the 'list' I can see the service and the provider class is
>'samples.stockquote.StockQuoteService'
>but when I run
>
>[c:\soap20] java samples.stockquote.GetQuote
>http://localhost:8080/soap/servlet/rpcrouter ibm
>
>I obtain
>
>Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.BadTargetObjectURI
> Fault String = Unable to resolve target object:
>samples.stockquote.StockQuoteService
>
>I added
>
>set CLASSPATH=%CLASSPATH%;c:\soap20\samples\stockquote
>
>to Tomcat.bat
>
>and I also copied StockQuoteService.class to
>C:\Tomcat\webapps\ROOT\WEB-INF\classes but no luck.
>
>Help, where (in what directory) must be the file StockQuoteService.class?
>
>Thank you.
>
>------------------------------------------------------------------
>This email is confidential and intended solely for the use of the
>individual to whom it is addressed. Any views or opinions presented are
>solely those of the author and do not necessarily represent those of Sema
>Group.
>If you are not the intended recipient, be advised that you have received
>this email in error and that any use, dissemination, forwarding, printing,
>or copying of this email is strictly prohibited.
>------------------------------------------------------------------
--
Maarten Coene
K.U.Leuven
Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee