Forum Discussion

rhoyos's avatar
rhoyos
New Contributor
11 years ago

Error executing WS-Compliance SOAP 1.2

Hello,



I have a wsdl built with SOAP 1.2, which I tested with WSDL analizar free (by Internet), but when I tried with WS-I Compliance (SOAP 4.6.4 and SOAP Pro) the result is the same.."failed" BP2402..



Is there a biug with the SOAP UI ?



Thanks in advance,



Raul

3 Replies

  • Hi,



    The WSDL analyzer checks that the WSDL is syntactically valid as far as I know, and does not do WS-I compliance checking unless you can show that it does.  The explanation for error code BP2402 based off what I have found is "The wsdl: binding element does not use a soapbind: binding element as defined in section "3 SOAP Binding." of the WSDL 1.1 specification".  Not sure if that is valid for your WSDL or not.  We do use an old version of the WS-I compliance check tool so you may find differences when doing WS-I compliance check from a different application.





    Regards,

    Marcus

    SmartBear Support
  • rhoyos's avatar
    rhoyos
    New Contributor
    Markus, thanks for your response.



    I think there is a problem because in the documentation in 


    3. SOAP Binding




    only is mentioned SOAP 1.1 and we are testing SOAP 1.2.



    So, the message "failed" is because SOAP UI is trying to validate WSDL with SOAP 1.2 as if it was built with SOAP 1.1, then there is no error?



    Thanks in advance 
    • MarcusJ's avatar
      MarcusJ
      Icon for Staff rankStaff

      Hi,

       

      "So, the message "failed" is because SOAP UI is trying to validate WSDL with SOAP 1.2 as if it was built with SOAP 1.1, then there is no error?"

       

      The compliance error is for WSDL 1.1 specification, the bindings that specification uses is SOAP 1.1, HTTP GET/POST, and MIME so if your using SOAP 1.2 binding only then I guess it is OK to ignore this error.