Xml Reader issues trying to read from eBay api (7 replies)
Xml reader config attached
Web service Behaviour attached
Response body screenshot.
I have tried to follow documentation regarding entry paths which I have tried a number of permutations with all giving the same error which makes me think the response I am getting is not correct.
Further update, after enabling trace I can now see Iman is receiving the correct response so the issue lies with the xml reader, I have had this issue before on a json reader which required a patch I believe.
Browndog, I suspect the issue relates to the namespaces in the Xml response aren't configured in the reader.
Below is a forum post which may guide you to the issue.
https://www.realisable.co.uk/how-do-i/xml-data-reading-namespaced-file/
Please note that we do offer an eBay connector for such a task.
https://www.realisable.co.uk/connect/ebay/
Hi,
Thanks for example, I have followed this and whilst the error is no longer displayed I do not get any results in the preview. We did look at the extension you do but some of the requirements we have are more than the scope of the connector at this point.
I am using xml entry point /ns:GetOrdersResponse with attached transaction paths
Namespace is xmlns:ns="urn:ebay:apis:eBLBaseComponents"
Is there something I am missing?
Put the namespace in front of each path declaration.
Hi,
I have a simple get request as attached from the eBay api which I am trying to replicate in Iman. I have setup the Oauth (tested success) and web service behaviour, created a new integration with an xml reader and attempted to read from the web service, however I get the below error however I configure the entry paths. I am not sure at this point where it is going wrong, how do I tell if the response is properly returning to Iman beofre I try and read from it?
An error occurred whilst reading the source data. Error - The entry path for the iterator is invalid. Check the documents being parsed match to the expected layout.
Successful Response below
<GetOrdersResponse
xmlns="urn:ebay:apis:eBLBaseComponents">
2020-10-08T13:40:56.657Z
Success
1173
E1173_INTL_APIXO_19277479_R1
2
131
true
12345656
Completed
0.0
30.86
1.26