0 Replies Latest reply on Aug 31, 2005 1:30 PM by hsutarwala

    Cannot load wsdl file 'USE_JBOSS_CLIENT_XML_OVERRIDE'

    hsutarwala

      javax.naming.NamingException: Cannot load wsdl file 'USE_JBOSS_CLIENT_XML_OVERRIDE' from: file:/C:/java/jboss/jboss-4.0.3RC2/server/default/tmp/deploy/tmp18989webservices-calculatetax-1.0.jar
      at org.jboss.webservice.client.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:130)
      at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1110)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1127)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:690)
      at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:120)
      at $Proxy0.lookup(Unknown Source)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at com.clientlogic.oms.webservices.calculatetax.CalculateTaxWSTest.testCalculateTax(CalculateTaxWSTest.java:55)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at junit.framework.TestCase.runTest(TestCase.java:154)
      at junit.framework.TestCase.runBare(TestCase.java:127)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:118)
      at junit.framework.TestSuite.runTest(TestSuite.java:208)
      at junit.framework.TestSuite.run(TestSuite.java:203)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)

      As per the tutorial to create a WSDocClient, it advises to use jboss-client.xml that ends up in the conf directory of the server instance. For the tag <wsdl-file> it uses 'USE_JBOSS_CLIENT_XML_OVERRIDE'. By doing this, it lead to the error on the top. Any ideas, thoughts, suggestions??