jax-ws
  1. jax-ws
  2. JAX_WS-569

wsimport keeps downloading schema files

    Details

    • Issuezilla Id:
      569

      Description

      Hi,

      When compiling the WS-Trust WSDL for my STS implementation wsimport keeps on
      downloading various XML schema files from sites like: www.oasis-open.org,
      docs.oasis-open.org and www.w3.org. This despite the usage of an XML catalog as
      described in the JAX-WS RI documentation. I've attached the sample project
      (check out wsimport-sts.zip at
      http://forums.java.net/jive/thread.jspa?threadID=40881) so you can check this
      out for yourself. Just unzip the archive and run: make. This will execute
      wsimport.sh using a catalog for compilation of ws-trust-1.3.wsdl. Via tcpdump
      (I'm using Linux here) you can easily see what wsimport is downloading:

      tcpdump -i eth0 -s 0 -t -vvv -w - port 80 | strings | grep 'Host|GET'

      The resulting output can be found below. Can anyone help me out here? I really
      would like to see that wsimport stops downloading XML schemas since this can be
      very slow (sometimes w3.org is slow/down) and it also prevents me from building
      my project offline.

      Kind Regards,
      Frank.

      GET /committees/entity/release/1.0/catalog.dtd HTTP/1.1
      Host: www.oasis-open.org
      GET /ws-sx/ws-trust/200512/ws-trust-1.3.xsd HTTP/1.1
      Host: docs.oasis-open.org
      GET /wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd HTTP/1.1
      Host: docs.oasis-open.org
      GET /wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd HTTP/1.1
      Host: docs.oasis-open.org
      GET /2001/xml.xsd HTTP/1.1
      Host: www.w3.org
      GET /TR/xmldsig-core/xmldsig-core-schema.xsd HTTP/1.1
      Host: www.w3.org
      GET /2001/XMLSchema.dtd HTTP/1.1
      Host: www.w3.org
      GET /2001/datatypes.dtd HTTP/1.1
      Host: www.w3.org
      GET /ws/2004/09/policy/ws-policy.xsd HTTP/1.1
      Host: schemas.xmlsoap.org
      GET /2006/03/addressing/ws-addr.xsd HTTP/1.1
      Host: www.w3.org
      GET /2001/XMLSchema.dtd HTTP/1.1
      Host: www.w3.org
      GET /2001/datatypes.dtd HTTP/1.1
      Host: www.w3.org

        Activity

        Hide
        jitu added a comment -

        Assigning it to Rama

        Show
        jitu added a comment - Assigning it to Rama
        Hide
        ramapulavarthi added a comment -

        Please see evaluation of similar bug http://java.net/jira/browse/JAX_WS-900.
        Wsimport along with XJC does use catalog, but during the schema correctness check the catalog is not used by XJC resulting in access to the original references. Please see the bug filed on jaxb https://jaxb.dev.java.net/issues/show_bug.cgi?id=795

        Show
        ramapulavarthi added a comment - Please see evaluation of similar bug http://java.net/jira/browse/JAX_WS-900 . Wsimport along with XJC does use catalog, but during the schema correctness check the catalog is not used by XJC resulting in access to the original references. Please see the bug filed on jaxb https://jaxb.dev.java.net/issues/show_bug.cgi?id=795

          People

          • Assignee:
            ramapulavarthi
            Reporter:
            fcorneli
          • Votes:
            5 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: