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
2 answers
Savon 2.11.1 set soap header after client is instantiated Rails + SSRS
I'm trying to integrate my rails app with a Sql Server Reports Services (SSRS) using Savon 2.11.1. I'm using the ReportServicesExecution2005 WSDL. The problem I have is that I have to add a session_id to the soap header after the client has been…

user2967603
- 139
- 12
1
vote
1 answer
Set xml rquest header in non-wsdl soap client using php
I am trying to make a non-wsdl SOAP client call using php. My code is something like this:
try {
$URL = 'http://example.com/webservices/security/accesscontrol.asmx';
$sc = new SoapClient(null, array(
'location' => $URL,
'uri' =>…

Mahfuz Rahman
- 13
- 6
1
vote
0 answers
Signing a Java SOAPheader using a X509 certificate
I have been given a X509 certificate that I have to use to sign a Java soapheader. How would I go about doing this?
Basically I want to do what is in this example but using a external X509 Certificate…

antland01
- 21
- 3
1
vote
1 answer
Set SOAP addressing header in server side CXF service implemenion
I have web service implemented in Apache CXF. Is there way how can I set SOAP header to request (server side) using AddressingProperties?
This works for me:
List headers = new ArrayList();
Header messageIDHeader = new Header(new…

Fenix
- 2,271
- 1
- 16
- 24
1
vote
2 answers
How do I get the SOAP headers as XML?
How can I get the SOAP header of my web service function as xml?
I need an XML version of my working SOAP header to use as an example for someone with broken SOAP headers. He's using a different programming language, but since the headers are sent…

thchaver
- 111
- 1
- 1
- 6
1
vote
2 answers
SOAP-WS security header authentication
I have developed a webservices using spring+ XSD+ Payload. I have a requirement of authenticating the request header with username and password coming in SOAP request header which i achieved with SOAPUI
I m able to generate the below header in the…

haja
- 135
- 1
- 4
- 12
1
vote
1 answer
Add custom header into Security element with WCF
Can I add and read a custom header in the Envelope/Header/Security element? I tried using the MessageHeader attribute, but that does not allow me to put the header in the Security element.
I created a class that implements IClientMessageInspector…

Toby Artisan
- 1,639
- 3
- 23
- 26
1
vote
1 answer
OperationContextScope vs MessageInpectors
Help me in understanding differences between these two. as per to me, Operation
ContextScope can be used irrespective of .NET application you are using like WCF, Console, Web, etc, anywhere this can be used if you are calling any other service like…

user3264937
- 81
- 14
1
vote
1 answer
Dataweave transformation for input variable to soap header
I need the value in input variable to be added to soap header, using Dataweave - I was using datamapper earlier, but since it's no more supported, want to do through Dataweave.
I'm not able to map between the data variable and outbound property in…

Shiva
- 105
- 1
- 9
1
vote
0 answers
Soap Header Web Service - UserNameToken
I am using a webservice on vs2013 which needs a UserNameToken.
When I am trying the request on soapui everything is fine.
soapui request is this,

Musa Alp
- 11
- 3
1
vote
1 answer
Adding soap headers in apache camel
I am calling a soap web service from Apache Camel, which is having header (for authentication) and the body. My Dataformat is POJO (tried with PAYLOAD too) Nothing got succeeded.
echange.getIn().setHeader() is not working (Checking the request…

kuttysun
- 7
- 4
1
vote
1 answer
C# Soap WebService SoapHeader doesn't appear in response
I have a Soap WebService with some WebMethods.
Some of this WebMethods receive input parameters and send an output value, but also send and custom class in its header (or at least that is what i want).
I read about SOAP Header and at some point i…

FEST
- 813
- 2
- 14
- 37
1
vote
1 answer
How to use Soap Header with AngularJS AJAX
I create application for mobile use ionic framework connect to sql server 2008 through ASP.NET webservice. When I use SOAP header AngularJs $http.post() does not send data.
Login Method
public AuthHeader…

Kim Thao Huynh
- 11
- 2
1
vote
0 answers
CXF soap header with namespaces grouped at Envelope tag
I have archived put a SOAP header using this code using the CXF Runtimes
//Create The Service
URL wsdlURL = RentaCarService.WSDL_LOCATION;
RentaCarService ss = new RentaCarService(wsdlURL, new QName("http://karve.com/",…

josepmra
- 617
- 9
- 25
1
vote
2 answers
Modify Soap header in SoapHandler
I am trying to modify a soap header, and i want header to be like this

Shashank Degloorkar
- 3,151
- 4
- 32
- 50