You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Raj@nih" <yr...@gmail.com> on 2007/10/11 16:53:37 UTC

How do I connect jsr181(wsdl-first) and http-consumer in SA

Hi,
  I have build two SU viz jsr181(wsdl) and http-consumer.I am trying to
build SA its failing 
should I write my own WSDL or maven created for me.Please guide me how
should i proceed 
I have two beans files created as 
<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0">

    <jsr181:endpoint pojoClass="put.your.implementation.here"
                     wsdlResource="classpath:service.wsdl" />

</beans>


<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.example.org/example/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="example"
targetNamespace="http://www.example.org/example/">

<wsdl:service name="example">

</wsdl:service>
</wsdl:definitions>


<beans xmlns:http="http://servicemix.apache.org/http/1.0"
       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">

  <http:endpoint service="replaceMe:withYourService"
                 endpoint="soap"
                 role="consumer" 
                 locationURI="http://localhost:8192/example/"
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
                 soap="true" />             

</beans>
-- 
View this message in context: http://www.nabble.com/How-do-I-connect-jsr181%28wsdl-first%29-and-http-consumer-in-SA-tf4607779s12049.html#a13157620
Sent from the ServiceMix - User mailing list archive at Nabble.com.