[JBossWS] - Jbossws.1.2.1.GA... JNDI Bind Failed:JAXR
by marco.ciatti
I've just installed Jbossws.1.2.1.GA on my jboss 4.0.5, following the installation instruction and during the AS restart I've noticed the following error indication; nevertheless the http://localhost:8080/jbossws seems "alive"...
Does anybody know which is the root cause of this error indication ?
2007-05-13 17:31:16,250 ERROR [org.jboss.jaxr.juddi.JUDDIService] JNDI Bind Failed:JAXR
2007-05-13 17:31:16,250 ERROR [STDERR] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317)
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446)
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:484)
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:477)
2007-05-13 17:31:16,250 ERROR [STDERR] at javax.naming.InitialContext.rebind(InitialContext.java:367)
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jboss.jaxr.juddi.JUDDIService.bindJAXRConnectionFactory(JUDDIService.java:383)
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jboss.jaxr.juddi.JUDDIService.setBindJaxr(JUDDIService.java:320)
2007-05-13 17:31:16,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-05-13 17:31:16,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-05-13 17:31:16,250 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-05-13 17:31:16,250 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-05-13 17:31:16,250 ERROR [STDERR] at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:136)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:694)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
2007-05-13 17:31:16,265 ERROR [STDERR] at org.jboss.system.ServiceController.install(ServiceController.java:226)
2007-05-13 17:31:16,265 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-05-13 17:31:16,265 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-05-13 17:31:16,265 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-05-13 17:31:16,265 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-05-13 17:31:16,281 ERROR [STDERR] at $Proxy4.install(Unknown Source)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
2007-05-13 17:31:16,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2007-05-13 17:31:16,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-05-13 17:31:16,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-05-13 17:31:16,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-05-13 17:31:16,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-05-13 17:31:16,296 ERROR [STDERR] at $Proxy7.deploy(Unknown Source)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
2007-05-13 17:31:16,296 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-05-13 17:31:16,312 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2007-05-13 17:31:16,312 ERROR [STDERR] at $Proxy0.start(Unknown Source)
2007-05-13 17:31:16,312 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-05-13 17:31:16,312 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-05-13 17:31:16,328 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-05-13 17:31:16,328 ERROR [STDERR] at $Proxy4.start(Unknown Source)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
2007-05-13 17:31:16,328 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
2007-05-13 17:31:16,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-05-13 17:31:16,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-05-13 17:31:16,328 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-05-13 17:31:16,343 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
2007-05-13 17:31:16,343 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
2007-05-13 17:31:16,343 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
2007-05-13 17:31:16,343 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2007-05-13 17:31:16,359 ERROR [STDERR] Caused by: java.net.SocketTimeoutException: Receive timed out
2007-05-13 17:31:16,359 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive0(Native Method)
2007-05-13 17:31:16,359 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
2007-05-13 17:31:16,359 ERROR [STDERR] at java.net.DatagramSocket.receive(DatagramSocket.java:712)
2007-05-13 17:31:16,359 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1287)
2007-05-13 17:31:16,359 ERROR [STDERR] ... 105 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045286#4045286
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045286
18 years, 8 months
[JBossWS] - wsconsume - Problems regarding http://www.w3.org/2001/XMLSch
by mars58
Hello all,
I am using wsconsume to generate the client side components for a web service written in .NET.
Originally my error was:
warning: src-resolve.4.2: Error resolving component 's:schema'. It was detected
that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but componen
ts from this namespace are not referenceable from schema document 'http://dev-bi
services/Reporting/ReportRequest.asmx?WSDL#types?schema1'. If this is the incorr
ect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is
the correct namespace, then an appropriate 'import' tag should be added to 'http
://dev-biservices/Reporting/ReportRequest.asmx?WSDL#types?schema1'.
line 0 of http://dev-biservices/Reporting/ReportRequest.asmx?WSDL#types?schema
1
error: undefined element declaration 's:schema'
line 0 of http://dev-biservices/Reporting/ReportRequest.asmx?WSDL#types?schema
1
org.xml.sax.SAXParseException: undefined element declaration 's:schema'
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildMo
del(WSDLModeler.java:213)
at org.jboss.com.sun.tools.ws.processor.config.ModelInfo.buildModel(Mode
lInfo.java:88)
So I got local copies of the dtds and added the following import statement to a local copy of the WSDL...
<s:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="XMLSchema.xsd"/>
Now I am getting the following errors:
C:\jboss-4.0.5.GA\bin>wsconsume -k C:\jboss-4.0.5.GA\bin\wstools\BI.wsdl
warning: rcase-Recurse.2: There is not a complete functional mapping between the particles.
line 405 of file:/C:/jboss-4.0.5.GA/bin/wstools/XMLSchema.xsd
warning: derivation-ok-restriction.5.4.2: Error for type 'complexRestrictionType'.
The particle of the type is not a valid restriction of the particle of the base.
line 405 of file:/C:/jboss-4.0.5.GA/bin/wstools/XMLSchema.xsd
warning: rcase-Recurse.2: There is not a complete functional mapping between the particles.
line 451 of file:/C:/jboss-4.0.5.GA/bin/wstools/XMLSchema.xsd
warning: derivation-ok-restriction.5.4.2: Error for type 'simpleRestrictionType'.
The particle of the type is not a valid restriction of the particle of the base.
line 451 of file:/C:/jboss-4.0.5.GA/bin/wstools/XMLSchema.xsd
warning: rcase-Recurse.2: There is not a complete functional mapping between the particles.
line 749 of file:/C:/jboss-4.0.5.GA/bin/wstools/XMLSchema.xsd
warning: derivation-ok-restriction.5.4.2: Error for type 'all'. The particle of
the type is not a valid restriction of the particle of the base.
line 749 of file:/C:/jboss-4.0.5.GA/bin/wstools/XMLSchema.xsd
error: Two declarations cause a collision in the ObjectFactory class.
line 0 of file:/C:/jboss-4.0.5.GA/bin/wstools/BI.wsdl#types?schema1
error: (Related to above error) This is the other declaration.
line 0 of file:/C:/jboss-4.0.5.GA/bin/wstools/BI.wsdl#types?schema1
error: Two declarations cause a collision in the ObjectFactory class.
line 0 of file:/C:/jboss-4.0.5.GA/bin/wstools/BI.wsdl#types?schema1
error: (Related to above error) This is the other declaration.
line 0 of file:/C:/jboss-4.0.5.GA/bin/wstools/BI.wsdl#types?schema1
error: Two declarations cause a collision in the ObjectFactory class.
line 0 of file:/C:/jboss-4.0.5.GA/bin/wstools/BI.wsdl#types?schema1
error: (Related to above error) This is the other declaration.
line 0 of file:/C:/jboss-4.0.5.GA/bin/wstools/BI.wsdl#types?schema1
com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:213)
at org.jboss.com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
at org.jboss.com.sun.tools.ws.processor.Processor.runModeler(Processor.java:82)
at org.jboss.com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:543)
at org.jboss.com.sun.tools.ws.util.ToolBase.run(ToolBase.java:57)
at org.jboss.ws.tools.jaxws.impl.WSContractConsumerImpl$1.run(WSContractConsumerImpl.java:163)
at org.jboss.ws.tools.jaxws.impl.WSContractConsumerImpl.consume(WSContractConsumerImpl.java:166)
at org.jboss.ws.tools.jaxws.command.wsconsume.importServices(wsconsume.java:193)
at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:76)
Caused by: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:128)
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2207)
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:224)
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:181)
... 8 more
Caused by: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.
at com.sun.tools.xjc.ErrorReceiver.error(ErrorReceiver.java:66)
at com.sun.tools.xjc.generator.bean.ObjectFactoryGeneratorImpl.populate(ObjectFactoryGeneratorImpl.java:152)
at com.sun.tools.xjc.generator.bean.PublicObjectFactoryGenerator.populate(PublicObjectFactoryGenerator.java:19)
at com.sun.tools.xjc.generator.bean.BeanGenerator.(BeanGenerator.java:210)
at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:151)
at com.sun.tools.xjc.model.Model.generateCode(Model.java:230)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:217)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:67)
at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:126)
... 11 more
error: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.
Here is the WSDL:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="http://biservices.corp.espn.pvt/ReportRequest"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="http://biservices.corp.espn.pvt/ReportRequest"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://biservices.corp.espn.pvt/ReportRequest">
<s:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="XMLSchema.xsd"/>
<s:element name="SubmitForViewer">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="theReportInfo" type="tns:ReportInfo" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ReportInfo">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CMSLogon" type="tns:CMSLogon" />
<s:element minOccurs="0" maxOccurs="1" name="DBLogon" type="tns:DBLogon" />
<s:element minOccurs="0" maxOccurs="1" name="ExportFormat" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="FormulaCollection" type="tns:ArrayOfFormula" />
<s:element minOccurs="0" maxOccurs="1" name="ParameterCollection" type="tns:ArrayOfParameter" />
<s:element minOccurs="0" maxOccurs="1" name="ParameterListCollection" type="tns:ArrayOfParameterList" />
<s:element minOccurs="0" maxOccurs="1" name="Printer" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="RecordSelection" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ReportName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ReportPath" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="CMSLogon">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Authentication" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="CMS" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="DBLogon">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Database" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="UserName" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfFormula">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Formula" nillable="true" type="tns:Formula" />
</s:sequence>
</s:complexType>
<s:complexType name="Formula">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ReportName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SValue" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfParameter">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="Parameter" nillable="true" type="tns:Parameter" />
</s:sequence>
</s:complexType>
<s:complexType name="Parameter">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ReportName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SValue" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfParameterList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="ParameterList" nillable="true" type="tns:ParameterList" />
</s:sequence>
</s:complexType>
<s:complexType name="ParameterList">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="__Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="__ReportName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="__SValueCollection" type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ReportName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="SValueCollection" type="tns:ArrayOfString" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
<s:element name="SubmitForViewerResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SubmitForViewerResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="Submit">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="theReportInfo" type="tns:ReportInfo" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SubmitResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SubmitResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SubmitWithData">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="theReportInfo" type="tns:ReportInfo" />
<s:element minOccurs="0" maxOccurs="1" name="theDataSet">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SubmitWithDataResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SubmitWithDataResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
<wsdl:message name="SubmitForViewerSoapIn">
<wsdl:part name="parameters" element="tns:SubmitForViewer" />
</wsdl:message>
<wsdl:message name="SubmitForViewerSoapOut">
<wsdl:part name="parameters" element="tns:SubmitForViewerResponse" />
</wsdl:message>
<wsdl:message name="SubmitSoapIn">
<wsdl:part name="parameters" element="tns:Submit" />
</wsdl:message>
<wsdl:message name="SubmitSoapOut">
<wsdl:part name="parameters" element="tns:SubmitResponse" />
</wsdl:message>
<wsdl:message name="SubmitWithDataSoapIn">
<wsdl:part name="parameters" element="tns:SubmitWithData" />
</wsdl:message>
<wsdl:message name="SubmitWithDataSoapOut">
<wsdl:part name="parameters" element="tns:SubmitWithDataResponse" />
</wsdl:message>
<wsdl:portType name="ReportRequestSoap">
<wsdl:operation name="SubmitForViewer">
<wsdl:input message="tns:SubmitForViewerSoapIn" />
<wsdl:output message="tns:SubmitForViewerSoapOut" />
</wsdl:operation>
<wsdl:operation name="Submit">
<wsdl:input message="tns:SubmitSoapIn" />
<wsdl:output message="tns:SubmitSoapOut" />
</wsdl:operation>
<wsdl:operation name="SubmitWithData">
<wsdl:input message="tns:SubmitWithDataSoapIn" />
<wsdl:output message="tns:SubmitWithDataSoapOut" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ReportRequestSoap" type="tns:ReportRequestSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="SubmitForViewer">
<soap:operation soapAction="http://biservices.corp.espn.pvt/ReportRequest/SubmitForViewer" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Submit">
<soap:operation soapAction="http://biservices.corp.espn.pvt/ReportRequest/Submit" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SubmitWithData">
<soap:operation soapAction="http://biservices.corp.espn.pvt/ReportRequest/SubmitWithData" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="ReportRequestSoap12" type="tns:ReportRequestSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="SubmitForViewer">
<soap12:operation soapAction="http://biservices.corp.espn.pvt/ReportRequest/SubmitForViewer" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="Submit">
<soap12:operation soapAction="http://biservices.corp.espn.pvt/ReportRequest/Submit" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SubmitWithData">
<soap12:operation soapAction="http://biservices.corp.espn.pvt/ReportRequest/SubmitWithData" style="document" />
<wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ReportRequest">
<wsdl:port name="ReportRequestSoap" binding="tns:ReportRequestSoap">
<soap:address location="http://dev-biservices/Reporting/ReportRequest.asmx" />
</wsdl:port>
<wsdl:port name="ReportRequestSoap12" binding="tns:ReportRequestSoap12">
<soap12:address location="http://dev-biservices/Reporting/ReportRequest.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Sorry for the post from hell, but any help would be much appreciated.
-Rob.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045109#4045109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045109
18 years, 8 months
[JBossWS] - wsconsume schema type reference problem
by gryffin
I'm using wsconsume to build the server classes necessary for a top-down implementation of a ws. I get an error that seems to indicate it can't find the type description, but it's there.
C:\wsdev\jboss2>wsconsume -k -p com.boeing.nmt.server.ws -o gen -s src NlsSoap.wsdl
| Invalid wsdl:operation "AssetAssociationSet": its a rpc-literal operation, message part must refer
| to a schema type declaration
| at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.fail(WSDLModeler.java:2788)
|
Excerpt from WSDL binding:
<binding name="NlsSoapBinding" type="y:SOAPport">
| <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
| <operation name="AssetAssociationSet">
| <soap:operation soapAction="urn:#AssetAssociationSet" style="rpc"/>
| ...
|
Excerpt from portType:
| <portType name="SOAPport">
| <operation name="AssetAssociationSet">
| <input message="y:AssetAssociationSetSoapIn"/>
| <output message="y:AssetAssociationSetSoapOut"/>
| ...
|
Excerpt from message:
| <message name="AssetAssociationSetSoapIn">
| <part name="Selector" element="ns1:AssetSelector"/>
| <part name="AssociationValues" element="ns1:AssociationValues"/>
| </message>
| <message name="AssetAssociationGetSoapIn">
| <part name="Selector" element="ns1:AssetSelector"/>
| </message>
| ...
|
Excerpt from schema:
| <xs:element name="AssetSelector">
| <xs:complexType>
| <xs:sequence>
| <xs:element name="AssetId" type="xs:string"/>
| <xs:element name="OwnerAppId" type="xs:string" minOccurs="0"/>
| </xs:sequence>
| </xs:complexType>
| </xs:element>
| <xs:element name="AssociationValues">
| <xs:complexType>
| <xs:sequence>
| ...
|
Is there some mistake in the WSDL parts shown that prevent wsconsume from matching the schema type with the binding? To me, it looks good. Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045045#4045045
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045045
18 years, 8 months
[JBossWS] - XOP testCase
by bk8133
Greetings!
I'm trying to produce a webservice according to the XOP testcase in examples. I implemented endpoint interface and implementing bean.
|
| package si.zejn.agentpro.core.ws;
|
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
| import javax.xml.ws.BindingType;
|
| @WebService(targetNamespace = "http://ws.core.agentpro.zejn.si/")
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
| @BindingType(value = "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true")
| public interface MTOMEndpoint
| {
| public DHResponse getSlikaByID();
|
|
|
| }
|
|
| @WebService(name = "MTOMEndpoint", serviceName = "MTOMService", endpointInterface = "si.zejn.agentpro.core.ws.MTOMEndpoint")
| public class WServiceAP_Pictures {
|
|
| @Resource
| WebServiceContext wsCtx;
|
|
| public DHResponse getSlikaByID() {
|
|
| FileDataSource fds=new FileDataSource("c:/pics/slika.jpg");
| DataHandler dh=new DataHandler(fds);
| return new DHResponse(dh);
| }
|
|
|
| }
|
But when invoking the service i get "IllegalAnnotationsException".
Any ideas? Eternally greatful.. :)
PS. which way is more intuitive and better to use MTOM/XOP or SwA. I'm trying to provide interfaces for a Delphi Client
| 11:49:56,984 ERROR [AbstractServiceEndpointServlet] Error processing web service request
| javax.xml.ws.WebServiceException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
| javax.activation.DataHandler does not have a no-arg default constructor.
| this problem is related to the following location:
| at javax.activation.DataHandler
| at public javax.activation.DataHandler si.zejn.agentpro.core.ws.DHResponse.getDataHandler()
| at si.zejn.agentpro.core.ws.DHResponse
|
| at org.jboss.ws.core.jaxws.JAXBSerializer.handleMarshallException(JAXBSerializer.java:109)
| at org.jboss.ws.core.jaxws.JAXBSerializer.serialize(JAXBSerializer.java:89)
| at org.jboss.ws.core.jaxrpc.binding.SerializerSupport.serialize(SerializerSupport.java:61)
| at
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044926#4044926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044926
18 years, 8 months
[JBossWS] - Webservice deployment error with JbossWS
by trivedi
Hi,
I am using jboss4.0.4GA and jbossws-1.0.4.GA. I am doing wsdl first approach. using jaxws I generated java classes. when i deploy the war into jboss, it is throwing the following WARN..
23:31:08,656 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: java.security.cert.CertPath.certificates
23:31:08,671 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.docreg._1.FindDocumentsQuery.availabilityStatus
23:31:08,687 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.wrapper._1.CodeListCriteria.matchValues
23:31:08,687 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.docreg._1.FindDocumentsResponse.documentInfo
23:31:08,703 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.docreg._1.GetAffinityDomainsResponse.affinityDomain
Its basically removing the collections that has been generated from the jaxb compiler. when i see my wsdl (ie generated one), these fields are missing from it, let me know what should i do?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044771#4044771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044771
18 years, 8 months
[JBossWS] - calling a web service from the standlone client
by mandarkul
I am trying to access a web service deployed on JBoss thtough a statndalone client.
The web service is deployed sucessfully as I can see the web service in JBoss's web service console(jbossws).
But when i execute the following code :
| public static void main(String[] args) {
| try {
| String nameSpaceURL = "http://webservice.test.com/";
| String webServiceURL = "http://127.0.0.1:4040/MySessionBeanService/MySessionBean?wsdl";
| URL wsdlLocation = new URL(webServiceURL);
| QName serviceQ = new QName(nameSpaceURL,"testService");
| Service service = Service.create(wsdlLocation,serviceQ);
| MySession mysession = service.getPort(MySession.class);
| mysession.sayHello();
| } catch (MalformedURLException e) {
| e.printStackTrace();
| }
| }
|
|
I get a very strange exception with the stack trace as follows :
Exception in thread "main" java.lang.NoSuchMethodError: javassist.ClassPool.<init>(Z)V
| at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.init(DynamicWrapperGenerator.java:71)
| at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.<init>(DynamicWrapperGenerator.java:66)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.initWrapperGenerator(JAXWSMetaDataBuilder.java:856)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.resetMetaDataBuilder(JAXWSMetaDataBuilder.java:862)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:258)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:274)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:263)
| at javax.xml.ws.Service.getPort(Service.java:185)
| at org.jboss.ws.core.jaxws.client.ServiceExt.getPort(ServiceExt.java:123)
| at sample.WebServiceClient.main(WebServiceClient.java:23)
I also get a Log4j warning as,
log4j:WARN No appenders could be found for logger (org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder).
| log4j:WARN Please initialize the log4j system properly.
But I don't think that this warning can lead to such a weird error.
I have following jars from jboss.home/client/lib on classpath :
jaxb-xjc.jar
stax-api-1.0.jar
sjsxp.jar
jaxb-api.jar
jaxb-impl.jar
activation.jar
jboss-jaxws.jar
jboss-saaj.jar
jbossws-client.jar
jboss-xml-bindig.jar
stax-api.jar
xercesImpl.jar
mail.jar
Can anyone help me to solve the problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044617#4044617
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044617
18 years, 8 months