Search code examples
osbsoap1.2

While creating proxy service based on wsdl, by default its taking soap 1.1, so how can we convert or make it to use it as soap 1.2


When i try to create an Proxy service in OSB based on WSDL, by default its considering soap version as 1.1 but my requirement is to use soap version 1.2, so can anyone help me on how to change the soap version to 1.2.

WSDl file doesn't contain any soap version details neither at binding level nor at port level.

Thanks, Anil.


Solution

  • You need to change a little your wsdl file and start using your soap 1.2 namespace. After that change, when you try create Proxy service from updated wsdl, you should achieve your goal.

    Soap namespaces:

    soap 1.1: xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    soap 1.2: xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    

    You can use it proper in your wsdl file.

    If you can provide your wsdl i can help you change it correctly, if you still gonna be struggling with it.