The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
20 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
21 views

how to use following GeoIP2 API in drupal [closed]

I want to use the following GEOIP API in my drupal webform for filter states depends upon countries and also filter cities depends upon when select states in drop down list on webform. Link is: ...
0
votes
0answers
15 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
6 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
17 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
3 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
13 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
41 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
21 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
66 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
35 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
61 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
129 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
44 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
28 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
59 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
132 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
52 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
97 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
253 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 ...
0
votes
2answers
704 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
71 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
0answers
47 views

Access to node files with SMB share or similar

I'm thinking to use drupal as an ECM, but I miss an essential function (from my point of view): to be able to access to the files via samba share, webdav or similar. My idea is the following: Imagine ...
0
votes
0answers
29 views

Drupal web services on api subdomain

I want to make some data available through a web-service. So I'm looking into Services module I didn't find anything about using it on sub domain to make it more professional look (api.mysite.com) ...
0
votes
1answer
26 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
85 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 ...
0
votes
1answer
333 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
2answers
614 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
72 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
37 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
242 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: ...
0
votes
2answers
117 views

Which parameter do I need to pass for user registration of Drupal service

I have first name, lastname, email, password, confirmed password and gender for user registration like facebook registration when I call the url using poster ...
0
votes
1answer
182 views

How to attach/upload a file to node using restws?

I've got a content type with "File" field and "File" widget. I am successfully able to create a node without a file using restws. But, if I want to attach a file to it, it just doesn't allow me to do ...
0
votes
0answers
36 views

Getting data from webservice just for presentation

I have a use case where I have to consume the data from the some web service. I don't have to store that data on Drupal database, but I might cache(optional) and present the data on the browser. ...
1
vote
1answer
105 views

Is it necessary to learn php in order to use drupal to manage my site? [closed]

I am planning on using Drupal to manage a website. Should I learn PHP because I understand Drupal is built on PHP language? I don't know PHP and I am not planning to learn it, but I have decided to ...
0
votes
1answer
87 views

Calling web service on page load

Until now I'm calling a web service with using specific function like hook_user_logout, _validate, _submit..., but now I need to create a page that will display details that I'll receive results from ...
0
votes
1answer
2k views

REST Services module - Access denied for user anonymous

I'm Using Drupal 7, I installed Services module with all the requirements, according to this question and this video. I'm trying to get all users with Postman where I give my credential, but I'm ...
2
votes
1answer
78 views

Create a user profile on user creation in drupal 6

I have a problem and can't seem to find the answer. I'm creating a user via a rest service and it's not creating a user profile along with it. I'm not sure how to even create the profile. our user ...
0
votes
2answers
147 views

Create a user Programmatically in Drupal 6.22

i was trying to create a new user Programmatically in drupal 6.22 but i can't seem to get it working. I need to make a web service that can do a few things, one being create a new user. This ...
0
votes
0answers
29 views

How to save data in the database using web service in drupal 7 [duplicate]

I am new for drupal, I want to save data through web service. In my form there are four fields name, email, description and file. I don't know how to save this data through web service in database. I ...
6
votes
3answers
532 views

What is the most reliable and fault tolerant way to integrate 3rd-party data structures via a web service in Drupal 7?

I've seen a number of strategies for integrating remote data structures in Drupal. The strategies have seemed to evolve as certain modules have stabilized and use cases have been tried. Imagine we ...
1
vote
0answers
56 views

Sign in through a Drupal site to a cloud app [closed]

I am new to Drupal. I want to develop a Drupal module which will integrate my Drupal website to login in the cloud application. To be specific: I will try to elaborate it here. I have an app hosted ...
1
vote
1answer
105 views

How can I securely expose data through Drupal (via REST or something else)

I'm looking to use Drupal to pull in data through forms etc, probably in the form of content types, and then expose these, probably via REST, to other things. I've had a look at the services module, ...
0
votes
1answer
607 views

How to create Soap web service in drupal7 using services module and soap_server module?

I have created one RESET web service in drupal7 and it is working fine. But when i change my server option to soap its give the internal error when i call my web service. I would like to know how to ...
1
vote
1answer
992 views

Calling a SOAP function to send Drupal user data to soap server

I'm trying to send user data to a remote SOAP server with Rules. I have installed the wsclient_soap module and put in the URL for the WSDL file. It seems to work as I get a few of the data types ...
3
votes
1answer
2k views

What is the use of has_js cookie?

I am building an Android app that talks to Services module using REST endpoint. When I post any content without setting the "has_js=1" cookie to the REST endpoint in JSON format, my content is never ...
9
votes
3answers
6k views

How do I POST a new node using the Services module?

I have referred many links including the following: Services module. How to construct the JSON data with session info for creating node? GitHub - Creating a node using Services 6.3 REST I tried ...
0
votes
1answer
143 views

Web service option for Drupal 6?

The Services and RESTful Web Services modules do not support Drupal 6. I am looking for simple json result of a few some CCK nodes. Is there any option for Drupal 6?
1
vote
1answer
193 views

unable to get custom service to return result using services module

I'm learning about web services and implementing it in drupal 6 and am trying to use Services module with its REST server for implementing a web service to add a user. Since there is an existing ...
2
votes
1answer
56 views

Save a node from another site

I have a newspaper web based management system that allow users to manage articles and news and photo album using J2EE (Internal system to the newspaper) I need to make a website using drupal 7 to ...