0 Replies Latest reply on Mar 25, 2013 2:53 AM by Aakeef Ahmed

    Issue after replacing Apache axis web services with Jboss[wsconsume]

    Aakeef Ahmed Newbie

      HI

       

      I am currently using axis web services, now i have to create services using Jboss.

      i have created stub also,

       

      pakage-info.java

      ObjectFactory.java

      examplePort.java

      example.java-----service class-->(having my service)

      In.java

      Out.java

       

      my code is :

      example service =new example(); //----error

      examplePort portType=service.getSTFE3B2STAPPServicesWebServicesProviderexamplePort();

       

      while creating Service object getting this error.

      ---------------------------------------------------------------------------------------------------------------

      Stack Trace (of root cause):

      java.lang.AbstractMethodError: oracle.xml.parser.v2.XMLDocument.setDocumentURI(Ljava/lang/String;)V

                at org.apache.cxf.staxutils.StaxUtils.read(StaxUtils.java:893)

                at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:231)

                at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:191)

                at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:92)

                at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:204)

                at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:148)

                at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:141)

                at javax.xml.ws.Service.<init>(Service.java:57)

      ------------------------------------------------------------------------------------------------------------------------

      Thanks to Please can anyone help in this.