<ResultDescription>XML Parsing Fatal Error at Line 1, Column 1: Content is not allowed in prolog. Content is not allowed in prolog.</ResultDescription>

Countries

Read only
Australia
Belgium
Brazil
Canada
Egypt
France
Germany
India
Italy
Japan
Mexico
Netherlands
Poland
Saudi Arabia
Singapore
Spain
Sweden
Turkey
United Arab Emirates
United Kingdom
United States
United Kingdom
imgSign in
user profile
Seller_BAiypFqaGsKFS

<ResultDescription>XML Parsing Fatal Error at Line 1, Column 1: Content is not allowed in prolog. Content is not allowed in prolog.</ResultDescription>

Hi, 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>
13 views
1 reply
00
Reply
user profile
Seller_BAiypFqaGsKFS
Most helpful replyThis reply was marked most helpful by the original poster.

我想我知道原因是什么了,因为我上传的是excel文件:rofl:
I think i know the reason ,because i upload excel:rofl:

00
1 reply
user profile
Seller_BAiypFqaGsKFS
Most helpful replyThis reply was marked most helpful by the original poster.

我想我知道原因是什么了,因为我上传的是excel文件:rofl:
I think i know the reason ,because i upload excel:rofl:

00
Follow this discussion to be notified of new activity

Similar Discussions

user profile
Seller_hWmJ2cmHsd4B4
user profile
Seller_GK5kQEXpZI6fr
user profile
Seller_koZhwtWfCpyU9