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

wsdl4j does not resolve local copy of xml.xsd

XMLWordPrintable

      When deploying WSRP web services, it does not create the endpoint properly because the w3.org site timeout and it does not get the file it needs that is referenced by out wsdl :

      Code:

      Caused by: WSDLException (at /wsdl:definitions/import/wsdl:definitions/import/ws
      dl:definitions/wsdl:types/schema/schema): faultCode=OTHER_ERROR: An error occurr
      ed trying to resolve schema referenced at 'http://www.w3.org/2001/xml.xsd', rela
      tive to 'file:/C:/Java/jboss-4.0.4RC1-jbossws14/server/default/tmp/deploy/tmp952
      9jboss-wsrp.sar-contents/jboss-wsrp-exp.war/WEB-INF/wsdl/wsrp_v1_types.xsd'.: Ca
      nnot access imported wsdl http://www.w3.org/2001/xml.xsd, Connection timed out
      : connect: java.lang.RuntimeException: Cannot access imported wsdl [http://www.w
      3.org/2001/xml.xsd], Connection timed out: connect
      at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory$WSDLLocatorImpl.get
      ImportInputSource(WSDLDefinitionsFactory.java:305)
      at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
      at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
      at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)

      any idea of how I could solve that or bypass it to make it take a file on the local file system ?

              rhn-support-hbraun Heiko Braun
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: