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
8
votes
3 answers

Delphi soap response save to xml?

How can I save soap response to xml? I tried with tstringlist, filestream, created the xml file but, but I got could not convert varinat of type (null) into (type (olestr) I tried this simple code.The response is not empty.The file size 40MB.…
Lacika
  • 89
  • 1
  • 6
8
votes
4 answers

How to add soap header when making a soap request using the java objects generated by wsdl

I generated client java objects using JAX-WS RI. I am trying to make a SOAP request to a web service. Service requires authentication in the header which looks like below:
Venu Doddi
  • 81
  • 1
  • 1
  • 2
8
votes
1 answer

SOAP-ERROR: Encoding: Object has no property

I need to create a SOAP request which looks like this: ? ? 0
nonshatter
  • 3,347
  • 6
  • 23
  • 27
7
votes
6 answers

Jax-ws : Java SOAP exception :MustUnderstand headers:[{http://www.w3.org/2005/08/addressing}Action

I am using Jax-ws to implement client application for Onvif IP camera, I am sending a request to camera to create PullPointSubscription ,It seems the camera understands the request and process the request and send the correct response , but the…
Mike Albren
  • 203
  • 3
  • 6
  • 15
7
votes
1 answer

NuSoap vs PHP Soap Library. Where is getError?

I'm converting an old code which use NuSoap to PHP Soap Library. But method getError in NuSoap PHP seems not exist in PHP Soap Libary and I get this error: Fatal error: Uncaught SoapFault exception: [Client] Function ("getError") is not a valid…
bman
  • 5,016
  • 4
  • 36
  • 69
7
votes
4 answers

Adding Filters to Magento Web Services API

I am trying to call the Magento SOAP API and get a list of orders within a certain time period. I can connect to API and get a list of all the orders just fine but I can't (for the life of me) figure out how to filter the results... Any ideas? My…
Chuck D
  • 1,718
  • 4
  • 19
  • 26
7
votes
1 answer

PHP: Is it better to close SoapClient connection?

I created the following helper function: function mainSoap(){ return new SoapClient('https://soap.url',[ 'stream_context' => stream_context_create([ 'ssl' => [ 'verify_peer' => false, …
Vixed
  • 3,429
  • 5
  • 37
  • 68
7
votes
2 answers

Is there any New-WebServiceProxy alternative?

I'm trying to consume a SOAP web service at PowerShell 6. I used to do this task with the New-WebServiceProxy command on early versions but no longer exists on PowerShell 6. Is there any similar command?
7
votes
1 answer

Getting zeep.exceptions.ValidationError: Missing element for method that worked with suds

I'm porting over code that was developed with suds 0.6 over to zeep 2.4.0. Previous suds code: client = Client(WSDLfile, proxy=proxy, faults=True) config = client.factory.create('perUserDataExportConfiguration') config.param1 =…
raphael
  • 2,762
  • 5
  • 26
  • 55
7
votes
3 answers

SOAPExceptionImpl Bad response: 404Not Found if i don't do soapMessage.writeTo(System.out);

I'm creating a Soap client in java and I'm getting a strange error. Abstract client public abstract class AbstractSoapClient { private ServerContext context; private String path; private static final String WSSE = ""; private…
7
votes
0 answers

How to consume a Web Service (SOAP 1.1, WS-Security) from C# based on a WSDL?

I have a WSDL for a Web Service (https://facturaelectronica.dian.gov.co/habilitacion/B2BIntegrationEngine/FacturaElectronica/facturaElectronica.wsdl) which specifies that it's SOAP 1.1 and should use WS-Security. The resulting SOAP Header should be…
7
votes
3 answers
7
votes
2 answers

Axis security header

Hi trying to generate a security header in a Java Axis2 Client program in the format of.
yurl
  • 641
  • 2
  • 6
  • 6
7
votes
1 answer

Custom service exceptions are being thrown as AxisFault

We have an Axis2 client reading from a SOAP web service; an issue occurred when new client stub classes were generated using WSDL2JAVA and their packages were renamed. The generation tool itself isn't causing the issue, but WSDL2JAVA isn't renaming…
abdelrahman-sinno
  • 1,157
  • 1
  • 12
  • 33
7
votes
2 answers

"Unable to parse URL" exception after SOAP request

I'm trying to use a soap service with php, but it seems that the request format that php creates couldn't be interpreted by the service. Simple example I have so far: ini_set("soap.wsdl_cache_enabled", "0"); $client = new…
christophrus
  • 1,170
  • 2
  • 14
  • 27