[jboss-user] URG: jboss JAXWS webservice

Arvinder Kaur arvindr.kaur at gmail.com
Fri Jul 16 07:12:35 EDT 2010


Hello

I am using jboss JAXWS webservice.
When i call them from my application (a .war file) running on
JBOSS.4.2.3.GA. Web-service
call executes and returns result objects.

But When i use call web-service in my main() ( standalone class) with same (
.jars as used above in application), I get following errors.

Please help. Thanks to give some direction.

Getting these errors:
================
OperationMetaData:
 qname={http://endpoint.ws.eventmgt.qs.st/}updateAction
 javaName={http://endpoint.ws.eventmgt.qs.st/}updateAction
 style=document/literal/WRAPPED
 oneWay=false
 soapAction=
DEBUG (JAXWSClientMetaDataBuilder.java:274) 16:28:23,090 - START:
rebuildMetaData
DEBUG (EndpointMetaData.java:310) 16:28:23,105 - setParameterStyle: null
DEBUG (EndpointMetaData.java:864) 16:28:23,106 - Create new config
[name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]
DEBUG (JBossWSConfigFactory.java:140) 16:28:23,109 - getConfig:
[name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]
DEBUG (JBossWSConfigFactory.java:70) 16:28:23,110 - parse:
jar:file:/home/arvinder/jbossws-client.jar!/META-INF/standard-jaxws-client-config.xml
Exception in thread "main" java.lang.NoSuchMethodError:
org.jboss.xb.binding.Unmarshaller.setSchemaValidation(Z)V
 at
org.jboss.ws.metadata.config.JBossWSConfigFactory.parse(JBossWSConfigFactory.java:78)
 at
org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:149)
 at
org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfigMetaData(EndpointMetaData.java:872)
 at
org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:849)
 at
org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:292)
 at
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:269)
 at
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:240)
 at javax.xml.ws.Service.getPort(Service.java:169)
 at
st.itacn.bs.fmeabatches.wsclient.ActionWSClient.getActionEndPoint(ActionWSClient.java:43)
 at
st.itacn.bs.fmeabatches.datalayer.ActionDataLayer.createAction(ActionDataLayer.java:80)
 at
st.itacn.bs.fmeabatches.batchRun.ActionCreation.main(ActionCreation.java:39)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100716/821e17b7/attachment.html 


More information about the jboss-user mailing list