wsit
  1. wsit
  2. WSIT-461

suppress error messages in wsimport for WSDL with policies

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 1.0
    • Component/s: policy
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      461

      Description

      Implement a tooltime WSDL parser extension that skips over the policy elements
      in the WSDL to suppress these ERROR messages from wsimport:

      parsing WSDL...

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 206 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 219 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 232 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 237 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 241 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 247 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 252 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [ERROR] unknown required extensibility element "wsp:PolicyReference" (in
      namespace "http://schemas.xmlsoap.org/ws/2004/09/policy")
      line 256 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [WARNING] SOAP port "NoSecurityPort": uses a non-standard SOAP 1.2 binding.
      line 261 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [WARNING] SOAP port "T1Port": uses a non-standard SOAP 1.2 binding.
      line 264 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [WARNING] SOAP port "T3Port": uses a non-standard SOAP 1.2 binding.
      line 267 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [WARNING] SOAP port "A11Port": uses a non-standard SOAP 1.2 binding.
      line 270 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      [WARNING] SOAP port "A12Port": uses a non-standard SOAP 1.2 binding.
      line 273 of
      file:/Users/fr159072/workspace/tango/wspolicy/test/interop/client_trunk/wsdl/Sun/Round3.wsdl

      generating code...

        Activity

        Hide
        ritzmann added a comment -

        I just realized the reason we are getting these errors is because we are using a
        WSDL input file with PolicyReferences like this:

        <wsp:PolicyReference URI="#A12Endpoint" wsdl:required="true"/>

        Show
        ritzmann added a comment - I just realized the reason we are getting these errors is because we are using a WSDL input file with PolicyReferences like this: <wsp:PolicyReference URI="#A12Endpoint" wsdl:required="true"/>
        Hide
        japod added a comment -

        Taking the issue.

        Show
        japod added a comment - Taking the issue.
        Hide
        japod added a comment -

        Going to implement tool time wsdl parser extension
        for appropriate policy elements

        Show
        japod added a comment - Going to implement tool time wsdl parser extension for appropriate policy elements
        Hide
        japod added a comment -

        Fixed in cvs

        Show
        japod added a comment - Fixed in cvs
        Hide
        mmatula added a comment -

        This issue was fixed before we created 1.0 branch, so the fix is in 1.0 ->
        setting target milestone to say so.

        Show
        mmatula added a comment - This issue was fixed before we created 1.0 branch, so the fix is in 1.0 -> setting target milestone to say so.

          People

          • Assignee:
            Jakub Podlesak
            Reporter:
            ritzmann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: