Global/Vn/GL/GLCreateBatch - approve

 avatar
nguyen
xml
2 years ago
3.7 kB
2
Indexable
Test Data:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:sch="http://www.tibco.com/schemas/BIDV_SOA_TT/SharedResource/Schema/Global/Vn/GL/GLTran/Schema.xsd" xmlns:ns="http://www.bidv.com/common/envelope/commonheader/1.0">
<soap:Header/>
<soap:Body>
<sch:ReqCreate>
<ns:Header>
<ns:Common>
<ns:BusinessDomain>BIDV.COM.VN</ns:BusinessDomain>
<ns:ServiceVersion>1.0</ns:ServiceVersion>
<ns:MessageId>${=java.util.UUID.randomUUID()}</ns:MessageId>
<!--Optional:-->
<ns:TransactionId>1</ns:TransactionId>
<!--Optional:-->
<ns:RequestRefDate>>2022-09-12T11:18:38.91+07:00</ns:RequestRefDate>
<ns:MessageTimestamp>${=new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(new Date())}</ns:MessageTimestamp>
<!--Optional:-->
<ns:AdditionalInformation>
<!--Zero or more repetitions:-->
<ns:NameValuePairs>
<ns:Name></ns:Name>
<ns:Value></ns:Value>
</ns:NameValuePairs>
<!--Optional:-->
<ns:Other></ns:Other>
</ns:AdditionalInformation>
</ns:Common>
<ns:Client>
<ns:SourceAppID>DKTT</ns:SourceAppID>
<!--Optional:-->
<ns:TargetAppIDs>
<!--Zero or more repetitions:-->
<ns:TargetAppID></ns:TargetAppID>
</ns:TargetAppIDs>
<!--Optional:-->
<ns:UserDetail>
<!--Optional:-->
<ns:UserId></ns:UserId>
<!--Optional:-->
<ns:UserRole></ns:UserRole>
<!--Optional:-->
<ns:UserPassword></ns:UserPassword>
</ns:UserDetail>
</ns:Client>
</ns:Header>
<sch:BodyReqCreate>
<sch:GLBranch>990000</sch:GLBranch>
<sch:Curr>VND</sch:Curr>
<sch:TellerID>12009002</sch:TellerID>
<!--Optional:-->
<sch:BatchNum>GP-7cDFBEJul</sch:BatchNum>
<!--Optional:-->
<sch:GLAcctno></sch:GLAcctno>
<!--Optional:-->
<sch:DORC></sch:DORC>
<!--Optional:-->
<sch:Amount></sch:Amount>
<!--Optional:-->
<sch:TnxRef></sch:TnxRef>
<!--Optional:-->
<sch:Remark></sch:Remark>
<!--Optional:-->
<sch:CostCenter></sch:CostCenter>
<!--Optional:-->
<sch:ProductCode></sch:ProductCode>
<!--Optional:-->
<sch:TnxBrn></sch:TnxBrn>
</sch:BodyReqCreate>
</sch:ReqCreate>
</soap:Body>
</soap:Envelope>
Actual Result:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ns0:ResCreate xmlns:ns0="http://www.tibco.com/schemas/BIDV_SOA_TT/SharedResource/Schema/Global/Vn/GL/GLTran/Schema.xsd">
<ns1:Header xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
<ns1:Common>
<ns1:BusinessDomain>BIDV.COM.VN</ns1:BusinessDomain>
<ns1:ServiceVersion>1.0</ns1:ServiceVersion>
<ns1:MessageId>bf5ef592-502e-40a7-8f9e-8e0bc216b580</ns1:MessageId>
<ns1:TransactionId>1</ns1:TransactionId>
<ns1:RequestRefDate>>2022-09-12T11:18:38.91+07:00</ns1:RequestRefDate>
<ns1:MessageTimestamp>2022-09-12T11:19:42</ns1:MessageTimestamp>
<ns1:AdditionalInformation>
<ns1:NameValuePairs>
<ns1:Name/>
<ns1:Value/>
</ns1:NameValuePairs>
<ns1:Other/>
</ns1:AdditionalInformation>
</ns1:Common>
<ns1:Client>
<ns1:SourceAppID>DKTT</ns1:SourceAppID>
<ns1:TargetAppIDs>
<ns1:TargetAppID/>
</ns1:TargetAppIDs>
<ns1:UserDetail>
<ns1:UserId/>
<ns1:UserRole/>
<ns1:UserPassword/>
</ns1:UserDetail>
</ns1:Client>
</ns1:Header>
<ns1:ResponseStatus xmlns:ns1="http://www.bidv.com/common/envelope/commonheader/1.0">
<ns1:Status>1</ns1:Status>
<ns1:GlobalErrorCode>400</ns1:GlobalErrorCode>
<ns1:GlobalErrorDescription>Error in Backend</ns1:GlobalErrorDescription>
<ns1:ErrorInfo>
<ns1:SourceAppID>IFX</ns1:SourceAppID>
<ns1:ErrorCode>100</ns1:ErrorCode>
<ns1:ErrorDesc>TP en_US 100 General Error</ns1:ErrorDesc>
</ns1:ErrorInfo>
<ns1:ErrorInfo>
<ns1:SourceAppID>Core</ns1:SourceAppID>
<ns1:ErrorCode>7490</ns1:ErrorCode>
<ns1:ErrorDesc>7|Invalid status code. 7 is not allowed.</ns1:ErrorDesc>
</ns1:ErrorInfo>
</ns1:ResponseStatus>
<ns0:BodyResCreate>
<ns0:BatchNum/>
</ns0:BodyResCreate>
</ns0:ResCreate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Editor is loading...