ignoring Ws-addressing headers in the inbound SOAP request

parsaulian25.gmail.com's picture

Dear All,

Does the proxy service can be configured to ignore the ws-addressing headers in the inbound SOAP request?

Thank you for your help.

indika's picture

Hi You have to disengage the

Hi

You have to disengage the addressing module from the proxy. There is a configuration tag called 'enableAddressing' in the proxy configuration [1] and if it is present, then we explicitly engage the addressing module. However, as by default in ESB , the addressing module globally is enable(look at axis2.xml), implicitly it engages to every service even the 'enableAddressing' has not been specified.

This is observable if you run the sample 150 and go to the URL [2]. {Global level - addressing-1.6-wso2v1}

So you have to disable addressing module globally(you have to test properly this as we always use addressing) and add 'enableAddressing' as needed to the services require addressing.

Thanks

Indika

[1]https://svn.apache.org/repos/asf/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceFactory.java
[2]https://localhost:9443/carbon/modulemgt/service_modules.jsp?serviceName=StockQuoteProxy

Hot Topic
Hot
Topic

Google Gadgets are a nice way to develop user interfaces for distributed services. The fact that they can be hosted anywhere over a network, not necessarily in the very portal server they eventually run in makes them re-usable and allows users to quickly...

Latest Webinar
In this webinar we'll share the range of concerns we've heard from the industry, and survey some of the new and sometimes subtle types of lock-in associated with cloud technologies.
Wednesday, 8 September, 10.00 AM (PDT)