I have several web services deployed on Tomcat and I'd like to keep it that
way. I am trying to connect  them to the ESB as standard intercommunication
channel and I'd like to use for that servicemix also deployed on Tomcat. 

  



bsnyder wrote:
> 
> On 7/24/07, smx_ <[EMAIL PROTECTED]> wrote:
>>
>> Bruce,
>> Sorry, don't really understand intended interaction between ServiceMix
>> and
>> Tomcat service...
>> In our original client we passed Java object to the method in web service
>>
>> Request request = new Request( prop1, prop2...);
>> MyService port = ( new MyServiceLocator).getMyService();
>> Response response = port.MyRemoteMethod( request);
>>
>> So, in ServiceMix client I have to call ServiceMix SU instead:
>>
>> Destination destination =
>> client.createDestination("service:http://servicemix.org/myService";);
>> InOut exchange = destination.createInOutExchange();
>> NormalizedMessage request = exchange.getInMessage();
>> request.setProperty("prop1", "val1");
>> request.setProperty("prop2", "val2");
>> client.sendSync(exchange);
>> NormalizedMessage response = exchange.getOutMessage();
>>
>> Do I need to write the SU code to construct Java request object from
>> NormalizedMessage and call MyRemoteMethod? Or, will the existing
>> http-binding component do it for me?
> 
> I'm a bit confused now. Based on what you described previously, you
> have a web service for deployment in Tomcat. Are you trying to
> refactor this web service to be deployed in ServiceMix instead of
> Tomcat? Or are you trying to keep the web service deployed in Tomcat
> and send messages to it from ServiceMix?
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/wsdl-first-tf4099789s12049.html#a11769934
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to