With Drupal 7 Services, a REST server receiving a POST create request, the callback is receiving an array with the xml tag types but not the attribute data. I have the source xml, the parsed xml and the hook_services_endpoint in the paste http://pastebin.com/v1Up35rw
You might try www.dgo.to/wsclient, www.dgo.to/views_datasource or www.dgo.to/restws as alternatives to services module.
Lucas MTech, LLC http://www.mtech-llc.com
On Wed, Dec 11, 2013 at 11:32 AM, Jeff Greenberg < listmail.ayendesigns@gmail.com> wrote:
With Drupal 7 Services, a REST server receiving a POST create request, the callback is receiving an array with the xml tag types but not the attribute data. I have the source xml, the parsed xml and the hook_services_endpoint in the paste http://pastebin.com/v1Up35rw
--
*Jeff Greenberg** Drupal Developer* Phone: (+1) 404.271.9734 jeff@ayendesigns.com | www.ayendesigns.com
Read my latest blog post: "To-Go Menu"http://s.wisestamp.com/links?url=http%3A%2F%2Ftheaccidentalcoder.com%2Fcontent%2Fto-go-menu&sn=amVmZkBheWVuZGVzaWducy5jb20%3D
[image: Google Plus Page]http://s.wisestamp.com/links?url=https%3A%2F%2Fplus.google.com%2Fu%2F0%2F111542814790302812423%2Fposts&sn=amVmZkBheWVuZGVzaWducy5jb20%3D [image: Twitter]http://s.wisestamp.com/links?url=https%3A%2F%2Ftwitter.com%2FAccidentalCoder&sn=amVmZkBheWVuZGVzaWducy5jb20%3D [image: LinkedIn]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fjeffrgreenberg&sn=amVmZkBheWVuZGVzaWducy5jb20%3D Contact me: [image: AIM] ayendesigns [image: Skype] ayendesigns [image: MSN] ayendesigns [image: Follow teststamp on Twitter] http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.twitter.com%2Faccidentalcoder&sn=amVmZkBheWVuZGVzaWducy5jb20%3D Get a signature like this: http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D40%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_40&sn=amVmZkBheWVuZGVzaWducy5jb20%3D Click here!http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D40%26amp%3Bdest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_40&sn=amVmZkBheWVuZGVzaWducy5jb20%3D
-- [ Drupal support list | http://lists.drupal.org/ ]
A possibility, but the 'accepted' module list is out of my control. I did find an example of using: function hook_rest_server_request_parsers_alter(&$parsers) { $parsers['application/xml'] = 'Xml2Array::contentFromStream'; } with a few functions that use simplexml. But even though the hook fires, the methods never do, so I trying to unbreak things on two different fronts now, hoping one will get me to the finish line :)
On Wed, Dec 11, 2013 at 12:36 PM, Lucas Hedding lucashedding@gmail.comwrote:
You might try www.dgo.to/wsclient, www.dgo.to/views_datasource or www.dgo.to/restws as alternatives to services module.
Lucas MTech, LLC http://www.mtech-llc.com
On Wed, Dec 11, 2013 at 11:32 AM, Jeff Greenberg < listmail.ayendesigns@gmail.com> wrote:
With Drupal 7 Services, a REST server receiving a POST create request, the callback is receiving an array with the xml tag types but not the attribute data. I have the source xml, the parsed xml and the hook_services_endpoint in the paste http://pastebin.com/v1Up35rw
--
*Jeff Greenberg** Drupal Developer* Phone: (+1) 404.271.9734 jeff@ayendesigns.com | www.ayendesigns.com
Read my latest blog post: "To-Go Menu"http://s.wisestamp.com/links?url=http%3A%2F%2Ftheaccidentalcoder.com%2Fcontent%2Fto-go-menu&sn=amVmZkBheWVuZGVzaWducy5jb20%3D
[image: Google Plus Page]http://s.wisestamp.com/links?url=https%3A%2F%2Fplus.google.com%2Fu%2F0%2F111542814790302812423%2Fposts&sn=amVmZkBheWVuZGVzaWducy5jb20%3D [image: Twitter]http://s.wisestamp.com/links?url=https%3A%2F%2Ftwitter.com%2FAccidentalCoder&sn=amVmZkBheWVuZGVzaWducy5jb20%3D [image: LinkedIn]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fjeffrgreenberg&sn=amVmZkBheWVuZGVzaWducy5jb20%3D Contact me: [image: AIM] ayendesigns [image: Skype] ayendesigns [image: MSN] ayendesigns [image: Follow teststamp on Twitter] http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.twitter.com%2Faccidentalcoder&sn=amVmZkBheWVuZGVzaWducy5jb20%3D Get a signature like this: http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D40%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_40&sn=amVmZkBheWVuZGVzaWducy5jb20%3D Click here!http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fpromo%3D40%26amp%3Bdest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_40&sn=amVmZkBheWVuZGVzaWducy5jb20%3D
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]