[Wise Users] - Not able to generate beans from WSDL because of namespace co
by rvyas.rajesh
Hi All,
I am trying variuos examples given in JBoss ESB server - 4.6, i ran them successfully, But when i modified 'webservice_consumer_wise2' example so that it uses my WSDL file. This WSDL file has namespace collision but I could not change the service wsdl.
I gogleda lot, but I am not able to find useful documentation which can help me to set binding information.
However, based on my guess (as other properties are set in example wise-core.properties) I tried to configure it using property 'wise.bindingFiles=c:/tmp/binding.xml' in wise-core.properties
But this does not seems to work.
Contents of binding.xml are-
<bindings
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
| wsdlLocation="http://wucabig1.wustl.edu:9092/wsrf/services/cagrid/GeneConnect?wsdl"
| xmlns="http://java.sun.com/xml/ns/jaxws">
| <package name="external_customize.client">
| <javadoc>Mathutil package</javadoc>
| </package>
| </bindings>
I am getting following error on JBoss server console-
01:32:25,494 INFO [STDOUT] [WARNING] src-resolve.4.2: Error resolving component 'wsbf:BaseFaultType'. It was detected that 'wsbf:BaseFaultType' is in namespace 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd', but components from this namespace are not referenceable from schema document 'http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/DataServiceE...'. If this is the incorrect namespace, perhaps the prefix of 'wsbf:BaseFaultType' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/DataServiceE...'.
| 01:32:25,494 INFO [STDOUT] line 8 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/DataServiceE...
| 01:32:25,497 INFO [STDOUT] [WARNING] src-resolve.4.2: Error resolving component 'wsa:EndpointReference'. It was detected that 'wsa:EndpointReference' is in namespace 'http://schemas.xmlsoap.org/ws/2004/03/addressing', but components from this namespace are not referenceable from schema document 'http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/GeneConnectT...'. If this is the incorrect namespace, perhaps the prefix of 'wsa:EndpointReference' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/GeneConnectT...'.
| 01:32:25,497 INFO [STDOUT] line 7 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/GeneConnectT...
| 01:32:25,808 INFO [STDOUT] [WARNING] src-resolve.4.2: Error resolving component 'wsa:EndpointReference'. It was detected that 'wsa:EndpointReference' is in namespace 'http://schemas.xmlsoap.org/ws/2004/03/addressing', but components from this namespace are not referenceable from schema document 'http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/DataServiceT...'. If this is the incorrect namespace, perhaps the prefix of 'wsa:EndpointReference' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/DataServiceT...'.
| 01:32:25,808 INFO [STDOUT] line 6 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/DataServiceT...
| 01:32:26,541 INFO [STDOUT] [ERROR] A class/interface with the same name "org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.generated.UMLClass" is already in use. Use a class customization to resolve this conflict.
| 01:32:26,541 INFO [STDOUT] line 51 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,541 INFO [STDOUT] [ERROR] (Relevant to above error) another "UMLClass" is generated from here.
| 01:32:26,541 INFO [STDOUT] line 5 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,543 INFO [STDOUT] [ERROR] A class/interface with the same name "org.jboss.soa.esb.samples.quickstart.webservice_consumer_wise2.generated.Operation" is already in use. Use a class customization to resolve this conflict.
| 01:32:26,543 INFO [STDOUT] line 33 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,543 INFO [STDOUT] [ERROR] (Relevant to above error) another "Operation" is generated from here.
| 01:32:26,543 INFO [STDOUT] line 30 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/security...
| 01:32:26,566 INFO [STDOUT] [ERROR] Two declarations cause a collision in the ObjectFactory class.
| 01:32:26,566 INFO [STDOUT] line 30 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/security...
| 01:32:26,566 INFO [STDOUT] [ERROR] (Related to above error) This is the other declaration.
| 01:32:26,566 INFO [STDOUT] line 33 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,579 INFO [STDOUT] [ERROR] Two declarations cause a collision in the ObjectFactory class.
| 01:32:26,579 INFO [STDOUT] line 51 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,579 INFO [STDOUT] [ERROR] (Related to above error) This is the other declaration.
| 01:32:26,579 INFO [STDOUT] line 5 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,584 INFO [STDOUT] [ERROR] Two declarations cause a collision in the ObjectFactory class.
| 01:32:26,584 INFO [STDOUT] line 32 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,584 INFO [STDOUT] [ERROR] (Related to above error) This is the other declaration.
| 01:32:26,584 INFO [STDOUT] line 29 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/security...
| 01:32:26,587 INFO [STDOUT] [ERROR] Two declarations cause a collision in the ObjectFactory class.
| 01:32:26,587 INFO [STDOUT] line 50 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,587 INFO [STDOUT] [ERROR] (Related to above error) This is the other declaration.
| 01:32:26,587 INFO [STDOUT] line 4 of http://wucabig1.wustl.edu:9092/wsrf/share/schema/GeneConnect/xsd/cagrid/t...
| 01:32:26,609 WARN [ActionProcessingPipeline] No fault address defined for fault message! To: JMSEpr [ PortReference < <wsa:Address jms:localhost#queue/quickstart_webservice_consumer_wise2_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:destination-name : queue/quickstart_webservice_consumer_wise2_esb/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: aebc64d6-8429-48c3-80de-c198f33f38a6 RelatesTo: jms:correlationID#aebc64d6-8429-48c3-80de-c198f33f38a6
I will be thankful if you can help or provide pointers to documentation.
Thanks
Rajesh Vyas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264204#4264204
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264204
15 years, 1 month