The stockquote sample in Apache SOAP forwards the request to a third party to get the actual quote. The third party that had been used (Binary Evolution, makers of VelociGen) has stopped doing business, and the domain of their site has been taken over by another company. We arranged to have xmethods host a similar service. The stockquote sample has been changed to use that service. You can get the new stockquote service by downloading a nightly build (http://cvs.apache.org/dist/soap/nightly/) or as a source file (http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/samples/stoc kquote/StockQuoteService.java?rev=HEAD&content-type=text/plain) to compile and deploy over the old one.
As for the exact error: the new site appears to send a plain text response to the GET request, yet marks the Content-Type of the message as text/xml instead of text/plain. The stockquote service feeds this to the XML parser, which, of course, does not like the input. Scott Nichol ----- Original Message ----- From: "Alex Dovlecel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 21, 2002 5:18 AM Subject: Re: install help > I had the same problem and never solved it... > > I switched to axis... hope it will work... :o))) > > If you find the solution, please tell me... > tx > dovle > > > i am trying to invoke the stockquote service from my client but I get back > > the following fault code from the server: > > > > Fault Code = SOAP-ENV:Server > > Fault String = Exception from service object: Content is not allowed in > > prolog. > > > > Any idea what is causing this? Also, where do I get explanations for what > > each fault means? > > > > > > -----Original Message----- > > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, November 20, 2002 2:41 PM > > To: [EMAIL PROTECTED] > > Subject: Re: install help > > > > > > That article seems lacking regarding setting up the client environment. > > Follow the instructions at > > > > http://www.scottnichol.com/apachesoapinstall.htm#apachesoapclient > > > > Scott Nichol > > ----- Original Message ----- > > From: "Jahangir, Hamza" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, November 20, 2002 5:25 PM > > Subject: RE: install help > > > > > I was following the steps in this article: > > > (http://dcb.sun.com/practices/devnotebook/apache_soap.jsp) which has > > > > step3 > > > > > as this: > > > > > > java org.apache.soap.server.ServiceManagerClient > > > http://localhost:8080/soap/servlet/rpcrouter deploy DeployGreeter.xml > > > > > > i am having trouble my classpath to recognize this > > > > ServiceManagerClient > > > > > class saying it can't find the main method (even though I put in the > > > org.apache.soap.... packages all in my classpath. > > > > > > is there a work around to this? > > > > > > -----Original Message----- > > > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, November 20, 2002 1:44 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: install help > > > > > > > > > Your service classes should be added to the Apache SOAP webapp in > > > Tomcat, e.g. by placing them under > > > $CATALINA_HOME/webapps/soap/WEB-INF/classes. > > > > > > Scott Nichol > > > > > > ----- Original Message ----- > > > From: "Jahangir, Hamza" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Wednesday, November 20, 2002 4:39 PM > > > Subject: install help > > > > > > > hi, > > > > > > > > i just download apache soap toolkit and am trying to install a test > > > > > > echo > > > > > > > service myself. i have gotten as far as writing the deployment > > > > > > descriptor. i > > > > > > > am also running the tomcat server out of my eclipse ide. how do i > > > > > > deploy the > > > > > > > service now? and how do i hookup make tomcat see my Echo.java > > > > code? - > > > > > simply > > > > > > > put it inside its classpath? is there a better utility to do all > > > > this > > > > > for > > > > > > > me? > > > > > > > > thanks, > > > > - hamza > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > For additional commands, e-mail: > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > -- > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>