[jboss-user] [JBossWS] - Newbie: How do you modify the java package/namespace mapping

summer.hill do-not-reply at jboss.com
Wed Aug 30 22:33:02 EDT 2006


I am developing a series of JSR181 annotated webservices that I automatically deploy to the jboss deploy directory. JBoss correctly deploys the ejbs and the webservices are available and all working fine.

BUT, I can't find a way of configuring how the java packages containing custom java classes are mapped to namespaces in the generated wsdl. This seems to be possible using the xml configuration for wstools, but I am not using wstools as I am allowing JBoss to do all the deployment for me.

The wstools conifguration xsd has the following element which is probably what I need to set somehow WITHOUT using wstools.

    <xs:sequence>
  |       <xs:element name="package-namespace" type="ns1:pkgNSType" minOccurs="0" maxOccurs="unbounded">
  |         <xs:annotation>
  |           <xs:documentation>Allows customization of the java package name to xml namespace mapping. This is specified in package/namespace element pairs.</xs:documentation>
  |         </xs:annotation>
  |       </xs:element>
  |     </xs:sequence>
  | 

How can I configure the WSDL generation in JBOSS to modify java package to namespace mapping????

Thanks

James

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968512#3968512

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968512



More information about the jboss-user mailing list