0 Replies Latest reply on Feb 8, 2007 11:58 AM by Anupama Chickerur

    org.jboss.ws.WSException: Unsupported schemaLocation:

    Anupama Chickerur Newbie

       

      <?xml version="1.0" encoding="UTF-8"?>
      
      <configuration xmlns="http://www.jboss.org/jbossws-tools">
      
      <wsdl-java file="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl">
      <mapping file="jaxrpc-mapping-client.xml" />
      </wsdl-java>
      
      </configuration>

      Consuming web service.
      I am trying to run wstools to get client side artifacts. but i keep running into this exception
      Exception in thread "main" org.jboss.ws.WSException: Unsupported schemaLocation:
      egquery.xsd
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.getLocationURL(WSDL11Reader.j
      ava:417)
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Rea
      der.java:371)
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Re
      ader.java:349)
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.jav
      a:205)
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reade
      r.java:118)
      at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio
      nsFactory.java:145)
      at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:110)
      at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too
      lsHelper.java:322)
      at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
      at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
      at org.jboss.ws.tools.WSTools.main(WSTools.java:61)

      Any help is appreciated,
      Thanks
      anu