Countries
Read onlyHi, i’m chinese developer.I have some proplems.
I got “FeedSubmissionId” after use SubmitFeedSample.main(),i got some problems when i want to get feed submission result by use GetFeedSubmissionResultSample.main().
I don’t know what caused ResultDescription.
My english isn’t good.
Thank you.
//下面是中文版本
各位大佬好,我在接入MWS的java客户端时遇到了问题。
我在通过 SubmitFeedSample.main()方法上传数据,并拿到FeedSubmissionId之后,又通过GetFeedSubmissionResultSample.main()获取上传数据处理报告,但是这个报告有问题。
如这个xml文件所示,我上传数据并没有成功,在ResultDescription里告诉了我错误描述,但是我不知道是什么原因导致的这个问题。请求这个接口时并没有传入xml,这回是输出流写成xml文件出的问题吗?还是我上传的文件有问题?
谢谢各位大佬解答。
this is complete GetFeedSubmissionResultResponse xml(这是完整dexml文件):
<Header>
<DocumentVersion>1.02</DocumentVersion>
<MerchantIdentifier>xxxxxxxxxxxx</MerchantIdentifier>
</Header>
<MessageType>ProcessingReport</MessageType>
<Message>
<MessageID>1</MessageID>
<ProcessingReport>
<DocumentTransactionID>xxxxxxxxxxxxx</DocumentTransactionID>
<StatusCode>Complete</StatusCode>
<ProcessingSummary>
<MessagesProcessed>0</MessagesProcessed>
<MessagesSuccessful>0</MessagesSuccessful>
<MessagesWithError>1</MessagesWithError>
<MessagesWithWarning>0</MessagesWithWarning>
</ProcessingSummary>
<Result>
<MessageID>0</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>5001</ResultMessageCode>
<ResultDescription>XML Parsing Fatal Error at Line 1, Column 1: Content is not allowed in prolog. Content is not allowed in prolog.</ResultDescription>
</Result>
</ProcessingReport>
</Message>
我想我知道原因是什么了,因为我上传的是excel文件:rofl:
I think i know the reason ,because i upload excel:rofl:
我想我知道原因是什么了,因为我上传的是excel文件:rofl:
I think i know the reason ,because i upload excel:rofl: