Global/Vn/Account/AcctList/ListAcc/1.2

Lỗi SOA
 avatar
unknown
xml
2 years ago
5.8 kB
4
Indexable
Request:
"<?xml version = ""1.0"" encoding = ""UTF-8""?>
<inputMessage>
	<ns0:ListAccReq xmlns:ns0 = ""http://www.bidv.com.vn/entity/global/vn/account/acctlist/listacc/1.0"">
		<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>DKTT211022165723416</ns1:MessageId>
				<ns1:TransactionId>DKTT211022165723416</ns1:TransactionId>
				<ns1:RequestRefDate>2021-10-22T16:57:23.416+07:00</ns1:RequestRefDate>
				<ns1:MessageTimestamp>2021-10-22T16:57:23.416+07:00</ns1:MessageTimestamp>
			</ns1:Common>
			<ns1:Client>
				<ns1:SourceAppID>DKTT</ns1:SourceAppID>
			</ns1:Client>
		</ns1:Header>
		<ns0:BodyReqInquiry>
			<ns0:CustomerNo>55</ns0:CustomerNo>
			<ns0:AccInfoType>
				<ns1:AcctNo xmlns:ns1 = ""http://www.bidv.com/global/common/account/1.0""/>
				<ns1:AcctType xmlns:ns1 = ""http://www.bidv.com/global/common/account/1.0"">DDA</ns1:AcctType>
				<ns1:CurCode xmlns:ns1 = ""http://www.bidv.com/global/common/account/1.0"">VND</ns1:CurCode>
			</ns0:AccInfoType>
			<ns0:TransactionMode/>
			<ns0:NoOfRecords/>
			<ns0:MoreRecordIndicator/>
			<ns0:SearchMethod/>
			<ns0:TransactionCode/>
			<ns0:AccRel/>
		</ns0:BodyReqInquiry>
	</ns0:ListAccReq>
</inputMessage>"


------------------------------------------------------------------------------------------------

Response:
"<?xml version = ""1.0"" encoding = ""UTF-8""?>
<outputMessage>
	<ns0:ListAccRes xmlns:SOAP-ENV = ""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:ns0 = ""http://www.bidv.com.vn/entity/global/vn/account/acctlist/listacc/1.0"">
		<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>DKTT211022165723416</ns1:MessageId>
				<ns1:TransactionId>DKTT211022165723416</ns1:TransactionId>
				<ns1:RequestRefDate>2021-10-22T16:57:23.416+07:00</ns1:RequestRefDate>
				<ns1:MessageTimestamp>2022-08-30T15:25:31.6+07:00</ns1:MessageTimestamp>
			</ns1:Common>
			<ns1:Client>
				<ns1:SourceAppID>DKTT</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>001</ns1:GlobalErrorCode>
			<ns1:GlobalErrorDescription>Error in SOA system</ns1:GlobalErrorDescription>
			<ns1:ErrorInfo>
				<ns1:SourceAppID>SOA</ns1:SourceAppID>
				<ns1:ErrorCode>BWENGINE-100031</ns1:ErrorCode>
				<ns1:ErrorDesc>Job-74 Error in [Services/Global/Vn/Backends/Xpress/XesServices/PartyAcctRelInq_v2_4/doPartyAcctRelInq/CallXpress.process/SOAPRequestReply]
Output data invalid
	at com.tibco.pe.core.TaskImpl.a(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: data ""xs:string('A119_VNOFHUB')"" length must be at most 10 CHARACTERs   ({com.tibco.xml.validation}SIMPLE_E_LENGTH_TOO_LONG) at /outputMessage[1]/ns1:PartyAcctRelInqRs[1]/ns17:PartyAcctRelRec[15]/ns17:AMCode[1]
com.tibco.xml.validation.exception.ValueParseException: data ""xs:string('A119_VNOFHUB')"" length must be at most 10 CHARACTERs
	at com.tibco.xml.validation.state.glue.LegacySimpleValidator.typedValue(LegacySimpleValidator.java:77)
	at com.tibco.xml.validation.state.driver.ValidationJazz.text(ValidationJazz.java:1189)
	at com.tibco.xml.validation.state.glue.XmlTreeNodeValidationDriver.xmlTreeNode(XmlTreeNodeValidationDriver.java:104)
	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.xml.xdata.bind.OutputBindingRunner.validate(Unknown Source)
	at com.tibco.pe.core.TaskImpl.a(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.xml.xdata.bind.OutputBindingRunner.validate(Unknown Source)
	at com.tibco.pe.core.TaskImpl.a(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:BodyResInquiry>
			<ns0:RepeatedFields>
				<ns0:AccInfoType>
					<ns1:AcctNo xmlns:ns1 = ""http://www.bidv.com/global/common/account/1.0""/>
				</ns0:AccInfoType>
			</ns0:RepeatedFields>
			<ns0:MoreRecordIndicator/>
			<ns0:DataFormatID/>
		</ns0:BodyResInquiry>
	</ns0:ListAccRes>
</outputMessage>"