Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Custom Module for Consuming Web Services in Drupal?

Posted on 2014-09-06
1
Medium Priority
?
325 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 111

Accepted Solution

by:
Ray Paseur earned 1500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
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 viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

730 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