Hi,
Can I use custom names for services and ports in servicemix-cxf-bc provider?
I.e, does the services and ports names defined in the provider wsdl have to
match what's in the endpoint wsdl?
The reason I need to do this is because I need to use the same provider to
talk to two instances of the same endpoint (different url). I am using
ServiceMix 3.3.1
Please help. Thanks
Provider wsdl:
<wsdl:service name="Service1">
<wsdl:port name="Service1Port" binding="ns:ServiceBinding">
<soap12:address location="http://localhost:8080/TheService"/>
</wsdl:port>
</wsdl:service>
<wsdl:service name="Service2">
<wsdl:port name="Service2Port" binding="ns:ServiceBinding">
<soap12:address location="http://localhost:9090/TheService"/>
</wsdl:port>
</wsdl:service>
Provider xbean:
<cxfbc:provider wsdl="classpath:provider.wsdl"
service="endpoint:Service1"
endpoint="Service1Port"/>
<cxfbc:provider wsdl="classpath:provider.wsdl"
service="endpoint:Service2"
endpoint="Service2Port"/>
Actually endpoint wsdl:
<wsdl:service name="TheService">
<wsdl:port name="TheServicePort" binding="ns:ServiceBinding">
<soap12:address location="http://...../TheService"/>
</wsdl:port>
</wsdl:service>
--
View this message in context:
http://old.nabble.com/Custom-service-and-port-names-for-provider-tp27055495p27055495.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.