Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3362

no schemaimport for swaref in generated wsdl

XMLWordPrintable

    • Hide

      create a webservice with

      private DataHandler dataHandler;

      @XmlElement
      @XmlAttachmentRef
      public DataHandler getDataHandler()

      { return dataHandler; }

      public void setDataHandler(DataHandler dataHandler)

      { this.dataHandler = dataHandler; }
      Show
      create a webservice with private DataHandler dataHandler; @XmlElement @XmlAttachmentRef public DataHandler getDataHandler() { return dataHandler; } public void setDataHandler(DataHandler dataHandler) { this.dataHandler = dataHandler; }
    • Workaround Exists
    • Hide

      edit the wdsl and modify it locally but it is not very efficient for customer

      Show
      edit the wdsl and modify it locally but it is not very efficient for customer
    • Medium

      Hello,

      the generated WSDL contains
      <xs:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" />

      but it should be

      <xs:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="http://ws-i.org/profiles/basic/1.1/swaref.xsd" />

      When we use wsconsume it fails due to swaref definition failure.

              rhn-engineering-ema Jim Ma
              aoberlaender Antoine Oberlaender (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: