1 Reply Latest reply: Nov 29, 2011 7:14 AM by Anuj Dwivedi--Oracle RSS

    Error while deploying using ant in 11g

    832350
      Hi all,

      I am trying to deploy order demo application using ant from command line in SOA 11g. I just ran the ant script to package the composite and it is giving me below mentioned error.It is referring to 1 file in all the wsdls and creating problem. Actualy, JMS_FedEx.wsdl is partner link to JMS Adapter that writes to a queue. I am confused because I have 2 more adapter created on similiar lines like this but while compiling no error references are made to those wsdls. I am not sure What's wrong with this wsdl. However, Composite gets complied and deployed using Jdeveloper. Please provide your Inputs.

      Nov 29, 2011 3:10:38 PM oracle.adf.share.ADFContext getCurrent
      WARNING: Automatically initializing a DefaultContext for getCurrent.
      Caller should ensure that a DefaultContext is proper for this use.
      Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
      This message may be avoided by performing initADFContext before using getCurrent().
      To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
      Load of wsdl "oramds:/soa/shared/workflow/TaskServiceInterface.wsdl" failed
      oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/TaskServiceInterface.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskServiceInterface.wsdl does not exist.
           at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
           at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:557)
           at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
           at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:419)
           at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:244)
           at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:308)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskServiceInterface.wsdl does not exist.
           at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:429)
           at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStreamWithRetry(AbstractOraMDSURLConnection.java:262)
           at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:183)
           at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
           at java.net.URL.openStream(URL.java:1010)
           at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
           ... 9 more
      Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/TaskServiceInterface.wsdl does not exist.
           ... 15 more
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/receivePO.wsdl] part name = part1     type = {http://xmlns.oracle.com/ns/order}PurchaseOrder" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/receivePO.wsdl] part name = part1     type = {http://xmlns.oracle.com/ns/order}PurchaseOrder
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_USPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_USPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:58)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/OracleRulesFulfillment.wsdl] part name = payload     type = {http://xmlns.oracle.com/FullfillmentRules/OracleRulesFulfillment}callFunctionStateful
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_UPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_UPS.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/approveLargeOrder.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/order}Order" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/approveLargeOrder.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/order}Order
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/ManualApproval_DecisionService_1.wsdl] part name = payload     type = {http://xmlns.oracle.com/ManualApproval/ManualApproval_DecisionService_1}errorInfo" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/ManualApproval_DecisionService_1.wsdl] part name = payload     type = {http://xmlns.oracle.com/ManualApproval/ManualApproval_DecisionService_1}errorInfo
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest" failed
      java.lang.Exception: Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:58)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest" failed
      java.lang.Exception: Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest" failed
      java.lang.Exception: Message part element undefined in wsdl [http://gdiora001.in.ibm.com:8015/soa-infra/services/default/validationForCC!1.0/getStatusbyCC.wsdl] part name = part1     type = {http://www.globalcompany.com/ns/CCAuthorizationService}creditcardStatusRequest
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/FulfillmentProcess.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/FulfillmentProcess.wsdl] part name = payload     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_FedEx.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/JMS_FedEx.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/fulfillment}Fulfillment
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/order}Order" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults.wsdl] part name = body     type = {http://xmlns.oracle.com/ns/order}Order
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
      Load of wsdl "JMS_FedEx.wsdl with Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults_Remote.wsdl] part name = body     type = {http://xmlns.oracle.com/pcbpel/adapter/ftp/}OutboundFTPHeaderType" failed
      java.lang.Exception: Message part element undefined in wsdl [file:/C:/po/POProcessing/POProcessing/WriteApprovalResults_Remote.wsdl] part name = body     type = {http://xmlns.oracle.com/pcbpel/adapter/ftp/}OutboundFTPHeaderType
           at oracle.soa.scac.WSDLValidator.validateMessageParts(WSDLValidator.java:121)
           at oracle.soa.scac.WSDLValidator.validateMessages(WSDLValidator.java:88)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:47)
           at oracle.soa.scac.WSDLValidator.validate(WSDLValidator.java:40)
           at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:964)
           at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
           at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
           at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)

      Thanks,
      Vikas Manchanda