Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When importing an xml file from a webservice i get the following error:
"Error validating the Data source: Data at the root level is invalid. Line 1, position 1."
De xml is well formed. What could be the problem?
Harm-Jan
What kind of webservice are you consuming? I think you get the full xml from the webservice including the soap message. Could that be the case?
Well, the response contains only the data xml. When copying everything, pasting it in a local xml file and pointing to that from CMSImport it all goes well.
Do you have an Url of the webservice then I can take a look.
I just send it to you at info@soetemansoftware.nl
To wrap this up:
The webservice i was using needed a content-type header set for xml. A custom CMSImport add-on package provided by Richard did the trick.
All running smoothly now. Thanks!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Error importing XML from webservice
When importing an xml file from a webservice i get the following error:
"Error validating the Data source: Data at the root level is invalid. Line 1, position 1."
De xml is well formed. What could be the problem?
Harm-Jan
What kind of webservice are you consuming? I think you get the full xml from the webservice including the soap message. Could that be the case?
Well, the response contains only the data xml. When copying everything, pasting it in a local xml file and pointing to that from CMSImport it all goes well.
Do you have an Url of the webservice then I can take a look.
I just send it to you at info@soetemansoftware.nl
To wrap this up:
The webservice i was using needed a content-type header set for xml. A custom CMSImport add-on package provided by Richard did the trick.
All running smoothly now. Thanks!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.