Questions tagged [soap-client]

An application that calls upon a SOAP server.

A SOAP client is any application that calls upon a server.

Example SOAP Clients

2272 questions
10
votes
2 answers

SoapClient error fallback in PHP

In PHP, if you try to instantiate a new SoapClient, and the WSDL is not accessible (server down or whatever), a PHP fatal error is thrown: Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from …
Yuval Adam
  • 161,610
  • 92
  • 305
  • 395
10
votes
1 answer

SOAP in Node.js

Sure, you're gonna tell me that SOAP is deprecated and all, well I'm forced to use it. Now, I've tried with the douche module (https://github.com/marcgreenstock/douche) but it fails when I do this (the WSDL url is fine, in fact I'm trying the…
Diego Torres
  • 5,308
  • 5
  • 25
  • 29
10
votes
3 answers

Using Wss4jSecurityInterceptor throws a WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it

I am upgrading my application to Java 11 and Spring boot 2.1.2 and running into following error when trying to communicate over SOAP to an external partner. It is the Wss4jSecurityInterceptor that causes this issue. It work before when running java…
tob
  • 231
  • 2
  • 8
10
votes
2 answers

soapClient use SoapFault or Exception or both to catch Error?

Which of the following is better to catch an error when calling a web service using SoapClent? try { $response = $client->SomeSoapRequest(); } catch(SoapFault $e){ } Or: try { $response = $client->SomeSoapRequest(); } catch(SoapFault…
Adam C.
  • 101
  • 1
  • 1
  • 3
10
votes
2 answers

A simple java SOAP client

I'm new to web services and I've been breaking my head trying to find a simple java SOAP client program on the Internet. All I want to do is send a SOAP message and receive back some response. There is a website which offers free web-services.…
Raghu
  • 101
  • 1
  • 1
  • 3
10
votes
2 answers

Migrate SOAP/REST client from TLS 1.0 to TLS 1.2

faced with next problem: I have .net web application running under .NET Framework 4.5.2. Applicating communicates to SalesForce using: SOAP API REST API (https://github.com/developerforce/Force.com-Toolkit-for-NET/). SalesForce announced disabling…
Vasyl Senko
  • 1,779
  • 20
  • 33
10
votes
4 answers

How is the best way to write a SOAP 1.2 Client with Delphi Win32

So far, no Delphi version supports SOAP 1.2 clients or server. I have tried for weeks to make it works, but every time a new problem, with VS/C# I could do the same, and make works in 3 days, but I need to do with Delphi 2009. "I write a new version…
Cesar Romero
  • 4,027
  • 1
  • 25
  • 44
10
votes
3 answers

SOAP client timeouts during function execution

I need to use SOAP to retrieve some data from a database. I'm not an experienced PHP programmer, that's why I need some help. The company which provides the webservice (WSDL) gave me login info and links to the svc and wsdl files. They also gave me…
Tomasz Kasperczyk
  • 1,991
  • 3
  • 22
  • 43
10
votes
3 answers

How to issue a SOAP request in PHP

I am trying to issue a SOAP request in PHP. I have my service URL, and when I check it in SOAP UI, I can see the following
katie hudson
  • 2,765
  • 13
  • 50
  • 93
10
votes
10 answers

Which network protocol to use for lightweight notification of remote apps?

I have this situation.... Client-initiated SOAP 1.1 communication between one server and let's say, tens of thousands of clients. Clients are external, coming in through our firewall, authenticated by certificate, https, etc.. They can be anywhere,…
Chris Thornton
  • 15,620
  • 5
  • 37
  • 62
10
votes
1 answer

Check if soap connection working

Quick one, How would you go about checking if your connection to a soap server is actually connecting? I have this code: $m_wsdl = "https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl"; try { $client = new…
Tom Burman
  • 947
  • 3
  • 15
  • 37
10
votes
1 answer

How can I create a SoapVar containing CDATA with XML?

I have to call a SOAP web service using a SoapClient object. One of the parameters has to contain some XML included in a CDATA section, like this: baz]]> Note the node…
Gregoire
  • 3,735
  • 3
  • 25
  • 37
10
votes
3 answers

How to define a SoapVar namespace?

I need to have this node in my SOAP Request (using 1.1): ricky@email.net password So I have the following…
rickyduck
  • 4,030
  • 14
  • 58
  • 93
9
votes
4 answers

CXF Client Security

I am creating a client to a Java soap web service, but am having trouble figuring out how to properly pass the password. Here is my "hardcoded" password example: @Test public void exploratorySecurityTest() { String username = "user"; …
jayraynet
  • 896
  • 1
  • 7
  • 24
9
votes
1 answer

NPM SOAP package - client as singleton?

I'm using this npm package: https://www.npmjs.com/package/soap I could not find an answer in the documentation, as I'm wondering if the best practice for SOAP client is to create a single client as startup and use for all requests (similar to…
David Faizulaev
  • 4,651
  • 21
  • 74
  • 124