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
0
votes
1 answer
Amadeus e-Power Web Service - issues setting SOAP auth headers
I'm having issues setting AuthenticationSoapHeader for Amadeus e-Power services. I'm using PHP's built in SoapClient.
WSDL: https://staging-ws.epower.amadeus.com/ws_usitcolours/EpowerService.asmx?WSDL
Basic class I've made to test things out:
class…

Nikolay Mihaylov
- 3,868
- 8
- 27
- 32
0
votes
1 answer
How to externalise repeated SOAP response attributes in mule dataweave?
I am constructing a SOAP response in Dataweave. Certain components (ESBHeader) of the response are repeated in multiple flows. I also need to set the Status code and message per request.
I need a generic/common way of loading these repeated lines…

Chultu
- 13
- 5
0
votes
1 answer
gSOAP: invalid use of incomplete type 'struct SOAP_ENV__Header'
I try to get some data from a SOAP header but I receive the error written down in the title.
I used gSOAP to create the proper code from a wsdl file, i.e.:
...
wsdl2h -nMyNamespace -NMyNamespace -qMyNamespace -v -s -t…

Rorschach
- 225
- 1
- 11
0
votes
1 answer
Consuming web service SOAP Header
I am trying to learn web services and created a simple one. Now, I want to secure it with authentication. I found out people achieve this with deriving a class from SoapHeader. I achieved it but now my webmethod requires one more parameter. I am…

Finagle
- 25
- 5
0
votes
0 answers
Soap headers are not showing in tcp/ip monitor
Am trying to send a soap request using jax-ws-spring framework, but there was a change request to send credentials in soap header.
i have tried to implement a method where it sets the username and password in soap header, however i don't see the…
0
votes
1 answer
.netcore soap Authentication
I am migrating from .netframework to .netCore. I have a webservice for which I am using SoapCore as alternative in .netCore. the webservice has authentication required as SoapHeader. How do i implement that in SoapCore?

Blue Jay
- 71
- 1
- 12
0
votes
1 answer
How to set header to call soap service in mulesoft
I want to call one soap service through mulesoft.
To attach header to soap request body I used these links -Mule 3.7. Add custom SOAP header to web-service-consumer. As mentioned in this link, I have added "Message Properties" component before "Web…

Nitesh
- 1,477
- 5
- 23
- 34
0
votes
1 answer
C# web service code equivalent in php (sending auth data as header)
We are trying to use a web service (SoapClient) in a PHP project to send SMS.
The web service is created with C# (dot net framework). The project manager described that the authentication data have to be sent using headers not as arguments in method…

Mehran Ahmadian
- 3
- 2
0
votes
1 answer
How to catch custom SOAP Header localPart Request in Spring Boot
I have POJO class named RequestSOAPHeader for SOAP Header.
In the @Endpoint I am catching the header like below
@SoapHeader("{" + RequestSOAPHeader.AUTH_NS + "}RequestSOAPHeader")SoapHeaderElement auth
My problem is when I am trying to unmarshall…

Saikat1529
- 186
- 12
0
votes
2 answers
CXF: Multiple parts in soap header
I need a soap header like this:
WORLD
I tried to create it like:
new SoapHeader(new QName("http://foourl", "MyHeader", "foo"),
…

t777
- 3,099
- 8
- 35
- 53
0
votes
1 answer
ASMX Use compiled type instead of generated type for SoapHeader
I haven't worked much with soap headers, so I'm hoping there's an answer here. Here's a simple example of what I'm trying to accomplish.
I have an ASMX web service and a client, along with a shared DLL. In shared.dll, I have a serializable type,…

Joe Enos
- 39,478
- 11
- 80
- 136
0
votes
2 answers
Adding HTTP Headers on SoapServer Response
Is there a way to add an HTTP Header in a response of a SoapServer.
For example: I want the response of my SoapServer to add
"Location", "http://localhost"
HTTP/1.1 307 Temporary Redirect
Location: http://localhost
Content-Type: text/xml;…

Red
- 65
- 9
0
votes
0 answers
Is there some way I can send the SoapAction header within the xml request itself
I can send the Basic Authentication request within the xml itself without even writing something like
request.headers.add("");
and adding like this

user4259788
- 117
- 7
0
votes
1 answer
Adding two Soap header tags
I'm trying to invoke a SOAP 1.2 WS which need a SOAP Header.
I'm using an integration designer called SAP Hana Cloud Integration, I'm receiving a full XML message but without a header and the receiver system must receive the MessageId to accept the…
0
votes
1 answer
How to make PHP SOAP Header like this xml snippet?
I'm trying to make a soap header that would look like this:
testName
testPassword
…

uRockNinja
- 359
- 3
- 6