A "web service" is a software system designed to support interoperable machine-to-machine interaction over the World Wide Web. Use this tag for questions about using web services in Drupal.

learn more… | top users | synonyms

0
votes
0answers
10 views

How do I create a node using web services and Anonymous user?

I have successfully installed the Services module and created a service with which I can retrieve a node or even several nodes (using Views Services) I've now configured an endpoint, whose purpose is ...
0
votes
1answer
42 views

Services GET request of more than one resource

I'm working with services 7.x-3.12, I need to create a web service in order to get a kind of "associative request" between : books(table stored in db) and categories(another table) those two tables ...
0
votes
0answers
13 views

import and update drupal webform submission from remote url

Is it possible to retrieve data from a remote server, pass it to a Drupal site, and if the corresponding webform is present, to update these values in the database, else, create a new webform ...
1
vote
0answers
57 views

Post/Upload file using Drupal Services Module without base64 (Using REST multipart/form-data )

I am sure its possible in Drupal also. Here is the reference for Java code http://stackoverflow.com/questions/5723429/use-rest-client-to-call-multipart-form-data-rest-web-service and ...
0
votes
1answer
53 views

Web Service Client - Changing SOAP-ENV: into soap:

This is reference to issue that I have with Web service client module, here is link to the previous issue: https://www.drupal.org/node/2508926 Overall I'm trying to change the REQUEST from POST ...
0
votes
0answers
27 views

Help sending specific fields' values to external url from Drupal webform

I have the following codes in webform remote post module, but instead of sending the whole webform fields as it is being done in the module, I need to send data from the fields only present in a ...
1
vote
1answer
20 views

How to alter Services Views result

How can I alter services views result. Using services view I can easily produce Json data. I have tried function hook_views_post_execute. This hook is working for simple views but not with services ...
0
votes
1answer
14 views

Drupal services forbbiden error on put but not on post

I'm using Drupal Services Module to upload data to my site. It works good on local host, and I can do PUT and POST without problems. But after upload my site to a shared hosting, I can do POST, but ...
0
votes
0answers
55 views

How to build a user authentication workflow with AngularJS using RESTful module?

I'm building a single page app with AngularJS and Drupal as the backend. I'm using the RESTful module. However, I do not have much to go on to build a user authentication workflow. There are several ...
0
votes
1answer
21 views

How to programatically change file user owner

I'm using drupal services module. I can upload files through web services but the problem is all created files has the same owner, that is, the user of the web services. I would like to change this ...
1
vote
0answers
15 views

Create node via URL parameters to different drupal site

I am looking for a way to create a node via just a URL. I know the prepopulate module and similar can auto populate a form for a user to submit, but I would like to avoid the form altogether. After a ...
1
vote
0answers
32 views

Web speech reading full content

Am using WebSpeech Module to convert the text to speech. But when I click on the read content button it reads from the headings, primary tabs instead of main content alone. In Webspeech configuration ...
0
votes
1answer
102 views

drupal_http_request with basic authorization receives 401 response

I am trying to use drupal_http_request to connect to a remote rest-based webservice that users http basic authorization. The following curl command works every time from a command line, and I'm trying ...
1
vote
1answer
49 views

Create commerce product through web services

I want to create products using commerce services resource module. At this moment, I can create a product calling the resource .../product with POST, but It seems that It only creates a product ...
1
vote
1answer
145 views

Ways to sync outlook calendar with drupal?

I need to display the outlook calendar in the same calendar format in a drupal page. I need to add events to the calendar the in the drupal interface and sync it with outlook. What module ...
3
votes
0answers
41 views

How to get XML/JSON data for api.drupal.org?

In my earlier question How to get node IDs from drupal.org?, I can get the XML data of a node by going to https://www.drupal.org/api-d7/node/274365.xml where 274365 is the node id of a particular ...
1
vote
1answer
33 views

Should I make a SOAP or a REST service to receive files from a .Net WCF Service?

