The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
14 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 ...
1
vote
0answers
19 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
8 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
46 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
33 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 ...
-2
votes
0answers
24 views

CSRF validation failed

I am creating a web service for user registration whose URL is http://example.com/endpoint_name/user/register. When I am checking this URL on postman rest client, it shows a "CSRF validation failed" ...
0
votes
1answer
22 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
42 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
1answer
40 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
0answers
58 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
22 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
68 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
56 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
515 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 ...
0
votes
0answers
42 views

Debugging Soap Server module

Does anybody have any experience using the Soap Server module for Services 3? Following the example in the module's README.txt, I have created an endpoint and can view the WSDL at ...
0
votes
0answers
40 views

help with updating a user profile on user_save drupal 6

I've tried to update the profile in the below method, but it's not working. Any suggestions as to what i'm doing wrong would be great. thanks! function user_services_update_user() { ...
2
votes
0answers
49 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
92 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
23 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
307 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
55 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
86 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
0answers
48 views

show services using Drupal Commerce

I am using Drupal Commerce for my website, as it will easy for me get payment for services provided. My website doesn't contain many products. It has only 4 services (A,B,C,D) each cost some price. ...
0
votes
0answers
90 views

Add content to a field of a node through web services

Drupal 7 Services Module Using REST Services Hello, quick question, I know that by using web services you can update fields by using web services, using the format: node[title]=this is the title Im ...
0
votes
1answer
299 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
572 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
921 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 ...
8
votes
2answers
4k 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
82 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
116 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
50 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 ...
1
vote
2answers
658 views

Querying a web service via WDSL

I am thinking about creating a search engine frontend for a special use case using Drupal 7. There are some modules in the module directory, and questions like Consume SOAP web service in Drupal 7 on ...
1
vote
0answers
63 views

Updating a Node's FID from file_usage_list

Alright, so this is a bit of an abstract concept; however, I'll give it a shot in accurately depicting the scenario. I am trying to automate content creation from a production environment down to a ...
0
votes
2answers
306 views

Weather information

I have different cities pages on my website need to display there weather conditions. For example if some one goes to Capetown page its weather can be shown in the block. Please suggest if there is ...
-1
votes
1answer
307 views

Web services example [closed]

I am new to drupal web services. I would like to get a good tutorial and example for web service using drupal services. Please suggest to me some websites that explain these things in a simple way. ...
0
votes
1answer
108 views

Parsing bad dates automatically with feeds and date api?

My company is trying to load an event calendar with events from another company's online calendar's web service. I'm using the Feeds Module and everything's working, except the dates because their ...
0
votes
1answer
89 views

How to make services node output of file to use external URL instead of public:// URI

I've got a basic web service defined in Drupal that returns JSON describing existing nodes on the server. Contained in the output is the key-value pair: "uri":"public://audio_snippets/01 ...
2
votes
1answer
657 views

Submit webform programmaticaly Drupal 7

I need to submit data to a webform (webform module drupal 7). I recieve data from POST submission from mobile application ("webservices"). So I try something like : $form_data = array(); ...
7
votes
3answers
3k views

Services module. How to construct the JSON data with session info for creating node?

Drupal 7 + Services 3.2 I am using Postman for Chrome (a http client) to test the API. What I want to do is login a user then create a node with the user by using the Drupal service API. Below ...
1
vote
1answer
825 views

Services module. How to register an user with the API?

Drupal 7.17 / Services 3.2 My setup: I follow the doc: http://drupal.org/node/1447020 With FireFox HttpRequester, tried to register a new user: Then I got 500 Internal error: Any ideas? ...
3
votes
1answer
599 views

Services module: What is 'Index' operation?

D7 / Services 3.2 retrieve / create / update / delete are very straightforward, make senses to me that matching 'CRUD', I don't understand what 'index' here does? Thanks.
0
votes
0answers
212 views

cannot update node via services + amfserver

I am flash developer and total newbie to Drupal. I am using D7 + Services 3 + amfserver. I am trying to update node (type – article) from flash client everything goes all right, when I check up node ...
0
votes
0answers
195 views

How to speed up json views in drupal 7

I am trying to get json response from my drupal7 site using Views. Example : www.mysite.com/company company refers to a view which was created using json document I also applied caching to the ...
1
vote
1answer
276 views

Displaying data from a web service

I'm using Drupal 7, and I need to retrieve data from a web service. This data cannot be stored in the Drupal database due to regulations. What would be the best practice for retrieving this data: ...
2
votes
1answer
836 views

Getting views data as a REST service

I need a way to get the output of a view as a REST service in JSON format. I read about the RestfulWS and the Services modules, but I didn't find enough documentation. Are these straight forward, or ...
3
votes
2answers
497 views

Entity Reference create problem with REST server using Services

i'm building a web services and now i'm writing the documentation for the mobile developer. When i want to create/modify an entity reference Services 3 ask a stucture like this "field_organization": ...
2
votes
2answers
506 views

How do I invoke web services? [closed]

I am working on a site, and I want to integrate my site with an external site; for that, I need to use web services to get data from the external server. I don't know the technology used by the ...
0
votes
2answers
349 views

How to fetch 10 10 records in json format using views

I am working on views(D7) for providing JSON web services ... I am using JSON_data_document module My question is How to get the data returned from the views in ten,ten records. Example : consider ...
2
votes
1answer
2k views

Clear example of Service module authentication and authorization

I've been playing around with Service module, which it seem the best module for exposing web service specificaly I have REST architecture. Nevertheless haven't been able to clear how does the ...
1
vote
0answers
296 views

Drupal Module as web service with SSL

I need to create a SOAP web service that gets user-related information, but I want to secure the service with two-way ssl certificates (mutual authentication). I have created a module that does the ...