A31 - ECM

Global/Vn/Loan/ConsumerLoan/GetListCollateralByCif/1
mail@pastecode.io avatar
unknown
plain_text
2 years ago
8.6 kB
4
Indexable
Never
Input Data:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ns="http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0" xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0" xmlns:ns2="http://www.bidv.com/global/common/bank/1.0">
   <soap:Header/>
   <soap:Body>
      <ns:GetListCollateralByCifReq>
         <ns1:Header>
            <ns1:Common>
               <ns1:BusinessDomain>BIDV.COM.VN</ns1:BusinessDomain>
               <ns1:ServiceVersion>1.0</ns1:ServiceVersion>
               <ns1:MessageId>TEST</ns1:MessageId>
               <!--Optional:-->
               <ns1:TransactionId>12121</ns1:TransactionId>
               <!--Optional:-->
               <ns1:RequestRefDate>2021-07-02T11:09:58.214+07:00</ns1:RequestRefDate>
               <ns1:MessageTimestamp>2021-07-02T11:09:58.214+07:00</ns1:MessageTimestamp>
               
            </ns1:Common>
            <ns1:Client>
               <ns1:SourceAppID>BIDVECM</ns1:SourceAppID>
             
            </ns1:Client>
         </ns1:Header>
         <ns:BodyReqGetListCollateralByCif>
            <ns:Cif>56</ns:Cif>
            <ns:BaseXfer>
               <!--Optional:-->
               <ns2:TellerId>99998</ns2:TellerId>
               <ns2:SvrBranch>99998</ns2:SvrBranch>
            </ns:BaseXfer>
            <!--Optional:-->
            <ns:MoreRecord>N</ns:MoreRecord>
            <!--Optional:-->
            <ns:NumberOfRecord>10</ns:NumberOfRecord>
         </ns:BodyReqGetListCollateralByCif>
      </ns:GetListCollateralByCifReq>
   </soap:Body>
</soap:Envelope>

Output:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Body>
      <ns0:GetListCollateralByCifRes xmlns:ns0="http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0">
         <ns1:Header xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
            <ns1:Common>
               <ns1:BusinessDomain>N/A</ns1:BusinessDomain>
               <ns1:ServiceVersion>N/A</ns1:ServiceVersion>
               <ns1:MessageId>N/A</ns1:MessageId>
               <ns1:MessageTimestamp>2022-10-13T15:41:45.869+07:00</ns1:MessageTimestamp>
            </ns1:Common>
            <ns1:Client>
               <ns1:SourceAppID>N/A</ns1:SourceAppID>
            </ns1:Client>
         </ns1:Header>
         <ns1:ResponseStatus xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
            <ns1:Status>1</ns1:Status>
            <ns1:GlobalErrorCode>201</ns1:GlobalErrorCode>
            <ns1:GlobalErrorDescription>Invalid input data</ns1:GlobalErrorDescription>
            <ns1:ErrorInfo>
               <ns1:SourceAppID>Caller</ns1:SourceAppID>
               <ns1:ErrorCode>BWENGINE-100031</ns1:ErrorCode>
               <ns1:ErrorDesc>Job-5015 Error in [Services/Global/Vn/Loan/ConsumerLoan/OperationImpl/GetListCollateralByCif.process/Start]
Output data invalid
	at com.tibco.pe.core.ProcessGroup.a(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.eval(Unknown Source)
	at com.tibco.pe.plugin.Activity.eval(Unknown Source)
	at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
	at com.tibco.pe.core.Job.a(Unknown Source)
	at com.tibco.pe.core.Job.k(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
caused by: org.xml.sax.SAXException: validation error: unexpected content "{http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0}Cif"; expected "{http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0}BaseXfer"   ({com.tibco.xml.validation}COMPLEX_E_UNEXPECTED_CONTENT) at /{http://www.bidv.com/service/global/vn/loan/consumerloan/1.0}inGetListCollateralByCif[1]/Req[1]/ns:GetListCollateralByCifReq[1]/ns:BodyReqGetListCollateralByCif[1]/ns:Cif[1]
com.tibco.xml.validation.exception.UnexpectedElementException: unexpected content "{http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0}Cif"; expected "{http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0}BaseXfer"
	at com.tibco.xml.validation.state.a.a.a(CMElementValidationState.java:502)
	at com.tibco.xml.validation.state.a.a.b(CMElementValidationState.java:372)
	at com.tibco.xml.validation.state.a.a.a(CMElementValidationState.java:142)
	at com.tibco.xml.validation.state.driver.ValidationJazz.c(ValidationJazz.java:993)
	at com.tibco.xml.validation.state.driver.ValidationJazz.b(ValidationJazz.java:898)
	at com.tibco.xml.validation.state.driver.ValidationJazz.endAttributes(ValidationJazz.java:783)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:87)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:129)
	at com.tibco.xml.xdata.bind.BindingRunner.validate(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.a(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.eval(Unknown Source)
	at com.tibco.pe.plugin.Activity.eval(Unknown Source)
	at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
	at com.tibco.pe.core.Job.a(Unknown Source)
	at com.tibco.pe.core.Job.k(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
validation error: no declaration for element "{http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0}Cif"   ({com.tibco.xml.validation}COMPLEX_E_MISSING_ELEMENT_DECLARATION) at /{http://www.bidv.com/service/global/vn/loan/consumerloan/1.0}inGetListCollateralByCif[1]/Req[1]/ns:GetListCollateralByCifReq[1]/ns:BodyReqGetListCollateralByCif[1]/ns:Cif[1]
com.tibco.xml.validation.exception.MissingDeclarationException: no declaration for element "{http://www.bidv.com/entity/vn/loan/consumerloan/getlistcolateralbycif/1.0}Cif"
	at com.tibco.xml.validation.state.driver.ValidationJazz.b(ValidationJazz.java:906)
	at com.tibco.xml.validation.state.driver.ValidationJazz.endAttributes(ValidationJazz.java:783)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:87)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:92)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:129)
	at com.tibco.xml.xdata.bind.BindingRunner.validate(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.a(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.eval(Unknown Source)
	at com.tibco.pe.plugin.Activity.eval(Unknown Source)
	at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
	at com.tibco.pe.core.Job.a(Unknown Source)
	at com.tibco.pe.core.Job.k(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)

	at com.tibco.xml.xdata.bind.BindingRemarkHandler.assertNoErrors(Unknown Source)
	at com.tibco.xml.xdata.bind.BindingRunner.validate(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.a(Unknown Source)
	at com.tibco.pe.core.ProcessGroup.eval(Unknown Source)
	at com.tibco.pe.plugin.Activity.eval(Unknown Source)
	at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
	at com.tibco.pe.core.Job.a(Unknown Source)
	at com.tibco.pe.core.Job.k(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
	at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)</ns1:ErrorDesc>
            </ns1:ErrorInfo>
         </ns1:ResponseStatus>
         <ns0:BodyResGetListCollateralByCif>
            <ns0:TotalRecord>0</ns0:TotalRecord>
         </ns0:BodyResGetListCollateralByCif>
      </ns0:GetListCollateralByCifRes>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>