Hello, I'm trying to implement JSR-181 EJB webservice. It deploys fine, but when I trying to access it from client-side, I'm getting following Exception at client-side:java.lang.NoSuchFieldError: fFeatures | at org.jboss.xb.binding.parser.xni.XniJBossXBParser$ParserConfiguration.configurePipeline(XniJBossXBParser.java:459) | at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source) | at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) | at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.jboss.xb.binding.parser.xni.XniJBossXBParser.parse(XniJBossXBParser.java:192) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:151) | at org.jboss.ws.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:79) | at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:73) | at org.jboss.ws.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:96) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) | at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:142) | at session.SessionUnitTest.testLogin(SessionUnitTest.java:21) | ...I have spend many hours trying to find any info in User's Guide, Wiki and Forums. But found nothing and still unable to resolve the problem. It seems error happens even before client connects to a web service.
My web service code:package session; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | @Stateless | public class SessionBean implements Session { | | @WebMethod | public void login() { | System.out.println("call"); | } | | } My client code: ServiceFactoryImpl factory = new ServiceFactoryImpl(); | URL wsdlURL = new URL("http://localhost:8070/teststatelessendpoint/SessionBean?wsdl"); | URL mappingURL = new File("src-gen/jaxrpc-mapping.xml").toURL(); | QName qname = new QName("http://localhost:8070/teststatelessendpoint", "SessionBean"); | Service service = factory.createService(wsdlURL, qname, mappingURL); | session.jaws.SessionBean port = (session.jaws.SessionBean)service.getPort(session.jaws.SessionBean.class); | port.login(); Possibly I'm missing something very simple or obvious. Hope for your help. Thank you in advance for your help, Roman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955118#3955118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955118 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user