This solves the problem.. Thanks guys. I am glad I followed up on this issue to get this solved.
Balaji asankha wrote: > > Balaji > > Is what you want something like this.. > > Client -------(a)-------->Apache httpd proxy -------(b)--------> Synapse > Proxy service --------(c)------> Actual service implementation > > If this is the case, the ?WSDL generated by Synapse must show the > scheme, host and port of the Apache http information (i.e. public > address). I believe in your scenario you would use Apache to front all > requests, do SSL decryption (possibly) and load balance between a bunch > of Synapse instances. > > If this is your requirement, you could also use the "WSDLEPRPrefix" > parameter of the HttpCoreNIO*Listener's defined on the axis2.xml used by > Synapse. This way you could specify the prefix as you like - and can > even change the scheme for http to something over https etc. > > e.g. > <transportReceiver name="http" > class="org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener"> > <parameter name="WSDLEPRPrefix" > locked="false">http://10.25.51.38:8080/esb</parameter> > ..... > > asankha > > balaji hari wrote: >> Looks like this issue is related with >> >> http://www.nabble.com/Synapse-proxy-service-changes-service-address-location-tf4209274.html#a11973972 >> >> Is there a way to specify just not to modify the WSDL port address and >> still >> change the WSDL to apply security policy? >> >> Actually the public address to access the web service is different, but >> we >> need user name security token policy to be applied to service WSDL. >> >> Balaji >> >> >> JIRA [EMAIL PROTECTED] wrote: >> >>> [ >>> https://issues.apache.org/jira/browse/SYNAPSE-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529825 >>> ] >>> >>> Upul Godage commented on SYNAPSE-116: >>> ------------------------------------- >>> >>> This can be achieved by using 2 Axis2 parameters: useOriginalwsdl, >>> modifyUserWSDLPortAddress. >>> >>> <definitions xmlns="http://ws.apache.org/ns/synapse"> >>> <proxy name="StockQuoteProxy"> >>> <target> >>> <endpoint> >>> <address >>> uri="http://localhost:9000/soap/SimpleStockQuoteService"/> >>> </endpoint> >>> <outSequence> >>> <send/> >>> </outSequence> >>> </target> >>> <publishWSDL >>> uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/> >>> <parameter name="useOriginalwsdl">true</parameter> >>> <parameter name="modifyUserWSDLPortAddress">false</parameter> >>> </proxy> >>> </definitions> >>> >>> >>>> Add support for useOriginalWSDL in Synapse >>>> ------------------------------------------ >>>> >>>> Key: SYNAPSE-116 >>>> URL: https://issues.apache.org/jira/browse/SYNAPSE-116 >>>> Project: Synapse >>>> Issue Type: Bug >>>> Reporter: Paul Fremantle >>>> >>>> This needs to be allowed on a per-proxy basis. >>>> >>> -- >>> This message is automatically generated by JIRA. >>> - >>> You can reply to this email to add a comment to the issue online. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28SYNAPSE-116%29-Add-support-for-useOriginalWSDL-in-Synapse-tf4209535.html#a12881375 Sent from the Synapse - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
