<div>Hello</div>
<div> </div>
<div>I am using jboss JAXWS webservice.</div>
<div>When i call them from my application (a .war file) running on <a href="http://JBOSS.4.2.3.GA">JBOSS.4.2.3.GA</a>. Web-service call executes and returns result objects.</div>
<div> </div>
<div>But When i use call web-service in my main() ( standalone class) with same ( .jars as used above in application), I get following errors. </div>
<div> </div>
<div>Please help. Thanks to give some direction.</div>
<div> </div>
<div>Getting these errors:</div>
<div>================</div>
<div>OperationMetaData:<br> qname={<a href="http://endpoint.ws.eventmgt.qs.st/}updateAction">http://endpoint.ws.eventmgt.qs.st/}updateAction</a><br> javaName={<a href="http://endpoint.ws.eventmgt.qs.st/}updateAction">http://endpoint.ws.eventmgt.qs.st/}updateAction</a><br>
style=document/literal/WRAPPED<br> oneWay=false<br> soapAction=<br>DEBUG (JAXWSClientMetaDataBuilder.java:274) 16:28:23,090 - START: rebuildMetaData<br>DEBUG (EndpointMetaData.java:310) 16:28:23,105 - setParameterStyle: null<br>
DEBUG (EndpointMetaData.java:864) 16:28:23,106 - Create new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]<br>DEBUG (JBossWSConfigFactory.java:140) 16:28:23,109 - getConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]<br>
DEBUG (JBossWSConfigFactory.java:70) 16:28:23,110 - parse: jar:file:/home/arvinder/jbossws-client.jar!/META-INF/standard-jaxws-client-config.xml<br>Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.xb.binding.Unmarshaller.setSchemaValidation(Z)V<br>
at org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:78)<br> at org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:149)<br> at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfigMetaData(EndpointMetaData.java:872)<br>
at org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:849)<br> at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:292)<br>
at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:269)<br> at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:240)<br> at javax.xml.ws.Service.getPort(Service.java:169)<br>
at st.itacn.bs.fmeabatches.wsclient.ActionWSClient.getActionEndPoint(ActionWSClient.java:43)<br> at st.itacn.bs.fmeabatches.datalayer.ActionDataLayer.createAction(ActionDataLayer.java:80)<br> at st.itacn.bs.fmeabatches.batchRun.ActionCreation.main(ActionCreation.java:39)<br>
</div>