Scale It [
http://community.jboss.org/people/meselfe] created the discussion
"Generated WSDL has too many namespaces/imports."
To view the discussion, visit:
http://community.jboss.org/message/579511#579511
--------------------------------------------------------------
When I deploy a jaxws annotated web service on jboss 4.3ga the autogenerated wsdl contains
many unused namespaces and imports.
The web methods input objects have been generated using jaxb from a catalog of XSD files.
@WebMethod
public void dosomething(DTO dto);
So in the case above "dto" originate from the xsd catalog and has jaxb
annotations. The reference to this object seems to draw in all objects from the xsd
catalog even though the java class does not depend on them. The xsd catalog is built as a
hierarchy so "dto" extends some root object. The only link I can see between the
root object and the rest of the objects from the catalog is a jaxb @XmlSeeAlso annotation
on the root object that lists all objects that extends this root object.
How do I make jboss generate a WSDL that does not include all the unused objects from the
catalog?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/579511#579511]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]