Optional SOAP element that represents a header that contains application-specific information (like authentication, payment, etc) about the SOAP message.
Questions tagged [soapheader]
232 questions
4
votes
3 answers
Adding custom SoapClient headers
I'm a complete C# newbie and have been trying to crack this for a couple of hours now with no success...
I need to build a SoapClient to use on C#... I've been trying to port an existing php client to c#.
basically: I need to make a request with a…

Itai Sagi
- 5,537
- 12
- 49
- 73
3
votes
1 answer
PHP SoapHeader with array of namespaced entries
I'm fairly new to PHP's SOAP lib and am having problems creating a valid SoapHeader for the service I'm hitting. Here's the service wsdl:
http://s7sps1api.scene7.com/scene7/webservice/IpsApi-2010-01-31.wsdl
Here's my PHP script:
try {
…

Aaronius
- 4,936
- 6
- 31
- 40
3
votes
1 answer
Adding SOAP headers to ASMX service requests
We were given a set of ASMX services to consume. We have no say in how these services are implemented. We have generated a number of proxies with wsdl.exe tool but for some reason unknown to me, these generated proxies don't have any means for…

Vex
- 1,179
- 3
- 15
- 24
3
votes
1 answer
How to set soap headers in zeep when header has multiple elements
I am trying to use python zeep to connect to a soap service ( using wsdl ).
Following is the soap-ui generated XML for an operation.
However I am finding it difficult to identify how to set soap headers.
In this case, we have multiple XML…

Anish
- 1,490
- 1
- 13
- 13
3
votes
2 answers
Modify SOAP header Mustunderstand attribute in WCF client
I am writing a WCF client for a service (not WCF). Getting an error that Unprocessed 'mustUnderstand' header element: {http://www.w3.org/2005/08/addressing}Action, because request SOAP contains header with mustunderstand='true'. I have to either…

Amzath
- 3,159
- 10
- 31
- 43
3
votes
1 answer
PHP - Call SoapClient with header, and returns fatal error
I am still very new to use php to call the SoapClient. Recently I have a project which I need to call the API from .net using web service SOAP.
I won't able to see the actual XML code of the web service URL provided as it requires header to access,…

Mike
- 173
- 1
- 1
- 12
3
votes
0 answers
PHP SOAP Security header
I'm starting with SOAP / PHP and have to send a security. IT's drving me crazy, I have tried a dozen approachesd found here but nothing works. Here is the header excpected by the service - how can I send it?

Ole_S
- 356
- 1
- 3
- 21
3
votes
1 answer
How to authenticate ws-security soap header with jaxws on a tomcat server
I have developed a simple web service with JAX-WS RT and deployed it on a Tomcat 6 server. I need to authenticate calls to my web service using ws-security in the SOAP header.
My approach was to use a chain handler to extract the username and…

user2018658
- 31
- 3
3
votes
1 answer
Web service deploying issue in WebLogic 10.3
I have created a web service using MyEclipse 10.0 and it's working fine on Tomcat 6.0, but when I'm deploying it on WebLogic I'm getting exception.
I'm using SoapHeader, I'm adding header elements on it. My program in WebLogic is getting stuck when…

Abhishek Kumar
- 31
- 2
3
votes
2 answers
Send a custom header of soap envelope using jQuery Ajax
I am trying to call an asmx service using jQuery Ajax.
POST /YderWS.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://scandihealth.com/iwebservices/HentKommuner"

Vaibhav Jain
- 33,887
- 46
- 110
- 163
3
votes
1 answer
How to add tag? WSDL not appearing with these info
I need to add to my message something like this:

George Taskos
- 8,324
- 18
- 82
- 147
2
votes
1 answer
Consume WCF service using add web reference and add a soap header
I have a WCF 4 web service that checks for a soap header. This works fine with a WCF client but I have a customer that needs to use the old web reference from their app. How do you consume a WCF service using Add Web Reference and the add a SOAP…

Paul Speranza
- 2,302
- 8
- 26
- 43
2
votes
0 answers
WCF Service with non .net present client
Instead of creating a WCF service and a client by generated code of WSDL, I must create a WCF service with a given SOAP request.
To help you better understand, I copied the main part of the SOAP request here:

eduardo
- 31
- 2
2
votes
1 answer
add custom header for security authentication in wcf
i am using webHttpBinding to expose the wcf serivces and return JSON format, i want to make some security authentication in header like:
CustomerServiceClient client = new CustomerServiceClient();
using (OperationContextScope scope =…

GBK
- 375
- 2
- 4
- 11
2
votes
0 answers
using Ruby handsoap craft AuthHeader
How would I go about adding an authheader to the soap header of a request using handsoap?
so for example I want:
xxxxxxxxxx
yyyyyyyyy
…

David Larrabee
- 384
- 1
- 9