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
6
votes
1 answer

javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.1 Message

I am consuming a SOAP API. The XML response I receive is surrounded with a 'soap envelope' - so I need to remove or parse past that wrapper before I can process the XML. I've taken the below approach with other endpoints (so the code is sane, at…
Paul
  • 3,318
  • 8
  • 36
  • 60
6
votes
2 answers

Soap Client Complex Type PHP Request

I have a web-service with following link I'm trying to access the function name with SubmitRequestType but it seems the function is not exist instead submitAnsiSingle this is the correct function name what I tried so far is , $wsdl =…
Jobin
  • 8,238
  • 1
  • 33
  • 52
6
votes
0 answers

handleMessage method of SOAPHandler not getting invoked,rather getHeaders get invoked

I am new to the SOAP world. I have coverted the wsdl file to java class using maven plugin Below is the pom.xml configuration. org.apache.cxf cxf-codegen-plugin
Abhishekkumar
  • 1,102
  • 8
  • 24
6
votes
2 answers

Complex Headers for PHP SoapClient

I need to add the following complex header with different namespace and types to my SoapClient Header.
Ilker Baltaci
  • 11,644
  • 6
  • 63
  • 79
6
votes
1 answer

ClassCastException while sending soap request

I am working on a project which already had metro based web-service client implemented. Now, I needed to add another client for different service. I implemented new client, but now it throws exception when there are headers ( Headers are required).…
Jimmy
  • 2,589
  • 21
  • 31
6
votes
0 answers

Missing/Invalid SOAP Envelope

I had constructed a soap over http protocol request message as following:
Brian Koey
  • 203
  • 4
  • 12
6
votes
1 answer

Charles debugging proxy not connecting to localhost

Charles Web Debugging Proxy not connecting to localhost. It was working right after I installed, but all of a sudden get connection refused, when trying to connect to localhost. Other traffic is going through proxy ok. The web server and proxy ports…
madphp
  • 1,716
  • 5
  • 31
  • 72
6
votes
1 answer

PHP Soap Header help

I have a fairly simple php/soap header question. Here's what I need. Here's what I get... token123456789 using this…
Xavias
  • 170
  • 1
  • 1
  • 8
6
votes
1 answer

How to we use the SoapClient in Cakephp...?

I have enabled SOAP in my local server. My code is: ini_set('soap.wsdl_cache_enabled', '0'); ini_set('soap.wsdl_cache_ttl', '0'); $client = new SoapClient('web_url'); $session = $client->login('username', 'pwd'); $result = $client->call($session,…
Mani K
  • 183
  • 2
  • 10
6
votes
1 answer

Unable to call .NET ASMX from PHP

I have the following - currently hosted - SOAP service that was created in .NET that I'm trying to call from PHP: POST /ExampleService/ExampleService.asmx HTTP/1.1 Host: dev.examplesite.com Content-Type: text/xml; charset=utf-8 Content-Length:…
maGz
  • 787
  • 3
  • 8
  • 25
6
votes
2 answers

SOAP-ERROR: Encoding: object has no 'FinalBookingDate' property

Before starting, I know, this errors means that I should have defined the property FinalBookingDate, but just keep reading and you will understand my point of view. The url is:…
Lucas Serafim
  • 3,702
  • 6
  • 30
  • 36
6
votes
0 answers

Adding WSSE Headers to XML with PHP

I am currently developing a WS client that needs to sign its requests before sending them to the server. I have a private key and a certificate for this purpose but I am struggling with the security header. The expected structure of the output XML…
wtf8_decode
  • 452
  • 6
  • 19
6
votes
1 answer

Adding SOAP Header to request

I have been trying to add a header to SOAP request as follows username password
Anupdas
  • 10,211
  • 2
  • 35
  • 60
6
votes
0 answers

What could be the reason for the Soap Fault (faultcode: soapenv:Client, faultstring:Bad Request)

I am writing a client to consume a SOAP web service in Android using ksoap2. And I have received a SOAP FAULT exception. Here is an excerpt from the LogCat.
Solace
  • 8,612
  • 22
  • 95
  • 183
6
votes
2 answers

Web Service Adding extra forward slash in SOAPAction

I am using SoapUI to test a .Net Web Service that will be consumed by a Java client application. When I hook up my Web Service to SoapUI but updating the WSDL location and call one of the preset testing scripts, the Web Service fails with the…
gilesrpa
  • 969
  • 1
  • 12
  • 35