Hi everybody, I've deployed a WebService successfully on Websphere App Server 7 using RAD (Rational Application Developer), but when I run my client application (Main), I'm getting the following stacktrace related with schema imports:
Exception in
thread "main" javax.xml.ws.WebServiceException: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'Identifiers-1.0.xsd', relative to 'file:/C:/DOCUME~1/marcelo/CONFIG~1/Temp/accesspointservice3825015292805590333.wsdl'.: java.io.FileNotFoundException: This file was not found: file:/C:/DOCUME~1/marcelo/CONFIG~1/Temp/Identifiers-1.0.xsd
at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128)
at org.apache.axis2.jaxws.util.WSDL4JWrapper.loadDefinition(WSDL4JWrapper.java:754)
at org.apache.axis2.jaxws.util.WSDL4JWrapper.getDefinition(WSDL4JWrapper.java:670)
at org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:224)
at org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:156)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.setupWsdlDefinition(ServiceDescriptionImpl.java:1071)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:237)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:160)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:133)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescription(DescriptionFactoryImpl.java:79)
at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescription(DescriptionFactory.java:76)
at org.apache.axis2.jaxws.spi.ServiceDelegate.<init>(ServiceDelegate.java:240)
at org.apache.axis2.jaxws.spi.Provider.createServiceDelegate(Provider.java:63)
at javax.xml.ws.Service.<init>(Service.java:57)
at org.w3._2009._02.ws_tra.AccesspointService.<init>(AccesspointService.java:38)
at org.busdox.transport.start.client.AccessPointClient.setupEndpointAddress(AccessPointClient.java:205)
at org.busdox.transport.start.client.AccessPointClient.getAccessPointServicePort(AccessPointClient.java:172)
at org.busdox.transport.start.client.AccessPointClient.getPort(AccessPointClient.java:110)
at org.busdox.transport.start.client.Main.testService(Main.java:286)
at org.busdox.transport.start.client.Main.SendMessageToAccessPointBypassLookup(Main.java:161)
at org.busdox.transport.start.client.Main.main(Main.java:109)
Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema[1]): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'Identifiers-1.0.xsd', relative to 'file:/C:/DOCUME~1/marcelo/CONFIG~1/Temp/accesspointservice3825015292805590333.wsdl'.: java.io.FileNotFoundException: This file was not found: file:/C:/DOCUME~1/marcelo/CONFIG~1/Temp/Identifiers-1.0.xsd
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:923)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:691)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:647)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:353)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2409)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2373)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2426)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2334)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2296)
at org.apache.axis2.jaxws.util.WSDL4JWrapper$13.run(WSDL4JWrapper.java:745)
at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)
at org.apache.axis2.jaxws.util.WSDL4JWrapper.loadDefinition(WSDL4JWrapper.java:742)
... 19 more
Caused by: java.io.FileNotFoundException: This file was not found: file:/C:/DOCUME~1/marcelo/CONFIG~1/Temp/Identifiers-1.0.xsd
at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(StringUtils.java:173)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:842)
I've been googleing for almost 4 days and trying to solve the problem by relocating xml documents, but I can't get it work, please if somebody could help I will be very grateful. Thanks in advance.