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
Can I use OperationContextScope in any .NET client?
I am exploring around injecting soap headers into out going message while calling java based service from .NET client.
I see that OperationContextScope is best fit for my requirement as shown below and which works fine in initial test. I wanted to…

user3264937
- 81
- 14
0
votes
1 answer
remove soap header WCF SOAP service
I know there are many answers to do with this but I am still confused as many don't go into detail on their services.svc class or their web config
I would like to know how to empty a soap header which has nothing inside it
so from this
…

user3428422
- 4,300
- 12
- 55
- 119
0
votes
0 answers
Authenticate SOAP Header request for webservice
I need to authentication SOAP header and give the response accordingly in my web service. The authentication header will verify the userId and password information.
If authenticated, then SOAP body of the request will be processed, else Invalid…

haja
- 135
- 1
- 4
- 12
0
votes
0 answers
CXF WS-Security - X509IssuerSerial validation fails
I encountered issues while working with CXF WS-Security and Signature verification. I use WSS4JInInterceptor on server side in order to verify signature over Body element.
- When I usee BinarySecurityToken (DirectReference) as a key identifier type…

user2310395
- 297
- 3
- 6
0
votes
3 answers
How to add xmlbean document element to soap header spring-ws
I am trying to hit a webservice using spring-ws, but the webservice producer requires a custom element in the soap header. I am very new to webservices, and am having trouble trying to inject the values into the soap header. I am using XMLBeans to…

Scott
- 174
- 5
- 19
0
votes
1 answer
Customize SOAP header in Java
I am pretty new to SOAP and I would like to learn how to customize SOAP header. More specifically, I am trying to configure my outbound message SOAP header to be compliant with the expected format. The header is going to be used for authentication…

BustedSanta
- 1,368
- 7
- 28
- 55
0
votes
2 answers
SOAP Header: Communication secured between Flex and C#
I am working with Flex, Webservices and C# and I would like to secure the access on my web services through SOAP.
I spent 2 days on this problem:
My asmx file where i describe my webmethod:
public ServiceAuthHeader CustomSoapHeader = new…

user343231
- 1
- 1
- 1
0
votes
0 answers
Retrieving credentials from SOAP header
This a sample SOAP request I'm sending to a WS which is deployed in WAS 8.5

Kaliyug Antagonist
- 3,512
- 9
- 51
- 103
0
votes
0 answers
Custom soap header with asmx web service
My WebService (simplified)
public class ContactService : WebService
{
public AuthenticationHeader AuthenticationInformation;
public class AuthenticationHeader : SoapHeader
{
public string Token;
}
}
My Client…

Julien
- 212
- 1
- 18
- 53
0
votes
1 answer
c# web service client: how to add custom header to request?
to access a web service i created a proxy class using visual studio "add service reference". Unfortunatly i have to put in the soap header the followings elements
XXXXXXXXXX

Alessandro
- 137
- 3
- 14
0
votes
0 answers
Custom Soap Header in asmx web serrvice
In an existing web service application(asmx services) I need to add new service which will be called through SOAP(java client), and it looks some thing like this

Vishwanath Mishra
- 445
- 5
- 20
0
votes
1 answer
Find the right response to a soap request (java-ws)
I need to save the soap request and response in the database. Is there a simple way to find which response belongs to which request? Do we have something like sessionID in soap messages?

nolazem
- 45
- 5
0
votes
2 answers
XElement Automatically Having xmlns attribute
Dim soapEnvelope As XElement = New XElement(soap + "Envelope",
New XAttribute(XNamespace.Xmlns + "soap", soap.NamespaceName),
New XAttribute(soap + "encodingStyle",…

HelpASisterOut
- 3,085
- 16
- 45
- 89
0
votes
2 answers
Still cannot access SoapHeader from endpoint
I am new to web services. After much googling and trying everything that's been posted about accessing the SoapHeader from endpoints, I still cannot get it to work. I'm getting the following error:
java.lang.IllegalStateException: No adapter for…
0
votes
1 answer
NuSOAP Header Authentication PHP Webservice
I am new to SOAP webservices and I need to develop a SOAP Server Webservice that authenticates with the header information. I am using NuSOAP as it seems to be a pretty helpful class. I can find a lot of information in regards to the client side of…

dsketch21
- 46
- 1
- 4