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?
Thank you again,
-V
bsnyder wrote:
>
> On 7/24/07, smx_ <[EMAIL PROTECTED]> wrote:
>>
>> Do you mean for that service unit to work as proxy -
>> e.g. take MQ message request from client application and transform it
>> into
>> WSDL request to the existing web service?
>
> The SU would proxy to the web service and you set soap="true" in the
> xbean.xml configuration for it to send SOAP messages. There is no
> direct interaction with ActiveMQ (per your reference to MQ message).
>
> 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#a11766340
Sent from the ServiceMix - User mailing list archive at Nabble.com.