Hi All,
I'm trying to running the metro example =>
https://metro.dev.java.net/getting-started/wsit-jaxws-fromjava.zip
and followed steps from =>
http://swiki.fromdev.com/2010/01/trying-to-run-jax-ws-sample-application.html (I faced almost same problems)
and now in the end when I'm running(ant run) the metro client I got following exception
I:\JavaWebServices\wsit-jaxws-fromjava>ant run
Buildfile: build.xml
Trying to override old definition of task apt
run:
[java] Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
[java] at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
[java] at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
[java] at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
[java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
[java] at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.getXMLInputFactory(XMLStreamReaderFactory.java:109)
[java] at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.<clinit>(XMLStreamReaderFactory.java:78)
[java] at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:850)
[java] at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:294)
[java] at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:151)
[java] at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:131)
[java] at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:271)
[java] at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:234)
[java] at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:182)
[java] at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
[java] at javax.xml.ws.Service.<init>(Service.java:56)
[java] at fromjava.client.AddNumbersImplService.<init>(AddNumbersImplService.java:42)
[java] at fromjava.client.AddNumbersClient.main(Unknown Source)
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 8 seconds
[Message sent by forum member 'minhaj_kk']
http://forums.java.net/jive/thread.jspa?messageID=476729