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)
Show replies by date
Following are jars in lib:
=================
Action-8July10-Arv.jar jaxb-impl.jar
jdom-1.0.b8.jar poi-2.5.1-final-20040804.jar
activation.jar jaxb-xjc.jar
jettison.jar poi-contrib-2.5.1-final-20040804.jar
ant.jar jboss-jaxb-intros.jar
juddi.jar poi-scratchpad-2.5.1-final-20040804.jar
ant-launcher.jar jboss-logging-log4j.jar
junit-3.8.1.jar policy.jar
CCAMFramework.jar jboss-logging-spi.jar
junit.jar resolver.jar
classes12.jar jboss-remoting.jar
ldapfilt.jar scout.jar
commons-discovery-0.2.jar jbossws-common.jar
ldapjdk.jar servlet.jar
commons-logging-1.0.4.jar jbossws-framework.jar
ldapsp.jar stax-api.jar
commons-logging.jar jbossws-jboss423.jar
liotrox.jar stax-ex.jar
commons-pool-1.1.jar jbossws-native-client.jar
log4j-1.2.8.jar streambuffer.jar
dbpool1.4.jar jbossws-native-core.jar
log4j.jar wsdl4j.jar
dms.jar jbossws-native-jaxrpc.jar
mailer_1_2.jar wstx.jar
dom4j.jar jbossws-native-jaxws-ext.jar
mail.jar wstx-lgpl.jar
FastInfoset.jar jbossws-native-jaxws.jar
mimepull.jar xalanj1compat.jar
getopt.jar jbossws-native-saaj.jar
oracle9205.jar xalan.jar
HTTPClient.jar jbossws-spi.jar
os2errorLog_1_3.jar xercesImpl-2.9.1.jar
javassist.jar jboss-xml-binding.jar
os2prs.jar xml-apis.jar
jaxb-api.jar jcjarmasterK-4.5.jar
os2security.jar xmlsec.jar
jboss-common-core-2.2.9.GA.jar
jbossws-client.jar
---------- Forwarded message ----------
From: Arvinder Kaur <arvindr.kaur(a)gmail.com>
Date: Fri, Jul 16, 2010 at 4:42 PM
Subject: URG: jboss JAXWS webservice
To: jboss-user(a)lists.jboss.org
Hello
I am using jboss JAXWS webservice.
When i call them from my application (a .war file) running on
JBOSS.4.2.3.GA<http://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<http://endpoint.ws.eventmgt.qs.st/%7DupdateAction>
javaName={http://endpoint.ws.eventmgt.qs.st/}updateAction<http://endpoint.ws.eventmgt.qs.st/%7DupdateAction>
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)