In my nusoap server file, I am currently utilizing the following code snippet: $server->wsdl->addComplexType( 'member', 'complexType', 'struct', 'all', '', array( &apo ...
I am currently working on consuming a PHP Web service using JSON in an Android app. After making a request to the server, I received the following response data: string(170) "["14","Samsung","1","15","Nokia","1","16","Sony Ericson","1","18","LG","1","19" ...
Is there a website out there that offers web services requiring simple username and password verification? I'm open to any type of service: SOAP, REST, JSON, XML, etc. I need this for testing purposes, but it seems like most web APIs nowadays are ei ...
My attempt at connecting and fetching a data list from Business Central has hit a roadblock. The Web Service, exposed by BC, works fine as the OData link displays JSON data for "Articles". I've been trying to utilize this service with NodeJS using NTL ...
I attempted it as follows: cell.msgid.text=[[tableArray objectAtIndex:indexPath.row]objectForKey:@"MobileMessageMasterId"]; NSString *datefromweb= [[tableArray objectAtIndex:indexPath.row] objectForKey:@"MessageDateTime"]; NSDateFormatter *dateformatte ...
Seeking guidance on converting JSON input to XML format for webservices. As a beginner in this field, I am facing challenges with this task. Any suggestions are appreciated. Many thanks in advance ...
Recently, I was given an example on how to connect to a specific web server. This example includes a basic form with two input fields: Upon submitting the form with both the token and the JSON data, it returns a true response. Below is the HTML code: & ...
Is it possible to integrate an asp.net web service written in C# into an HTML5/JavaScript website? The challenge is that the web service and client are located on different domains, requiring a cross-domain request. ...
Can spring webservices handle sending and receiving json data? Regards, Damien ...
I have been searching online and found various solutions, but none seem to work for me. Can anyone explain the reason behind this? I am feeling frustrated >_< Should I make changes in my web.config file? I don't get it why even though I try accessing ...
Here is an example of how my WebMethod is structured: [WebMethod] [ScriptMethod(ResponseFormat=ResponseFormat.Json, UseHttpGet=true)] public List<Person> Greetings(string greeting) { List<Person> individuals = new List<Person> { ...
A WCF REST service is returning a JSON response as follows: { "categories": [{ "category_id": "10", "name": "Grocery", "freeQnty":"0", "prdcost":"100" }, { "category_id": "20", "name": "Beverages", ...
Working on an application that involves using both GET and POST requests to interact with Web Services. While the GET requests are working smoothly, encountering challenges with the POST requests. Have tried two different approaches in the code implementat ...
Currently, I am working on an iOS application that requires user login using a unique user ID and password. The existing flow of the process is outlined below: 1) Users input their user ID and password. 2) Upon clicking the login button, a PHP webservice ...
I am having trouble with reading JSON data from a REST webservice using AngularJS $http. I have a simple REST webservice located in a separate project which returns JSON. However, when I attempt to access the REST service from Angular, it results in an err ...
Can someone help me with a strange issue I'm facing? Here is the code snippet: $response = $client->__soapCall('ProcessXmlString', [['xmlRequest' => $xml]]); The XML data looks like this: <columns code=".."> < ...
Something strange is happening with my web service when using jquery ajax - I can only pass strings containing numbers. This was never an issue before as I would always just pass IDs to my wcf service. But now that I'm trying something more complex, I ...
I have developed an API that provides data to my frontend application. The API is hosted on api.myapp.com, while the app resides on another subdomain of the same domain - www.myapp.com. These two communicate seamlessly through AJAX requests with CORS prope ...
I have been working on a C# project where I am extracting data from a ServiceNow database and converting it into C# .NET objects. To achieve this, I am utilizing the JSON Web Service to receive the data in JSON format. My goal is to establish a relational ...
Recently, I developed a RESET webservice call in PHP and now I am attempting to integrate this webservice into Excel 2007 using Visual Studio 2010. However, when I input the URL into the "Add Service Reference" dialog box and click go, I encounter the foll ...
Upon hitting http://localhost:8082/getCountries, the SOAPUI (GET) response is as follows: HTTP/1.1 200 Content-Type=application/json Transfer-Encoding=chunked Date=Mon, 18 May 2020 03:38:46 GMT Keep-Alive=timeout=60 Connection=keep-alive [{"countryI ...
I am working on integrating JSON into my Android app. After following some tutorials, I managed to get the app reading test data from Twitter. package com.or.jsonswitch; import *** public class JsonTestMySwitchActivity extends Activity { /** This metho ...
I attempted to execute the ping command using PHP: <?php $response = shell_exec('ping -c 4 '. $_POST['host']); echo "<div class=\"response\">".$response."</div>"; ?> However, when I input a hostname ...
I've scoured the internet but have been unable to find a framework that specifically deals with identifying and blocking spamming computers and users who are trying to access my server's data. I am in need of an expressjs/nodejs solution that can ...
I have a basic .NET web service: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; /// <summary> /// Summary description for WebService /// </summary> [WebService(Namespace = "http ...
Summarizing the Problem I am faced with the task of integrating a mobile hybrid application, likely built on Ionic, that will need to indirectly consume several SOAP web services. My goal is for the TypeScript client in the mobile app to have knowledge of ...
Currently, I am using a web service to send POST data from an application at regular intervals. My challenge is to retrieve this POST data on the client side (index.html) and then pass it to a JavaScript function. Any ideas or recommendations on how to a ...
Recently, I encountered an issue while working with my web service in Java that returns JSON data. The problem arises when dealing with large datasets, causing an out of memory error. Here is a snippet of my code: public void getImages() throws Exception ...
Having trouble with RESTful webservices. My setup: On the server-side, I'm utilizing EJB3 + RESTful webservices. For the client-side, I have bootstrap twitter + JQuery 1.8 and Ajax methods to access my webservices. Created a JSP on the server-side ...
I am making a call to a RESTful web service using the following code snippet: $.support.cors = true; $.ajax({ type: 'POST', dataType: 'json', async: true, url: 'http://myserver/Register/Register.svc/json', ...
I have been assigned a project where I need to create a webservice that strictly returns JSON data. Despite my efforts, the code I've written always returns a combination of XML and JSON response. namespace DotMeTast { [WebService(Namespace = "h ...
I am attempting to make use of a Mashape API with the help of AJAX and JavaScript. Within my HTML, I have a text area along with a button: <div> <textarea id="message" placeholder="Message"> </textarea> <br><br> ...
How can I effectively monitor the activity of users who have logged into a web application that is managed by an external company? Despite my extensive research efforts, as a non-technical individual, I am struggling to understand how to utilize Google Ana ...
Exploring a webmethod in a local web service (.asmx) for a sample project: [WebMethod] public List<test1> GetLstB(string s) { test1 t; List<test1> lstB = new List<test1>(); t = new test1() { ...
Recently, I have started learning about json, ajax, jquery, and web services. I am currently working on a registration page where users can check the availability of a username instantly by typing in a few letters. My setup includes an HTML file for the ...
I am new to Webmethods and Services and I find myself in a bit of a predicament here. The webmethod I have returns an instance of the StatusViewModel class. [WebMethod()] public static StatusViewModel GetTime1() { Debug.Write("Timer") ...
As a java developer transitioning to JavaScript, I'm faced with the task of parsing a JSON string retrieved from a WebService. Here is the JSON String: { "myArrayList": [ { "myHashMap": { "firstName": "Clara", ...
I am in the process of creating a mobile application that will connect to a MOSS Site through web services. The main functionalities I aim to achieve are: 1) Retrieve documents such as PDFs, Word documents, Excel files. 2) Access reporting services report ...
I am facing an issue with my WebService (.asmx) page where I want to run functions from another webpage using ajax. The webpages I want to call these functions from are of a different origin than the web service. When I attempt to make an ajax call like th ...
I have been attempting (with no success thus far) to include an image file in my JSON data when making a call to a method in my webservice. I have come across some threads discussing sending just an image, but not integrating an image within a JSON data o ...
I've been attempting to utilize Angular 1.3 to access a REST service, but I keep encountering an error stating "Error: error:badcfg Response does not match configured parameter". My suspicion lies in the controller where I invoke $scope.data. Even th ...
Is there a way to retrieve a comprehensive list of all potential values that can be returned in a web service? I have been exploring APIs provided by Open Weather Map and have noticed differences between the results from these two calls: Upon inspecting ...
I've successfully utilized ngTable with static data in the past for listing, sorting, and filtering. Currently, I am working with ngTable v 0.8.3 Objective This time, my aim is to implement a ngTable with data retrieved from a Web Service. To achiev ...
Within my organization, there is an ongoing discussion regarding the best approach to developing our future web applications. We currently have two distinct groups of developers who share common interests. All parties agree on utilizing html5, css3, and jQ ...
I am encountering an issue with a webservice call that I am making using jQuery's AJAX method. Despite receiving JSON data from the webservice when accessed directly through the browser, my site always triggers the error function rather than the succe ...
Currently, I am using a blog platform called specter, which launches once I execute the command npm start. The site is only accessible through the URL after running npm start. Whenever I stop the package by using command-c in the terminal, the site goes ...
My code appears to be functioning correctly, but I want to ensure that it is both secure and appropriate for use. The purpose of this code is to establish a connection between my Android App and MySQL database. I am currently debating whether I should cre ...
When it comes to uploading a video, there are two options available: 1) Provide the web URL for the video, 2) Upload the actual video file. The <video> tag works smoothly with a web URL as the source, but issues may arise when trying to play an uplo ...
$validation_rules = ['email' => 'required', 'password' => 'required']; $error_messages = ['email.required' => 'Email cannot be empty', 'password.required' => 'Pa ...
Trying to utilize node-soap and encountering an issue: Attempting to access the service at : http://services.resumeparsing.com/ParsingService.asmx?op=ParseResume Successfully receiving a response when querying GetAccountInfo confirms correct account/serv ...
I'm curious about converting database data to JSON format using an asp.net web service. However, the data I receive comes with XML tags that I need to remove in order to work effectively with it. The structure of the data is as follows: ?xml version= ...
I've defined a model with the following structure: export class ExampleData{ id: string; url: string; } When I make a call to a service, it returns the JSON data shown below: [ { "id": "abc", "url": "/path/to/folder" }, { ...
Currently utilizing YouTrack as our tracking system. YouTrack includes a rest webservice that allows you to fetch information from the system. However, I am encountering difficulties with authorization as I keep receiving a forbidden error. Upon sending a ...
Currently, I am in the process of creating a video conferencing website using node.js and express.js rather than apache. However, I am faced with some challenges when deciding on the best approach. The main goal is to have the server deliver the website t ...
I am currently attempting to retrieve data from a web service API. However, all I can see is the data on the console. The web service requires an ID, so I input the ID first and then proceed to obtain the data related to that ID within the web service us ...
Exploring JSON for the first time since Android doesn't support SOAP. I notice the difference in parsing responses, but unsure about sending requests. Can anyone provide a simple 'Hello World' example code to show how requests are sent along ...
I am facing an issue with passing a json contentType to the glassfish server where I have set up a java restful web service. My POST request is coming from Node.js using needle : var options = { json: true, headers: {'Content-Type':&apo ...
I encountered an issue with a web page that includes an AJAX method. Here is the code snippet: $(document).ready(function() { $.ajax({ type: "POST", url: "http://www.webservice.com/blahblah.asmx/blahb123", ...
I've been struggling to send data to a SOAP API but have hit a roadblock. I've attempted various methods but continue to encounter errors when making the API call. The API URL is - and it requires data in XML format like <?xml version="1.0" ...
Exploring the latest geocoding API at https://maps.googleapis.com/maps/api/geocode/json?address=Chiavari+Via+Preli+30&key=.... I'm curious about a few things regarding this: How can I extract just the latitude and longitude information from the ...
I'm a beginner with jQuery and I'm trying to use it to call a Python web service and display a message based on the response received. Below is the current jQuery code I have: $(document).ready(function(){ $("#loginForm").submit( function () { ...
When working with an external API, I need to access a JSON object from a specific URL. The tutorial for this API provides variables that can be accessed through the URL, but these variables have different names than the attributes of the JSON object. For ...
Recently, I've been exploring the potential of using node.js for developing REST web services. While it captures my interest, I've encountered a limitation in its compatibility with Java. Unfortunately, node.js doesn't integrate seamlessly w ...
RESTful web services operate on a stateless server where URLs represent resources and utilize HTTP methods like GET, POST, DELETE, PUT for actions. I am considering developing a JSON service layer that relies on server-side state, with URLs representing r ...
Having trouble validating a user value with the jQuery Validation plugin. The validation appears to be working correctly and calling the web service function as intended. However, even when the server function returns a true/false result, the field is alwa ...
Possible Duplicate: How to send a JSON object over Request with Android? Being new to Android development, I encountered an issue when trying to send requests to a web service in JSON format. After researching online, I came across this code snippet f ...
I developed a WCF web service in ASP.NET 4.5 using VS2012 that delivers a JSON response successfully via the built-in webservice client. The endpoints are correctly configured in the Web.config file. However, I encountered an issue on the client side with ...
I am using the ws package from npm in my node.js project for socket programming. Here is the code snippet: var server = require('ws').Server; var serverConnection = new server({port : 5000}); serverConnection.on('connection',functio ...
Looking to retrieve the latest Twitter feed in JSON format using a single URL. I have tried utilizing the following link: However, I am encountering issues with it not functioning correctly. Any suggestions on how to successfully obtain this data? ...
Exploring the functionality of a jQuery ajax request, I have developed two simple projects within a Visual Studio solution. One project serves as a web service while the other consumes it. If you are interested in checking out this small project, feel fre ...
I am currently developing an application that requires data sharing with a windows server. After researching various examples online, I have come up with the following implementation below. Although both the iOS code and web-service are functioning properl ...
I am currently managing a two-node NLB configuration where multiple web services need to be accessed from the client-side using ajax POST requests. When visiting the page at: http://clusternode1/ everything works smoothly. Similarly, when accessing it f ...
Need help with calling a server-side method from JSON. Below is the code I currently have: SERVER SIDE: [WebMethod] private void GetCustomer( string NoOfRecords) { string connString = "Data Source=Something;Initial Catalog=AdventureWorks;Trusted_Con ...
Issue I am facing a challenge with connecting a PHP script to a SAS web service (SAS Stored Process Web Application). Despite adjusting the socket timeout and SOAPClient timeout values, the script consistently times out. Interestingly, the SAS Web Service ...
I own a basket filled with products. I am attempting to boost the quantity by using the (+) button and AJAX. Here is the code snippet: Here is my AJAX code: function addToBasket(id) { var productId = id; var sessionId = Session.SessionID; ...