Ok! Now it's okay. Thank you.
Ashwin Karpe wrote: > > Hi, > > The current issue you are facing is that the payload is sent directly form > the consumer using op1() in MyClass1.wsdl which does not exist in > MyClass2.wsdl. > > The solution is that if there is an op2() in MyClass2.wsdl that is > identical to op1() MyClass1.wsdl then you could introduce a Pipeline > component connected to a Saxon component to transform the top level > SoapBodyElement. > > The diagram is as follows. > Saxon Component > ^ | > | v > HTTP-BC (Consumer) ---> Pipeline --> HTTP-BC (Producer) > > Cheers, > > Ashwin... > > > MrNinni wrote: >> >> Hi! >> I am newbie, and i have a big problem! >> >> I have these 2 xbeans: >> >> Consumer (called by a MyClass1 Client mock) >> >> <http:endpoint service="test:Consumer" >> endpoint="myConsumer" >> role="consumer" >> locationURI="http://localhost:8091/services/" >> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >> targetService="test:Provider1" >> targetEndpoint="myProvider" >> wsdlResource="classpath:MyClass1.wsdl" >> soap="true" /> >> >> Provider (calls the actual service exposed by MyClass2 on an external >> tomcat server) >> >> <http:endpoint service="test:Provider1" >> endpoint="myProvider1" >> role="provider" >> locationURI="http://localhost:8080/services/MyClass2" >> defaultMep="http://www.w3.org/2004/08/wsdl/in-out" >> wsdlResource="http://localhost:8080/services/MyClass2?wsdl" >> soap="true" /> >> >> >> The MyClass1 client calls a method myMethod1(String name1) to the esb >> consumer >> that should transform the call to the actual method myMethod2(String >> name2). >> Indeed the soap reply (caugth by tcpmon) is the one below: >> >> >> <soapenv:Fault> >> <faultcode >> xmlns:ns1="http://www.w3.org/2003/05/soap-rpc">ns1:ProcedureNotPresent</faultcode> >> <faultstring>No such operation 'myMethod1'</faultstring> >> <detail> >> <ns2:hostname >> xmlns:ns2="http://xml.apache.org/axis/">mrninni-pc</ns2:hostname> >> </detail> >> </soapenv:Fault> >> >> How can I do? >> Can I use the Saxon after the Consumer? How can I use it? >> Since i am newbie, can you show me how this can be done, or point me to a >> similar tutorial / book / article (anything!! :D )? >> Unfortunately servicemix documentation is way too criptic! >> Thank you so much. >> >> > > -- View this message in context: http://www.nabble.com/Two-WebServices%2C-one-ServiceMix.-tp21623000p21663585.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
