User development,
A new message was posted in the thread "namespace are not referenceable from schema
document":
http://community.jboss.org/message/523641#523641
Author : sasanka samal
Profile :
http://community.jboss.org/people/sekhar_25
Message:
--------------------------------------------------------------
Hi ,
I have genarated java files from WSDL file which has multiple schema imports just like
this<
wsdl:import
namespace=+"http://www.tmforum.org/mtop/mri/wsdl/rir/v1-0"+
location=+"ResourceInventoryRetrievalMessages.wsdl"+/> and I have
implemented endpoint interface in other java file using webservice annotation and deployed
into JBOSS 4.2.3 I am getting the below error .
pls find below
@
WebService(name = "ResourceInventoryRetrieval_RPC", targetNamespace =
"http://www.tmforum.org/mtop/mri/wsdl/rir/v1-0")
**public
**
*
*class* ResourceInventoryRetrievalRPCImpl *implements* ResourceInventoryRetrievalRPC{}
*
*ERROR:-*
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:activityName' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:msgName' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:msgType' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:senderURI' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:destinationURI' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:replyToURI' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:originatorURI' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:failureReplytoURI' to a(n) 'element
declaration' component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:activityStatus' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:correlationId' to a(n) 'element declaration'
component.
17:02:37,720 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:security' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:securityType' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:priority' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:msgSpecificProperties' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:communicationPattern' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:communicationStyle' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:requestedBatchSize' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:batchSequenceNumber' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:batchSequenceEndOfReply' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:iteratorReferenceURI' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:fileLocationURI' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:compressionType' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:packingType' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:timestamp' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns1:vendorExtensions' to a(n) 'element
declaration' component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns2:topic' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
JBossWS_v1_0.notc.wsdl.fmw.mtop.tmforum.org_5965124913372431712.xsd[domai...:
Cannot resolve the name 'ns2:message' to a(n) 'element declaration'
component.
17:02:37,736 ERROR [JBossXSErrorHandler]
[
domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message...:
Error resolving component 'ns1:commonEventInformation'. It was detected that
'ns1:commonEventInformation' is in namespace
'http://www.tmforum.org/mtop/fmw/xsd/cei/v1', but components from this namespace
are not referenceable from schema document 'null'. If this is the incorrect
namespace, perhaps the prefix of 'ns1:commonEventInformation' needs to be changed.
If this is the correct namespace, then an appropriate 'import' tag should be added
to 'null'.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/523641#523641