Solved

Custom Module for Consuming Web Services in Drupal?

Posted on 2014-09-06
1
310 Views
Last Modified: 2016-02-26
I'm going back and forth between using a contrib module (like wsclient) versus trying to custom code PHP to consume a third party web service.

I'm experimenting with the PHP SOAP library, and nuSoap. I don't have a lot of deep PHP coding experience so it's been a challenge.

So I would like some opinion about where to focus my time, one approach versus the other. Or does it involve a hybrid appraoch?
0
Comment
Question by:sandshakimi
1 Comment
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 40307701
I guess it depends on how the web service exposes its data.  If the web service uses a RESTful interface, it is amazingly easy to write your own PHP.  Basically it can be done with file_get_contents() to read from a URL.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question