0 Replies Latest reply on Feb 29, 2008 1:01 PM by lucdew

    xsd:include or xsd:import in WSDL

    lucdew

      Hi,

      i have issues with the wsconsume tool (with JBossWS native 2.0.3)

      I need to import in my WSDL an external schema file that is included in a jar file.

      In my WSDL, i declared the types using the following statements:

      <xs:schema
      targetNamespace="urn:myspace" xmlns:tns="urn:myspace"
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      elementFormDefault="qualified">
      <xs:include schemaLocation="schema.xsd"></xs:include>
      </xs:schema>

      Is wsconsume able to load the schema file from the classpath ?

      Also the jar already contains the generated classes with jaxb compiler.

      Is it possible to use wsconsume without generating the schema files but only the webservice endpoint ?

      Thanks in advance,
      Luc