Hi Chanaka, When we deploy a car file containing a proxy service, we need to show the WSDL for the proxy in integration cloud. The endpoints in the WSDL are composed with the host name of the app and the tenant suffix - t/tenantDomain, since we are doing the deployment in the tenant space.
When we get a request as http://esb.wso2.com:8280/services/ HelloProxy.HelloProxyHttpSoap11Endpoint <http://jagatha-ThinkPad-T530:8280/services/t/aa.com/HelloProxy.HelloProxyHttpSoap11Endpoint>, it is actually rewritten to http://esb.wso2.com:8280/services/t/ aa.com/HelloProxy.HelloProxyHttpSoap11Endpoint <http://jagatha-ThinkPad-T530:8280/services/t/aa.com/HelloProxy.HelloProxyHttpSoap11Endpoint> by the HAProxy. Hence, requests are redirected to real tenant endpoint. However, this tenant information is not necessary to be known to the users when they use the WSDL to send a request. Hence the question whether it is possible to do $subject. Thanks, Maheeka Maheeka Jayasuriya Senior Software Engineer Mobile : +94777750661 On Sun, Sep 4, 2016 at 7:18 AM, Chanaka Fernando <[email protected]> wrote: > Hi Jagath, > > What is the requirement here? > > On Sat, Sep 3, 2016 at 11:57 PM, Jagath Sisirakumara Ariyarathne < > [email protected]> wrote: > >> Hi All, >> >> When a Proxy (e.g. HelloProxy) is deployed in a tenant space (e.g abc.com) >> in ESB, related wsdl will contain service definition as follows; >> >> <wsdl:port name="HelloProxyHttpSoap11Endpoint" binding="tns: >> HelloProxySoap11Binding"> >> <soap:address location="http://esb.wso2.com:8280/services/t/ >> aa.com/HelloProxy.HelloProxyHttpSoap11Endpoint >> <http://jagatha-ThinkPad-T530:8280/services/t/aa.com/HelloProxy.HelloProxyHttpSoap11Endpoint> >> "/> >> </wsdl:port> >> >> Is there a way to change the address in this definition, to make it >> without the tenant ID like below, even though it is deployed in tenant >> space. >> >> <wsdl:port name="HelloProxyHttpSoap11Endpoint" binding="tns: >> HelloProxySoap11Binding"> >> <soap:address location="http://esb.wso2.com:8280/services/He >> lloProxy.HelloProxyHttpSoap11Endpoint >> <http://jagatha-ThinkPad-T530:8280/services/t/aa.com/HelloProxy.HelloProxyHttpSoap11Endpoint> >> "/> >> </wsdl:port> >> >> >> Thanks. >> -- >> Jagath Ariyarathne >> Technical Lead >> WSO2 Inc. http://wso2.com/ >> Email: [email protected] >> Mob : +94 77 386 7048 >> <http://wso2.com/signature> >> > > > > -- > Thank you and Best Regards, > Chanaka Fernando > Senior Technical Lead > m: +94 773337238 > https://wso2.com <https://wso2.com/signature> > > > > > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
