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

1
vote
0answers
11 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
25 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
28 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
25 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
56 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 ...
2
votes
0answers
22 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
24 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
18 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
32 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
37 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
24 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
41 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
17 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
58 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
72 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
32 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
65 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 ...
0
votes
0answers
46 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
43 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
38 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
69 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
47 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
52 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
29 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
22 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
6 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
29 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
49 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
49 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
195 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
61 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 ...
0
votes
0answers
87 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
352 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
72 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
32 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
163 views

Unable to get the json or xml format of views using views services

I have enabled the following modules 1. Services and it dependencies like Rest 2. Views Services I have added an endpoint at /admin/structure/services/list as follows : Then went to view and added ...
0
votes
0answers
243 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
78 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
147 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
377 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 ...
1
vote
2answers
1k views

Drupal Rest services “access denied user anonymous”

I have created a custom service where I am passing parameters and retrieving result from another file. So to test it I tried on Postman and I put URL with sitename/endpoint/resource and passed ...
0
votes
3answers
139 views

Single page Drupal apps with custom theme

I have a static HTML page which contains navigation that links to different sections on the same page. Just like this one http://www.cedricvella.com/#node-3 . What I would like to know is how can ...
0
votes
1answer
28 views

How can I use the web service with one or none arguments?

I have a web service with the Services module that works perfectly, with an URL like myweb.com\api\my_conent\124 I obtain the information of my_content that has the 124 id. Now with the URL ...
2
votes
1answer
122 views

Drupal Services node filtering based on taxonomy terms

I followed this post, I am able to filter nodes based on content type and other parameters http://test/api/node?parameters[nid]=1&parameters[status]=1 but I am not able to filter based on ...
1
vote
1answer
672 views

Webservice endpoint with hook_services_resources()

I've stumbled upon some limitations of the services module. I wanted to create the following endpoints: public/events/ public/events/categories public/events/resources public/blogs/ I wanted to ...
1
vote
1answer
783 views

insert data into database using web service

I am creating a custom web service. In this, as soon as service call, data should be store into database. I am using Hook_service_resource() function. How can i implement insertion into database using ...
1
vote
1answer
94 views

login/register web service

i am creating a web service for login and register. for login- http://example.com/endpointname/user/login for register- http://example.com/endpointname/user/register BUT i want a single url link ...
0
votes
1answer
56 views

D7 Services node view mode

I am using the services module. When I call domain.com/json/node/3 is it possible to ask for a specific view mode of the node ? Something like this ? domain.com/json/node/teaser/3 Thanks!
0
votes
1answer
378 views

How to Post JSON data to Cart service in Drupal Commerce Services

I'm uses Drupal commerce services for mobile commerce. But I don't know how to Post jSON to REST service Cart or Order. With Comment services I"m post JSON successful as below: URL: ...