Hi Cynthia,

See my comments in-line;

On Mon, May 19, 2008 at 5:50 PM, <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have a writing mistake last time...
>
> Actually, I'm using the synapse client sample program(SSQS) and "ant
> stockquote ...." command with the real AXIS2 server, and did copy the
> 'aar' service to the axis2 services.
> Then tried the synapse sample xml configure file (edited from sample 1)
>
> It seems that synapse don't recognize the return message.
>
> And anyone could tell me, how can I start synapse with other xml file (no
> under the sample path)?
> For example, now I'm using "synapse.sh -sample 0/1/2...".
> If I write some xml configure file and save as " hallo_xml_1" under other
> directory. How can I insert it into synapse?
>
> I need to do the real practice without any samples......


Ideally you should be using the synapse.xml file found at the
repository/conf folder of the synapse installation, but if you really want
to change that file location you may use the synapse.xml system property to
point the file to synapse.

Anyway the sample configuration files are treated as special cases by the
starting script and converted to the synapse_sample_($number).xml under the
repoository/conf/sample/

Also I think you are using a wrong repository for the axis2 client and that
is why synapse server also has started on the client side. You should be
using the client_repo which is under the samples/axis2Client folder, (the
repo you are using as the client repo *must not* contain the synapse.mar
inside the modules folder of the repository)

Thanks,
Ruwan


>
>
> Regards,
> Cynthia
>
>
>
>
>
>
>
>
> Cynthia
>
> > here is the log data when trying synapse and *Axis2 (v1.4) with the
> synapse sample client program*.?
> >
>
> > ==============================  *client program (from axis2 v1.4
> quickstartadb)*==============================
> >
> > synapse --> sample client program
> >
> > no change
> >
> > COMMAND:(edited from sample 6)
> >
> > ant stockquote -Dtrpurl=http://localhost:8290/
> >
> Are you using the sample client and the server that ships with Synapse?
> or are you using a client and sample service that ships with axis2? do
> not mix up the two..
>
> "ant stockquote -Dtrpurl=http://localhost:8290/"; is for the Synapse
> sample client (that only works with the Synapse sample service)
>
> "client program (from axis2 v1.4 quickstartadb)" this is a sample client
> that ships with Axis2 1.4, which will only work with the corresponding
> sample axis2 service
>
>
>
> >
> This looks totally wrong! What are you using as the client? Somehow,
> Synapse has started within the client!?? Something is messed up big time
> related to the way you are running your client.. Can you run the client
> on a Windows/Linux desktop as per the samples documentation/guides etc.
> instead of on the AS400 first?
>
> asankha
>
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Reply via email to