I need to implement a web service client in drupal 7 using the Web Service Client module, which receives files from a .Net WCF Service. Should I make a SOAP Service or REST service using WCF such ...
1
vote
1answer
26 views

How to access a contributed module Information from drupal.org

Is there any API to access Information about a contributed module from drupal.org site? How does Update Manager access information from drupal.org? By finding this I think I too could access other ...
0
votes
1answer
34 views

Response comes after 6 min while creating user using services module of Drupal 7?

I have a client side application developed in angularJS. As i am sending POST request to Drupal to create user, user is getting created without any delay if i check in Backend. But i get response ...
0
votes
1answer
66 views

Can't create/update resources with Services module

I can't create/update nodes, taxonomy, users, etc., with Drupal Services. I can log in, retrieve system connection info and log out. Also, I can retrieve a node, user (all details), taxonomy term, ...
1
vote
0answers
52 views

How to use API versioning with the Services module?

I'm using the Services module to produce a REST API. According to the official documentation, there is a way to version services resources. I believe version here means supplying a single API (e.g. ...
0
votes
1answer
48 views

Post image via webservices

I tried to create a node through external application using web services. This having only two fields node title and cck field image. i will grateful if anyone share the JSON format to post the ...
0
votes
0answers
20 views

Q how to enter API functions in wsclient rest server setting?

I need to add functions from an SDK API reference document to the Drupal7 webservices rest server. I'd like to query them through the wsclient rest server, attached to a feed, to input them as ...
0
votes
0answers
79 views

RESTful web services return 403 forbidden for uc_order_product

I'm using ubercart and RESTful web services module. When I query for node, uc_order, user, etc., it returns data correctly, but when I query for "uc_order_product" I always get 403 Forbidden. ...
1
vote
1answer
78 views

What is wrong in my XML structure to add nodes using a RESTFul web service POST?

I'm using RESTFul Web Services module with Drupal 7. I can log in with basic authentication, get CSRF-token, get nodes, and so on. The problem is with POST/PUT: I cannot get adding nodes to work. I ...
0
votes
1answer
35 views

Issue while adding arguments to the custom services

