Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JAXWS 2.1 EA1
    • Fix Version/s: 2.2.1
    • Component/s: wsgen
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      85

      Description

      Wsgen should have an option to generate inline schema(in WSDL) as an opposite
      to external XSD file, since there are clients that does not support schema
      import.

        Issue Links

          Activity

          Hide
          vivekp added a comment -
              • Issue 172 has been marked as a duplicate of this issue. ***
          Show
          vivekp added a comment - Issue 172 has been marked as a duplicate of this issue. ***
          Hide
          jitu added a comment -

          Assigning it to myself

          Show
          jitu added a comment - Assigning it to myself
          Hide
          scm_issue_link added a comment -

          Code changed in jax-ws-sources
          User: jitu
          Path:
          /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/wsdl/writer/WSDLGenerator.java (1.60.2.10)
          http://fisheye5.cenqua.com/changelog/jax-ws-sources/?cs=jaxws22:jitu:20100122014741

          Log:
          [JAX-WS-85] Inlining the schemas during wsdl generation.
          TODO provide an option from wsgen and runtime to control this featurue

          Issue number:
          Obtained from:
          Submitted by:
          Reviewed by:

          Show
          scm_issue_link added a comment - Code changed in jax-ws-sources User: jitu Path: /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/wsdl/writer/WSDLGenerator.java (1.60.2.10) http://fisheye5.cenqua.com/changelog/jax-ws-sources/?cs=jaxws22:jitu:20100122014741 Log: [JAX-WS-85] Inlining the schemas during wsdl generation. TODO provide an option from wsgen and runtime to control this featurue Issue number: Obtained from: Submitted by: Reviewed by:
          Hide
          scm_issue_link added a comment -

          Code changed in jax-ws-sources
          User: jitu
          Path:
          /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/server/EndpointFactory.java (1.7.2.15)
          /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/wsdl/writer/WSDLGenerator.java (1.60.2.11)
          /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/ant/WsGen2.java (1.3.4.3)
          /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/resources/wscompile.properties (1.33.2.6)
          /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/wscompile/WsgenOptions.java (1.4.4.2)
          /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/wscompile/WsgenTool.java (1.5.4.4)
          http://fisheye5.cenqua.com/changelog/jax-ws-sources/?cs=jaxws22:jitu:20100205004229

          Log:
          [JAX-WS-85] adding -inlineSchemas option to wsgen tool, that would inline the
          the generated schemas in the wsdl.
          Issue number:
          Obtained from:
          Submitted by:
          Reviewed by:

          Show
          scm_issue_link added a comment - Code changed in jax-ws-sources User: jitu Path: /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/server/EndpointFactory.java (1.7.2.15) /jax-ws-sources/jaxws-ri/rt/src/com/sun/xml/ws/wsdl/writer/WSDLGenerator.java (1.60.2.11) /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/ant/WsGen2.java (1.3.4.3) /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/resources/wscompile.properties (1.33.2.6) /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/wscompile/WsgenOptions.java (1.4.4.2) /jax-ws-sources/jaxws-ri/tools/wscompile/src/com/sun/tools/ws/wscompile/WsgenTool.java (1.5.4.4) http://fisheye5.cenqua.com/changelog/jax-ws-sources/?cs=jaxws22:jitu:20100205004229 Log: [JAX-WS-85] adding -inlineSchemas option to wsgen tool, that would inline the the generated schemas in the wsdl. Issue number: Obtained from: Submitted by: Reviewed by:
          Hide
          jitu added a comment -

          Marking it as fixed in 2.2.1

          Show
          jitu added a comment - Marking it as fixed in 2.2.1
          Hide
          bmesserer added a comment -

          So, is there a possibility to specify the "-inlineSchemas" options for runtime WSDL generation? Probably I'm just too stupid but I cannot find how to specify wsgen options at runtime...

          Show
          bmesserer added a comment - So, is there a possibility to specify the "-inlineSchemas" options for runtime WSDL generation? Probably I'm just too stupid but I cannot find how to specify wsgen options at runtime...
          Hide
          jitu added a comment -

          There is no way to specify that for runtime WSDL generation. It needs a WebServiceFeature annotation or a DD entry.
          One can always bundle the WSDL(so use wsgen and bundle the WSDL), so this annotation is not added so far. If there is a demand, we can consider doing that.

          Show
          jitu added a comment - There is no way to specify that for runtime WSDL generation. It needs a WebServiceFeature annotation or a DD entry. One can always bundle the WSDL(so use wsgen and bundle the WSDL), so this annotation is not added so far. If there is a demand, we can consider doing that.
          Hide
          HalloSchwester added a comment -

          Hi! I'd like to have the opportunity to specify whether the generated schema should be inside WSDL via an annotation. So, here's demand for that

          Show
          HalloSchwester added a comment - Hi! I'd like to have the opportunity to specify whether the generated schema should be inside WSDL via an annotation. So, here's demand for that
          Hide
          Antic1tizen added a comment -

          Me too!

          Show
          Antic1tizen added a comment - Me too!

            People

            • Assignee:
              jitu
              Reporter:
              mailvision
            • Votes:
              7 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: