Hi all I keep working on my proxy, I have a new problem. I have one external service with 3 porttypes (wsdl with 3 interfaces/3 endpoints). To access it, I created three internal endpoints with CXF BC provider. one service=myservice, interface=myinterface1, endpoint=myendpoint1 service=myservice, interface=myinterface2, endpoint=myendpoint2 service=myservice, interface=myinterface3, endpoint=myendpoint3
My proxy (and so do I btw) wants to send a message to service=myservice, interface=myinterface2, endpoint=myendpoint2 but in fact it goes to service=myservice, interface=myinterface1, endpoint=myendpoint1. I checked in my JaxWsClientPoroxy, and in the BindingOperationInfo oi, I have my service/endpoints that has a name for the endpoint (by the way it is a Qname, but it is my enpdpointName + my namespace). In the MessageExchange sent by the messagesenderInterceptor, i can see the tables containing the endpoint (javax.xml.ws.wsdl.port = myendpoint2) Then in the NMR I read the servicename, interfaceName... AND after the "resolveAdress", i get a WRONG endpointName (endpoint1 for example). Then the cxf provider reads the binding and doesn't find my operation (interface2) amont the interface1 operations. I tried to remove the "serviceName" from the proxy configuration and leave only the interfaceName so the interfacename will be resolved (btw why not adding a routing method with [servicename + interface] or just checking if the interface is implemented by the endpoint chosen?), but xbean.xml and its XSD doesn't allow to remove the service. I don't know what to do (except removing the 2 other endpoints but I will need them, and I can't change the WSDL). --------------------------- How can I monitor some values during debug, for example checking if one variable's value becomes "myinterface2"...? Or at least, when I look at the variables of one class, how can I search by values? (I'll try to use google to find it out too :D) TY Brice -- View this message in context: http://www.nabble.com/CXF-routing-issues-with-same-servicenames-tp18157214p18157214.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
