Over a million developers have joined DZone.

Managing Endpoints and WSDL from WSO2 Register

· Integration Zone

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

Here I am going to use code from my previous post about the WSO2 proxy in which it was written without getting End Points and wsdl from URL.


        <address uri="http://localhost:9763/services/BusServices"/>
  <publishWSDL uri="http://localhost:9763/services/BusServices?wsdl"/>

Now I will make those saved in register

Adding End Point

1. got to –> “Home > Manage > Service Bus > Endpoints”

2. Click on "Add Endpoint" tab and then "Address Endpoint"


5. Click on "save in Registry"


6. Save & close clicked


Save wsdl in registy

1. Go to "Home > Registry > Browse"

2. Move to the "/_system/config/sample"

3. click on link called "Add Resource"

4. Then chose wsdl file in local Dir and save it


5. Change Proxy for those from URL to registry location that you have added

<proxy xmlns="http://ws.apache.org/ns/synapse" name="transportProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
         <filter source="get-property('Action')" regex=".*getBusNo">
               <log level="custom">
                  <property name="service" value="Bus Services is called"/>
               <log level="custom">
                  <property name="service" value="Train Service is called"/>
      <endpoint key="conf:/sample/transportEndPoint"/>
   <publishWSDL key="conf:/sample/BusServices.xml"/>

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.


Published at DZone with permission of Madhuka Udantha, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}