On 25 September 2017 at 11:27, Shenavi de Mel <shen...@wso2.com> wrote:
> Hi APIM Team, > > In APIM 2.0.0 there was an option where we were able to set the SOAP > format to the address endpoint from the advanced endpoint configuration. > However in APIM 2.1.0 I am unable to find the configuration. > > Is there anyway to configure that from the UI instead of having to > manually add it to the API synapse file? Or add a property to achieve it > through a custom sequence? I was not able to find a way to do this. Please > point me in the path this could be achieved. > If you set the correct messageType property via a custom inSequence, it should also do the same thing. If the SOAP format is 1.1, set it as text/xml and if it is 1.2, set as application/soap+xml. Also for SOAP 1.1, you have to send the SOAPAction header as well. Thanks, Lakmali > > Is there a specific reason that option was removed? > > I am trying to expose a SOAP based API as a REST API where the soap body > will be constructed within the sequence using a payload factory mediator > similar to the post I have written [1]. Without setting the soap format to > the address endpoint seems my payload is dropped from the request as I > observed per the wire logs. When i manually add it to the api synapse file > it works as expected. > > Your help on this would be much appreciated. > > [1] http://shenavid.blogspot.com/2017/03/in-this-post-i-will > -be-explaining-how.html > > Thanks and Regards, > Shenavi > > *Shenavi de Mel* > Senior Software Engineer > WSO2 Inc: http://wso2.com > email: shen...@wso2.com > mobile: 0711644470 > > -- Lakmali Baminiwatta Associate Technical Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware mobile: +94 71 2335936 blog : lakmali.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev