0 Replies Latest reply on Feb 3, 2010 12:14 AM by sekhar_25

    namespace are not referenceable from schema document

      Hi ,

      I have genarated java files from WSDL file using jboss 4.2.3  jax-ws 2.1.3, the wsdl 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: 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=src-resolve.4.2: 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'.