soapwsdlosboracle-service-bus

How WSDL is Used in Oracle Service Bus?


I created an OSB Service using a WSDL and selected a Binding. Now, when my client is trying to call the service using the WSDL I provided, they are getting errors. Also, the binding name in the WSDL that I provided and the WSDL that they are pulling from the URL is different. What is happening?


Solution

  • As per the OSB documentation,

    When you create a service based on a WSDL resource, you must base the service on a WSDL port or on a WSDL binding:

    When creating or modifying the service, you can change the transport, but you cannot override the data format.

    The port and binding definitions from the original WSDL resource are modified in the effective WSDL depending on a number of factors, as described below.

    If the service is based on a binding:

    The bold part is what is causing issue. It is always better to use port instead of binding as OSB modifies the effective WSDL as explained above.