I want to use the control web Request to get a xml result.
With the control in Forms i get the result in XML,
but i want to use the control in Workflow, too.
But there i get the result from the same site with the same x-api-token not in XML.
Seems to be JSON. Any idea what i can do?
Want to use in next step the XML-Request, but it doesn't work without XML 😉
can you post screenshot of your configuration?
have you configured respective header property so that web service return result as a XML?
btw, if you want to get a XML from a list field you do not need any webservice call. you can read out the XML content from list field (Item property)
here are my screenshots.
The request is not for SharePoint. I read the data from a website outside our organisation.
it works in forms but not in workflow.
The header properties in Forms doesn't need a setting for XML.
In the header properties for Workflow, i tried al setting i know
- Accept and application/xml
-Content-Type and text/xml
nothing works in workflow webrequest
This is from WebRequest in Forms:
And this from WebRequest in Nintex Workflow:
does the service support to answer in XML at all?
I wonder whether web request control do not convert JSON in XML on its own to allow designers to address datasets with XPath.
unfortunately, I'm not able to proof check it on my own. could you maybe watch network traffic in developer console and find out what's exactly being returned for web request control?