2 Replies Latest reply on Nov 7, 2006 4:16 PM by qi liu

    org.jboss.util.xml.DOMWriter error

    qi liu Newbie

      I am using JSR109 client to consume JSR181 web service. Both are on my local machine. I encounted a NoSuchMethodError on DOMWriter.setPrettyprint when executing the code:
      Service service = (Service)iniCtx.lookup("authentication-client/service/AuthenticationService");

      I am using jboss-common-client.jar built on 10/16/2006, so I think this is not the error mentioned in http://jira.jboss.com/jira/browse/JBAS-2117.

      Any help, please.

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher.main(JavaBeansLauncher.java:86)
      Caused by: java.lang.NoSuchMethodError: org.jboss.util.xml.DOMWriter.setPrettyprint(Z)Lorg/jboss/util/xml/DOMWriter;
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:332)
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:205)
      at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
      at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
      at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273)
      at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:106)
      at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:112)
      at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:182)
      at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125)
      at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
      at javax.naming.InitialContext.lookup(Unknown Source)