I tried to execute demo client for access to a WebService on JBOSS 4.0.4 and
an error arise
ant -f jboss-build.xml run-ws
Classpath seems to no include other references of old versions of xerces parser:
Buildfile: jboss-build.xml
run-ws:
[java] Exception in thread "main" java.lang.NullPointerException
[java] at java.lang.System.arraycopy(Native Method)
[java] at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(Unknown
Source)
[java] at
org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java:711)
[java] at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:206)
[java] at
org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
[java] at
org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
[java] at
org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
[java] at
org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:253)
[java] at
org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:73)
[java] at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:89)
[java] at
org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
[java] at
org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
[java] at com.jboss.ebank.WSClient.main(WSClient.java:23)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943771#3943771
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943771
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user