Hi,

This is regarding the issue https://wso2.org/jira/browse/CARBON-13674 .

When message-relay builder is configured in ESB, all the service
invocations are going through this builder. *Special thing to note is all
the content-types are set to go through relay builder*.

 <messageBuilder contentType="application/xml"
                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
        <messageBuilder contentType="application/x-www-form-urlencoded"
                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
        <messageBuilder contentType="multipart/form-data"
                        class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
        <messageBuilder contentType="multipart/related"
                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
        <messageBuilder contentType="application/soap+xml"
                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
        <messageBuilder contentType="text/plain"
                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
        <messageBuilder contentType="text/xml"
                       class="org.wso2.carbon.relay.BinaryRelayBuilder"/>

This gives all sorts of exceptions (due to namespace mismatches. You can
see them in the jira). To get rid of this, we have to engage the "relay
module". It by default filters out admin service calls. If we want to
filter out non-admin but hidden services, we need to edit its policy to
includeHiddenServices=true.

*Question1)* Is the above configuration a valid scenario (setting *all* the
content types to go through the relay builder). My understanding is, it is
not.
*Question2)* If so, how can we fix this?

Regards,
AmilaM.

-- 
*Amila Maharachchi*
Technical Lead
Member, Management Committee - Cloud & Platform TG
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to