Cynthia
-- Using the simplest sample1 configure xml file:
In future, please attach the synapse.xml, its much easier for us to find your problem then :)
-- Client command : ant run.client
You will need to edit the code of the sample client to send to your new Synapse port 8920...

I edited [EMAIL PROTECTED]:~/java/axis2-1.4/samples/quickstartadb$ vi src/samples/quickstart/clients/ADBClient.java and updated as:

   public static void main(java.lang.String args[]){
       try{
           StockQuoteServiceStub stub =
               new StockQuoteServiceStub
               ("*http://localhost:8920/soap/StockQuoteService*";);
....
The following question is, how can I configure the Synapse (synapse.xml/axis2.xml in synapse or Axis2/synapse.sh/axis2server.sh ) to force it work together with the existing Axis2 WS?
I have edited : [EMAIL PROTECTED]:~/java/synapse-1.2-SNAPSHOT/bin$ vi ../repository/conf/sample/synapse_sample_1.xml and now start Synapse as : [EMAIL PROTECTED]:~/java/synapse-1.2-SNAPSHOT/bin$ ./synapse.sh -sample 1

<definitions xmlns="http://ws.apache.org/ns/synapse";>
   <filter source="get-property('To')" regex=".*/StockQuote.*">
       <log level="full"/>
       <send>
           <endpoint>
<address uri="http://localhost:8080/axis2/services/StockQuoteService"/>
          </endpoint>
       </send>
       <drop/>
   </filter>
   <send/>
</definitions>

I noticed that, in synapse the axis2.xml has some definition special for synapse but nothing for 'axiom', and in axis2 the axis2.xml has axiom part but nothing for synapse... Does it matter? or should I mix them and how?
I don't understand what you mean...

It seems a little complicated...
It would be helpful if you follow the samples guide for an introduction to Synapse and how to configure it.. I think you should try it on Windows/Linux etc if you have problems with the AS/400

asankha

Reply via email to