Closed (outdated)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2010 at 13:41 UTC
Updated:
26 Nov 2025 at 15:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alex_b commentedNo plans from the side of the maintainers ATM.
Comment #2
ccoppen commentedOkay, thanks. We're just looking at different options. It looks like we'll be looking at RSS. We're pulling some information from a SQL Server database on a .NET setup. I suppose one could write a parser for this.
Comment #3
alex_b commentedYes, that's straightforward to do. I recommend working off the example of some of the existing parsers in Feeds' plugins/ directory.
Comment #4
roderikNot an option for me :)
I needed to fetch a document from a remote server that I've got no control over.
So... here's a functional SOAP fetcher. (I fiddled with Feeds XPath Parser for the parsing part.)
It depends on the Soap client module.
For completeness sake: put this somewhere in your own module:
So... where would people want to put this?
The feeds distribution?
soapclient?
It just seems too small to me, to warrant its own module. (It's purely "copy-paste, modify, test" code.) Not that I'd be against it, per se... :)
Comment #5
alex_b commentedI'd rather see this in a separate module, I don't want to maintain it.
Comment #6
verta commentedsubscribing - looks useful!
Comment #7
made4w3 commentedsubscribing
Comment #8
korayal commentedI couldn't manage to set up a parser on feeds. Is there any example for this?
Comment #9
cyberwolf commentedsubscribing.
Comment #10
cyberwolf commentedI hacked roderik's code a to remove the dependency on the soapclient module, as I don't think the abstraction layer it provides is still necessary now in the days of PHP 5, and PHP 4 and NuSOAP are dead AFAIK :) In my version it uses PHP 5's soap client straight to the point.
I am still thinking about how to handle best the final outcome of the SOAP call, as what you got left eventually are PHP strings / objects / arrays / ..., depending on what the SOAP server has sent you back. I currently just return the full http SOAP response body (and not just the result contained in it) so that's in any case parseable with the xpath parser, but I am also thinking about adding an option to switch output formats. Two additional ones off the top of my head:
Does there exist some kind of Feeds parser already that provides a xpath/querypath/jsonpath-like syntax to navigate over PHP arrays/objects/...? In PHP userland I was only able to find CakePHP's Set::extract() (http://book.cakephp.org/view/1501/extract) so far by using my favorite search engine. Looks cool at first sight. I might give it a try.
@roderik, fine for you if I initialize a new project here on DO for the SOAP fetcher? I will of course mention you as the author of the initial code. Unless you feel like taking the lead of this yourself... :)
Comment #11
roderik@Cyberwolf: fine with me - I am not finding the time.
Better, even - because I just whipped this up from my Feeds module knowledge and some copypaste from soapclient... but I am not using either of them extensively. It'd be hard for me to give support on the SOAP part of things.
Comment #12
kika commentedAny update on separate module for SOAP fetcher?
Comment #13
zilverdistel commentedsubscribing
Comment #14
cyberwolf commentedI just returned from holidays, will initialize a new project asap.
Comment #15
greggmarshallSubscribe
@Cyberwolf, any idea when you'll have a project (or sandbox) set up?
Comment #16
cyberwolf commentedHi,
I initialized a Sandbox project here: http://drupal.org/sandbox/Cyberwolf/1288548
Comment #17
greggmarshallGreat, thank you!!!
Comment #18
ericmulder1980 commentedThis looks great, exactly what i need for a project i'm working on. I will be following the sandbox project closely.
Comment #19
sachbearbeiter commentedi need it too - thanks
Comment #20
damatmadeforcom commentedsubscribing
Comment #21
adamgerthel commentedDoes anyone know of any updates regarding this?
Comment #22
cyberwolf commentedLooks like magico forked my sandbox already into a full project: http://drupal.org/project/feeds_soap
Comment #23
petria commentedHere's my new sandbox project "Feeds FetchXML" witch is using library from http://code.google.com/p/php-dynamics-crm-2011 for integration with CRM 2011 and claim based authentication. Feel free to test it.
http://drupal.org/sandbox/petria/1916146
It's already in production on our site.
Comment #24
bluegeek9 commentedUnfortunately, Drupal 7 is End of Life and no longer supported. We strongly encourage you to upgrade to a supported version of Drupal.