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
1
vote
1 answer
How to declare that the WCF service is using mandatory SOAP headers?
I have a WCF service which uses some custom SOAP headers.
I manage to pass the headers - but how can I declare that they are mandatory thus forcing the client to pass them in every request?
Thanks!

Alon1980
- 1,225
- 1
- 16
- 30
1
vote
2 answers
How can I create a soap header in PHP?
How can I create a soap header like that:
ID
Password
service

user748536
- 11
- 3
1
vote
1 answer
How to send soap 4.0 header with the use of postman and php
I want to use the Amadeus API for search flight.
I purchased the Enterprise account.
They provided me the credentials.
But maybe my request didn't hit their endpoints.
I am trying via the postman.
But the same response returns as we open on the…

Adil Ansari
- 11
- 3
1
vote
1 answer
How to Throw WCF Exception with Customized Soap Header and Body
I know how to use [FaultException] and throw Customized [DataContract] in WCF
I know how to return soap message with Customized Headers and Body Tags using [MessageContract]
However, I'm going to ask: How to throw a [FaultException] in WCF with…

Vincent
- 49
- 3
1
vote
0 answers
Soap action defined in wsdl is overwritten
I have a wsdl defining a bunch of operations. One of which is defined as follows:
…

Yaoming
- 79
- 1
- 6
1
vote
1 answer
WWSAPI and setting "soapenv:Header" values
I'm trying to connect to a web service from a C++ app using WWS. I got the base connection working just fine. My XML message has two parts though, a header (soapenv:Header) and a body (soapenv:Body). the generated functions only fill in the body.…

Ben Burnett
- 11
- 4
1
vote
0 answers
Adding soapenv:mustUnderstand="1" attribute to Security tag in Header of SOAP request with SimpleXMLElement object
My problem is with SOAP Header in PHP. I can not set mustUnderstand attribute to soap request.
Could you please help me for my code?
$root = new SimpleXMLElement(' ');
$security = $root->addChild('wsse:Security', null,…

Ozzlem
- 29
- 4
1
vote
1 answer
How can i call and set parameter in header and function in SOAP API in PHP?
I Work on Rest API Only and I am new in SOAP API, I am integrating Third Party API Which developed on SOAP API?
How can I call it function "GetAvailibility" and also header and set the parameter?
THIRD PARTY XML CODE:

Abhishek Kumar
- 33
- 1
- 7
1
vote
0 answers
SoapHeaderException: SOAP header Security was not understood using WSE3
I'm using WSE3 in .Net to connect to a third party Java WebService. The SOAP request and response captured in Fiddler shows that the communication is working good.
Response:

rasputino
- 691
- 1
- 8
- 24
1
vote
1 answer
All steps needed to connect with Web Service (WSDL provided and SOAP example)
I need to connect with one web service and this is all the info I have:
https://www.nameofthecompany.es:8443/webservices/functionIshouldcall?wsdl
Example of call:

LuisAlvarez
- 11
- 3
1
vote
1 answer
SoapHeader Value missing in ASP.NET 3.5 Web Service
I have created a custom SOAPHeader and Service with methods. While I was trying to consume the service, I was able to create the SOAPHeader and assign its property. But the proxy(SOAPClient) is missing the HeaderValue property.
My web method is…

Gabriel Susai
- 450
- 1
- 6
- 16
1
vote
2 answers
Adding SOAP header elements without namespace
I want to add a header element in SOAP envelope. Each of my attempts throws the exception:
com.sun.xml.internal.messaging.saaj.soap.impl.HeaderImpl
addHeaderElement SEVERE: SAAJ0131: HeaderElements must be namespace qualified
I need to add just…

bit.mind
- 23
- 1
- 6
1
vote
1 answer
sending custom header to SOAP web service with Axis 2
I have to send the tokens through header. This is the code I am trying.
ServiceClient _serviceClient = new ServiceClient();
SOAPHeaderBlock header = new SOAP11HeaderBlockImpl();
…

newday
- 3,842
- 10
- 54
- 79
1
vote
0 answers
Creating SOAP Headers in C#
I'm inexperienced with Web Services and I'm trying my best to get this working based on readings on MSDN and here in stackoverflow. Obviously, I'm still not getting it since I still cannot get it working so I'm seeking help.
Here's what I've been…

Ramone
- 11
- 3