Solved

Custom Module for Consuming Web Services in Drupal?

Posted on 2014-09-06
1
315 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 110

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Echo values after a query in php 5 52
php hashing methods 3 50
Update Set Column Query Not Working as Expected 6 46
Best hashing method? 1 22
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

751 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