Sanjesh

We have a problem with the stock quote service bundled in M2, as the target WS we used does not work anymore. Could you let me know if you are using the latest from SVN and also the erro you get? You will need to build and deploy the sample WS that we now ship (modules\samples\services\SimpleStockQuoteService), into a (separate) Axis2 server to run the samples now. Also we are probably going to drop support for the WAR distribution, as it doesn't allow Synapse to work well under another J2EE app server, so could you try the standalone version

asankha

Sanjesh Pathak wrote:
Hi,
 
I downloaded source code and built war file and installed it on Tomcat. I can see the listServices page and I see a service named Synapse. 
 
When I invoke the client (DumnStockQuoteClient) I am getting an error. I used all the combinations of urls mentioned below. Has anyone successfully invoked client under Tomcat?
 
Sanjesh
 
---------------------------------------------------
Hi David,
 
With a minor modification you can run all the samples, where Synapse is
deployed in Tomcat.
 
I may suggest following as a work around,
 
Since we are using SimpleHTTPServer, what we really need to worry about is
host and port.
 
But when we deployed Synapse in Tomcat, we need to consider the context root
as well.
i.e, you should point the request to http://localhost:8080/synapse/
 
Current web.xml  that comes with synapse.war has a mapping only to direct
http://localhost:8080/synapse/services/   to  Synapse Environment.
 
So you can run the samples if you point,
String turl = "http://localhost:8080/synapse/services/any
 
so using the goal "maven war" you can generate the synapse.war {currently
available in M1 release}. But when you running the sample please use the
above workaround.
 
But as a long term solution above is unacceptable. We'll fix it ASAP.
 
Thank you
 
Saminda
 
 
 
On 2/8/06, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
> 
> 
> >
> > Example: *ant stockquote*
> > **
> > Running this returns
> > org.apache.axis2.AxisFault:
> > com.ctc.wstx.exc.Wstx.UnexpectedCharException: Unexpected character d
> > (code 100).
> >
> 
> When we ship M1, we actually tested everything to work with
> SimpleHTTPServer.
> 
> I'm getting the same exception when deployed the synapse.war in Tomcat and
> run the samples.
> 
> So IMHO  we should try to fix this problem in M2 release.
> 
> Please be kind enough to log a JIRA so we can  track down the problem and
> rectify it.
> 
> Thank you
> 
> Saminda
> 

 





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to