Jens
   * How can I determine the wished service which should be called? I
     can look at the WSAAction/SOAP-Action-Property to determine the
     operation which the service client wants to invoke. But what´s
     about the service name- I don´t find any hint for it? Should I use
     the last part of the endpoint url for that?
     (localhost:8080/services/*AxisService*) I think, not all
     soap-frameworks will work like that...
you can cast the MessageContext into an Axis2MessageContext and invoke getAxis2MessageContext() which will give you access to the underlying Axis2 MessageContext. From that you can invoke any Axis2 MessageContext methods and getAxisService().getName() etc will be what you need..
   * Do it really make senses to determine at the esb which next
     service will be invoked?
Sure, you may want to look at the content and decide.. for example, if a client is placing an order for over $100, you may wish to direct him to the PremiumShipping service instead of the GeneralShipping service..

asankha

_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to