CXF
  1. CXF
  2. CXF-645

WsdlValidator fails if the wsdl does not have a binding.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-RC
    • Fix Version/s: 2.0
    • Component/s: Tooling
    • Labels:
      None

      Description

      Hi,

      I tried to run the wsdlValidator on the attached files and it fails because it has no binding.

      Edell.

      1. OptionsPT.wsdl
        1 kB
        Edell Nolan
      2. expected_SchemaPT.xsd
        1 kB
        Edell Nolan

        Activity

        Hide
        maomaode added a comment -

        validator will throw errors if the wsdl not contain any services, so it will fail with "WSDL document does not define any services".
        the behavior is as same as the JAXWS RI.
        If you really need pass this wsdl, i can change the ERROR to WARNings and give you option to SUPPRESS the warnings.
        Will that work?

        Show
        maomaode added a comment - validator will throw errors if the wsdl not contain any services, so it will fail with "WSDL document does not define any services". the behavior is as same as the JAXWS RI. If you really need pass this wsdl, i can change the ERROR to WARNings and give you option to SUPPRESS the warnings. Will that work?
        Hide
        maomaode added a comment -

        Try set ToolConstants.CFG_SUPPRESS_WARNINGS into validator ToolContext

        Show
        maomaode added a comment - Try set ToolConstants.CFG_SUPPRESS_WARNINGS into validator ToolContext

          People

          • Assignee:
            maomaode
            Reporter:
            Edell Nolan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development