You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by speed <su...@gmail.com> on 2006/07/11 20:00:21 UTC

External websrvice and passing more than one parameters

I am trying to implement embedded servicemix approach to do the following:
1. Call external webservice at URL:
http://localhost/wsd/impl/organization.wsdl
2. Invoke a method of IOrgService.class interface on external webservice
"processList" with two parameters (MIMEData, boolean).
3. Receive a status response.

Here is the snippet from servicemix.xml: 

<sm:activationSpec componentName="httpsender" service="foo:httpsender"
endpoint="httpsender"> 
   <sm:component> 
     <bean class="org.apache.servicemix.components.saaj.SaajBinding"> 
       <property name="soapAction" value="http://localhost/processList"/> 
       <property name="soapEndpoint"> 
           <bean class="javax.xml.messaging.URLEndpoint"> 
             <constructor-arg
value="http://localhost/wsd/impl/organization.wsdl"/> 
            </bean> 
        </property> 
      </bean> 
   </sm:component> 
</sm:activationSpec>

Any pointers or thoughts to achieve this goal will be truly appreciated.

Sundeep
-- 
View this message in context: http://www.nabble.com/External-websrvice-and-passing-more-than-one-parameters-tf1926108.html#a5274581
Sent from the ServiceMix - User forum at Nabble.com.