Hi, i m using jboss-4.0.1RC2.i have given axis-ws4ee.jar in my classpath. but still i m getting this exception
2005-01-10 13:37:46,033 WARN org.jboss.xml.binding.Unmarshaller[main] - SAX feature not recognized: http://apache.org/xml/features/validation/schema | 2005-01-10 13:37:46,035 WARN org.jboss.xml.binding.Unmarshaller[main] - SAX feature not recognized: http://apache.org/xml/features/validation/schema-full-checking | 2005-01-10 13:37:46,035 WARN org.jboss.xml.binding.Unmarshaller[main] - SAX feature not recognized: http://apache.org/xml/features/validation/dynamic | 2005-01-10 13:37:53,016 ERROR org.jboss.webservice.client.ServiceFactoryImpl[main] - Element type "java-wsdl-mapping" is not declared. @ *unknown*[8,-1] | org.xml.sax.SAXException: Element type "java-wsdl-mapping" is not declared. @ *unknown*[8,-1] | at org.jboss.xml.binding.Unmarshaller$MetaDataErrorHandler.error(Unmarshaller.java:170) | at org.apache.crimson.parser.Parser2.error(Parser2.java:3322) | at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1469) | at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634) | at org.apache.crimson.parser.Parser2.parse(Parser2.java:333) | at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) | at org.jboss.xml.binding.Unmarshaller.unmarshal(Unmarshaller.java:153) | at org.jboss.xml.binding.Unmarshaller.unmarshal(Unmarshaller.java:140) | at org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:63) | at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158) | at org.synxis.join.JoinClient1.main(JoinClient1.java:245) | Exception in thread "main" javax.xml.rpc.ServiceException: org.xml.sax.SAXException: Element type "java-wsdl-mapping" is not declared. @ *unknown*[8,-1] | at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:167) | at org.synxis.join.JoinClient1.main(JoinClient1.java:245) | Caused by: org.xml.sax.SAXException: Element type "java-wsdl-mapping" is not declared. @ *unknown*[8,-1] | at org.jboss.xml.binding.Unmarshaller$MetaDataErrorHandler.error(Unmarshaller.java:170) | at org.apache.crimson.parser.Parser2.error(Parser2.java:3322) | at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1469) | at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634) | at org.apache.crimson.parser.Parser2.parse(Parser2.java:333) | at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) | at org.jboss.xml.binding.Unmarshaller.unmarshal(Unmarshaller.java:153) | at org.jboss.xml.binding.Unmarshaller.unmarshal(Unmarshaller.java:140) | at org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:63) | at org.jboss.webservice.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158) | ... 1 more the client code is this URL wsdl =new URL("http://192.10.10.58:8080/JoinBean/?wsdl"); | URL mappinglocation =new URL("http://192.10.10.72/resources/jaxrpc-mapping.xml"); | QName qname = new QName("http://join.synxis.org","JoinEndpointService"); | String portName="JoinEndpoint"; | org.jboss.webservice.client.ServiceFactoryImpl factory= (org.jboss.webservice.client.ServiceFactoryImpl)ServiceFactoryImpl.newInstance(); | Service service=factory.createService(wsdl,mappinglocation,null,qname,portName); | rgds gayathiri View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861374#3861374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861374 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
