Webhooks and XML... | Community
Skip to main content
February 26, 2013
Question

Webhooks and XML...

  • February 26, 2013
  • 2 replies
  • 779 views
Am trying to map the response to a Marketo field but not having any luck.
If my webservice returns:
<?xml version="1.0" encoding="UTF-8"?>
<string ><Results>
<Table> <ProductCode>45321</ProductCode>  <StoreCode>5044</StoreCode> </Table>
<Table> <ProductCode>45321</ProductCode>  <StoreCode>5045</StoreCode> </Table>
</Results>
</string>
Is there a way to map elements from the first element of my table?  How would i reference it in the UI?
Thanks
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

February 26, 2013
I bet it may not like the "string" and "table" tags. Can you mock up a dummy service without those (or modify yours) and see if that works for you?
March 16, 2013
Are there any examples of mapping XML responses to the "Response Mappings" of a Webhook? I can't seem to find any, and structuring these response mappings from an XML response to put data into fields doesn't seem to be explained anywhere, leaving only trial and error. Hopefully, a client would never require a service to change to support it. Is there a place to find sample mappings?