Questions tagged [soap]

SOAP, also known as Simple Object Access Protocol, outlines the protocol for exchanging organized data within Web Services' implementation.

Having difficulty with processing SOAP response in PHP using simplexml

I'm using cURL to send a SOAP request and receive the following response: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:To>http://www.w3.org/2005/0 ...

Creating a WSDL SOAP request with Node.js SOAP is simpler than you think!

I have been using node.js soap to send a soap request, but I keep encountering an error. When I look at my xml in SoapUI, it appears like this: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" ...

The function soap.createClientAsync is not defined and is throwing a TypeError

Encountering an issue with the soap npm module while developing an application in Meteor. Here is the code snippet causing the error: soap.createClientAsync(url).then((client) => { return client.someMethod(soapArgs, function(err, result) { ...

Guidelines for forming a JSON variable using a SOAP Response

Currently using ASP.NET 4.0, I am faced with the task of sending a SOAP (XML) Response to a JSON variable in javascript on the page. The aim is to access the variable and its properties just like any other JSON variable would be accessed. The challenge lie ...

Executing a WSDL method using SOAPClient in PHP with a parameter specified in the parameter name

Hello, I am currently utilizing PHP's soapclient function to make a call to a soap webservice (with wdsl). While I understand how to pass parameters to a method, the webservice I am working with requires parameters to be specified within the paramete ...

Struggling to Transform XML into a Text Input within a C# SOAP Web Service Function

Recently, I was tasked with developing a C# SOAP Webservice that is capable of converting data from JSON to XML and vice versa. So far, I have successfully implemented the service along with two methods. The conversion method from JSON to XML is functionin ...

Can a WCF service utilize both the SOAP and JSON methods simultaneously?

I recently started working with WCF, and I need to utilize the same WCF for bothSOAPandJSON` formats using the post method. Is this achievable? Any guidance would be greatly appreciated. ...

Retrieving the XML data instead of JSON from a RESTful API

I have been practicing with the REST API to enhance my skills in Groovy-REST. Currently, I am able to extract specific JSON data from the REST response using SOAP UI 5.0 and generate a simple output from it. Interestingly, SOAP UI also provides an XML ver ...

SOAP request encounters a 500 error

I am currently using NuSOAP and attempting to send a request, but I keep encountering a 500 error: <?php require_once('../lib/nusoap.php'); $c = new soapclient('http://example.com/index.asmx?WSDL'); $clientVAT = $c->call('GetClient', ...

Class Mapping Titles

I'm attempting to extract the values of attributes and elements from an XML response using a PHP SOAP client. I've been trying to utilize classmap, but haven't had any success so far... SOAPCLIENT: $client = new MySoapClient(null, array(&a ...

Creating a single object from an array using Zend_Soap_Client

I'm currently facing an issue with Zend_Soap_Client while working on my project: <parent> <child><name>abc</name></child> <child><name>def</name></child> </parent> When there are mu ...

Guide to invoking SOAP WCF web services with the ws.js or wcf.js node packages

I recently installed the soapjs module and attempted to access its services. One of the services I encountered contains complexContent, which can be found at: I am curious if it is possible to retrieve the details of a WCF service's wsdl including method ...

Top method for connecting a PHP web service to a C# API

Looking for advice on the best approach to call my C# web service method from a PHP website. The C# web service I am working with is defined as follows: public string Method1(string Param1, int Param2, List<String> Param3) I need to populate a list ...

Having trouble understanding how to incorporate jQuery GetListItems with SharePoint SOAP - it seems simple, but can't figure it out!

I'm attempting to incorporate a SharePoint list into an Unordered List to set up a basic search function (since Sharepoint's Search functionality is quite lacking). Below is the code I found and adjusted: $(document).ready(function() { v ...

Encountering import error while trying to use SOAP Node JS package on AWS Lambda deployment

My Lambda function on Node JS 10.x is encountering an issue when attempting to require the soap npm module, resulting in the following error message. { "errorType": "Runtime.ImportModuleError", "errorMessage": "Error: Cannot find module 'soap&ap ...

Struggling to implement SOAP web service in AngularJS

I'm working on consuming a webservice using the Get method in AngularJS. In my controller, I've used $http to write the code. However, I'm not receiving any response and I'm unsure if the URL is being hit or not. Any corrections or su ...

Removing unnecessary extra characters from both the beginning and end of a SOAP response when using PHP SoapClient

When I attempted to retrieve data from a SOAP API server using PHP, I encountered an issue with the response code. The code "looks like we got no XML document" was returned. try { $soap = new SoapClient($wsdl, $options); $data = $soap->GetXYZ($ ...

"What is the method for generating a composite message and delivering it as an XML response in SoapServer

I am currently in the process of setting up a SOAP web service that is supposed to return a composite message. An example of a valid instance of this message looks like the following: <dl190Response xmlns="http://pse/"> <cdhead cisprik="556 ...

Executing a Control Method in ASP.NET MVC with the Help of JQuery or AngularJS

I currently have an application that is running in MS Silverlight on the client side, with a WCF SOAP service hosted in IIS serving as the business layer, and SQL handling the database. However, I have been tasked with transitioning the front end from Silv ...

Error code 403 Forbidden being displayed when accessing SharePoint with sudsy consequences

Having trouble authenticating suds with the python-ntlm package for a SharePoint 2010 site? Tried solutions from this thread but no luck. Running Python 2.7.10, suds 0.4, and python-ntlm 1.1.0. Below is the code snippet: from suds.client import * from ...

Is it possible for PHP to send an HTTP Get request to Java?

I am currently exploring ways to establish communication between PHP and Java. My goal is to have PHP pass an ID parameter to a Java file, where Java will process the ID and return an array back to PHP. I have researched various methods such as PHP/Java ...

Steps for implementing a single proxy in JavaScript AJAX with SOAP, mirroring the functionality of the WCF Test Client

I am working with a WCF web Service and a javascript client that connects to this service via AJAX using SOAP 1.2. My goal is to pass a parameter to instruct the AJAX SOAP call to use only one proxy, similar to how it is done in the WCF Test Client by unch ...

real-time update of gauge value from soap

I am trying to update the value shown in my justgage widget with the value returned from $("#spanrWS_Measured").text(data[0]);. The current value is 123. Any assistance would be greatly appreciated. See the complete code below. <script src="scripts/r ...

Encountering the issue of a self-signed certificate in the certificate chain while making a SOAP request

I recently acquired a PFX file and successfully generated both PEM and KEY files using the following commands: openssl pkcs12 -in cert.pfx -out cert.pem -clcerts -nokeys openssl pkcs12 -in cert.pfx -out cert.key -nocerts -nodes After generating the file ...

Tips for executing a SOAP request using NodeJs

Despite my efforts in researching various blogs, tutorials, and videos, I still can't find a clear answer on how to execute a RESTful request. For example, in NodeJs, you would code the request, hit the route (https://localhost/3000/api/getStudent), a ...

Receiving an array of data from a SOAP service using PHP

Hi there, I'm a beginner in PHP and I'm slowly learning the basics. I recently encountered an issue where I am unable to receive an Array from a SOAP server. Here's a snippet of my code: class cUSER { public $LOGIN; public $ ...

Using Javascript to parse SOAP responses

Currently, I am working on a Meteor application that requires data consumption from both REST and SOAP APIs. The SOAP service is accessed using the soap package, which functions properly. However, I am facing challenges with the format of the returned data ...

Can we retrieve the SOAP XML data prior to calling __soapCall?

Is there a way to access the XML generated by SOAP Client before it is sent to the webservice? I am looking for a solution because when the webservice responds with an error due to incorrect parameters, I receive messages like: Server was unable to read ...

Before being sent, CDATA is eliminated

Currently, I am integrating a SOAP call within an Angular application. One requirement I have is to include CDATA for a specific section of the payload for certain calls. angular.forEach(contactsCollection, function (item, index) { contacts = contact ...

Error message "Authorization issue occurred while trying to call a function in the PHP webservice."

I am facing an issue with calling a web service. It successfully connects and returns its methods, however, when I call one of the functions, it throws an unauthorized error. Here is my code try { $service = new SoapClient("http://www.go-to-orbit.com/oo ...

Using SoapClient to send XML data to a WSDL

Here is the WSDL I am working with: My goal is to utilize SoapClient in order to send a request to the CustomerSearch method. This is the code snippet I have implemented: $url = 'https://secure.softwarekey.com/solo/webservices/XmlCustomerService.asmx?WS ...

What methods do Web Applications use to interface with a server?

If I wanted to develop a collaborative web application where users can simultaneously work on a diagram, how would the client and server exchange messages? Here are some details and an illustration of how the system is intended to function: https://i.stac ...