Issue Details (XML | Word | Printable)

Key: JAX_WS-85
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jitu
Reporter: mailvision
Votes: 7
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jax-ws

Inline schema generation

Created: 17/Oct/06 03:34 AM   Updated: 11/Jan/12 10:03 AM   Resolved: 25/Mar/10 01:15 PM
Component/s: wsgen
Affects Version/s: JAXWS 2.1 EA1
Fix Version/s: 2.2.1

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All

Issue Links:
Duplicate
 

Issuezilla Id: 85
Tags:
Participants: bmesserer, HalloSchwester, jitu, jitu, mailvision, scm_issue_link and vivekp


 Description  « Hide

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.



vivekp added a comment - 12/Jan/07 08:26 PM
      • Issue 172 has been marked as a duplicate of this issue. ***

jitu added a comment - 21/Jan/10 02:27 PM

Assigning it to myself


scm_issue_link added a comment - 21/Jan/10 05:48 PM

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:


scm_issue_link added a comment - 04/Feb/10 04:43 PM

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:


jitu added a comment - 25/Mar/10 01:15 PM

Marking it as fixed in 2.2.1


bmesserer added a comment - 15/Mar/11 01:27 AM

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...


jitu added a comment - 16/Mar/11 12:55 PM

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.


HalloSchwester added a comment - 11/Jan/12 10:03 AM

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