I am adding one argument to the custom service named "streamtype" as follows function CMODULE_services_resources() { $api = array( 'oidar' => array( 'operations' => array( ...
1
vote
0answers
70 views

Can't edit soap envelope

I'm trying to test SOAP webservices using the webservice client module but I can't edit the datatype parameter which is set by default to arg0. I've changed it to what is shown in the picture below ...
1
vote
0answers
65 views

Drupal Webservice api for fblogin and twitterlogin

I have to create an mobile app where user should login into drupal from their fb or twitter accounts. I have created an api to login into drupal but should I also need to paas the oauth token from ...
0
votes
0answers
56 views

Create comment with services 3.X on Android with json

Im developing one Android app. I'm trying to post a comment from the app to drupal via Services module, but i cant send a json data to the module, there is the java code: HttpClient httpclient = new ...
0
votes
0answers
51 views

View XML Request when using WSClient and Rules

I am building a website that uses 3rd party data from a web service. I decided to use WSClient...so far so good. I am using Rules together with WSClient to create the proper SOAP request, however I ...
1
vote
1answer
84 views

Synchronize data between 2 Drupal sites dynamically

I currently have two Drupal sites and I would like to synchronize in a specific way the data of each one. More precisely, the first one contains detailed informations and the other only has the main ...
0
votes
2answers
62 views

Instructions to install a ready-made site in localhost

I am trying to install a ready-made instructional site on my local Linux webserver. How should I proceed? Thank you J.Reynolds for answer. Please understand that after I posted question I did some ...
0
votes
1answer
65 views

How to retrieve specified fields using services?

Using services we can retrieve list of all nodes with different filters and we can get a specific node as well. But is there any way we can specify the fields we would like to retrieve ? Eg: ...
0
votes
0answers
32 views

Profile data not showing using REST server

When visiting user profile page /user/1 the page shows the custom profile data (bio, and a few other fields), but when accessing the same resource via rest (using web services), the data isn't ...
0
votes
0answers
12 views

Webform and WebService

I'm just trying to generate one Webform for the people enter their data and that will answer true or false. Depending on that answer I need to show some kind of message, but if thats true I need to ...
0
votes
1answer
25 views

Is there any way in drupal to get all primary links through views?

My objective is to get the primary links or any kind of menus items, to be shown as JSON, so that an app could consume it and show it. I tried it using views and I have services module and ...
0
votes
0answers
8 views

Openpublic and Webservice

I am working on a Drupal 7 website using the openpublic distribution. I just wanted to know which is the best way to send data to one webservice? 1) Should I use a "webform" connecting to a ...
0
votes
0answers
38 views

Drupal 7 services module - add inline item attributes

I'm creating a custom API resource called pages which hooks up to a custom content type. function curatorapi_services_resources() { $api = array( 'pages' => array( 'operations' => array( ...
2
votes
1answer
50 views

Web services for specific node

I know you can enable Web services for content in Drupal8. You also need to set permissions to make a GET request to content. But I was wondering if it's possible to set for each node if it can be ...
0
votes
1answer
58 views

Cache SOAP search results from external web service

I've inherited an older Drupal 6 site which calls an external SOAP web service which not only takes a while to query and display results (approx. 5 seconds) but also re-queries the web service when ...
-2
votes
1answer
234 views

Creating Custom Weather Module in Drupal 7 [closed]

I'm a beginner at Drupal 7 trying to create a custom module that gets the weather from weather.yahoo.com for my own personal use. I'm not trying to make anything fancy like the Weather module. I just ...
-1
votes
1answer
66 views

How can I achieve basic authentication in Drupal?

I am trying to get working webservices in drupal (Services, restws,...), but ,as a first step I am trying to get a cookie using 'Basic Authorization' using the following python script: import urllib2 ...
1
vote
0answers
105 views

XML format for creating a new submission in a webform

Can someone please tell me how to create a webform submission on XML form? Or if not can you please correct this code and tell me where I'm going wrong?? I've been struggling for a week This is my ...
0
votes
2answers
505 views

Consuming RESTful web services with Drupal 8

Is there any existing Drupal 8 module (on drupal.org, GitHub or anywhere else) that would leverage Guzzle to consume JSON and/or HAL+JSON Web Services over REST? Alternatively, is the recommended way ...
0
votes
1answer
87 views

third party data source. best way to do

I am trying to display some TV schedule information from a thirdparty json api. I need to know what is the best way to do this. I have tried various module wsclient module,json query plugin, wsclient ...
0
votes
1answer
34 views

Drupal - Microsoft SQL Custom database

I would like to get some opinions on the following challenge: A client of mine has a desktop application that has been built in .net and is backed by a Microsoft SQL server to store all the records. ...
0
votes
0answers
274 views

Adding node with multi value field using Services

While adding node using REST API, submitting multi-value field is adding only one value to that field. { "title":"test", "type":"article", "body":{"und":[{"value":"this is main body"}]}, ...
0
votes
1answer
85 views

How can get five star rating data in drupal 6 services views?

i am using drupal 6.x, added five star(fivestar module) rating functionality to a node in my site. Everything working fine but i want to users rated data in drupal json services for mobile ...
1
vote
3answers
173 views

How to reply to a comment through services in drupal 7

I am using drupal 7 as back-end for a mobile application. I am using comments in my application. Can anyone help me to reply to comment through web-service. Thanks in advance
0
votes
1answer
439 views

Drupal 7 Services — hook_services_request_postprocess_alter() does not identify the requested resource

According to the Services API in Drupal 7, we can use hook_services_request_postprocess_alter() to alter drupal's REST response before returning it to the user. This is useful if you want to alter the ...