cancel
Showing results for 
Search instead for 
Did you mean: 

Error parsing xml request

Former Member
0 Kudos

In my scnr i am calling webservice,I have an error response back

******

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

- <env:Body>

- <Res xmlns="urn:verisign:specification:e-pedigree:service:xml:schema:1">

<callSuccess>false</callSuccess>

<reason code="XML_1005" description="Error parsing XML request, Message=Premature end of file." />

</Res>

</env:Body>

</env:Envelope>

*************

I have double checked my xml tags everything seems to good,can any one please tell me in which case i will get this error.

Thanks

sriram

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks Vara

I have double checked my xml it seems to be good & pay load if i copy from message monitroing also the error is same....Any help would be greatly appreciated...

Thanks

sriram

Former Member
0 Kudos

hI,

i am looking in this direction : Message=Premature end of file w.r.t. ur xml can you post the xsd its expecting and ur xml as well.

Vara

<b>[Please reward for posting]</b>

Former Member
0 Kudos

Thanks Moorhty

In xml spy i am getting Error parsing xml request & message encoding error & the error which i have send is from moni..

Thanks

sriram

Former Member
0 Kudos

Hey the error looks like some thing wrong with ur input xml , did u check some junk characters like some "-" soem thing else, i got similar error earlier with these,

Hope this helps and also check the format , best it would be to copy the xml message from mapping editor of IR.

Let us know..

Vara

[PLEASE REWARD FOR POSTING]

moorthy
Active Contributor
0 Kudos

Hi Sriram,

There is a problem with your xml structure here. This error is because of that.

SO try with XML Editors like XMLSpy and check is this response is valid xml structure ?

Also check is the Response mapping also. with the input data from SXMB_MONI.

Regards,

Moorthy