Questions tagged [soaphandler]
56 questions
2
votes
0 answers
SOAP handlers using java keystore
I am working on web services security, trying to encrypt and sign SOAP messages between the server and the client. I used BouncyCastle, WSS4j and SOAP handlers.
To test my work at first I used the same keystore file on both the server and the client…

fakhreddine
- 41
- 1
- 7
2
votes
1 answer
SOAP UI Generated JAVA client throwing MustUnderstandHeaders are not understood error
This is my first post here so please be patient. I have a WSDL and I used SOAP UI to generate the Java Client. I plugged in the client into a test project and am using the client to access the web service. The web service expects security…

vineets
- 51
- 4
2
votes
4 answers
JAX-WS SoapHandler with large messages: OutOfMemoryError
Using JAX-WS 2, I see an issue that others have spoken about as well. The issue is that if a SOAP message is received inside a handler, and that SOAP message is large - whether due to inline SOAP body elements that happen to have lots of content, or…

Ahmed
- 590
- 8
- 19
2
votes
0 answers
Passing parameters through SOAPHandler in WebServices
I have a JBoss AS in which a web service is deployed. Calls to this web service produce calls to another web service in another JBoss AS.
I'm interested in passing some paramenters in the header of the SOAP messages, so when a SOAP message arrive to…

dawww
- 371
- 1
- 4
- 16
1
vote
0 answers
How to display SOAP Request Message on client side application before request is sent or if request is not sent?
I have to build a UI that consumes and needs to display the xml request and responses to a SOAP Web Service.
(This is the first time I am working with SOAP and also my first stack question).
All the questions I've seen only answer half of what I'm…

Areeb Royepen
- 11
- 1
1
vote
0 answers
JAX-WS Cant send the modified soap envelope
I created a handler to change the namespace of the genrated soap envelope, but when i send the message, i have the feeling that, the old enveloppe is sent.
Below the code of the handler:
@Override
public boolean…

Bocar Alpha Ba
- 39
- 1
- 7
1
vote
1 answer
SOAPHandler: How to remove automatically added namespace/attribute from child element
I'm trying to setup a SOAPHandler on my server to convert this incoming request
…

Markus
- 1,452
- 2
- 21
- 47
1
vote
0 answers
WS-Security with usernametoken
I have a soap WS and need to add the WS-Security usernametoken. I have implemented server side a SoapHandler (annotating @HandlerChain(file="handler-chain.xml") the implementation class) that should parse the soapHeader looking for the username and…

DarkAngeL
- 419
- 2
- 5
- 17
1
vote
0 answers
how to remove namespace prefix soap handler handleMessage
I need to remove all namespace prefix "bim" in the following soap request . How do i do that inside soap handler handleMessage?
123
…

Ajay
- 23
- 2
- 9
1
vote
0 answers
Custom SOAP envelop for soap response
i'm developing soap app using Spring + SOAP+JAXB+XSD
i want to do customize the soap header
My Existing response
…

senthil raja
- 79
- 1
- 1
- 5
1
vote
1 answer
SOAPHandler and Spring Autowire
I'm trying to inject a Spring Service into a SOAPHandler but the reference is always null.
I tried extending SpringBeanAutowiringSupport and using:
public class FuelServiceSOAPHandlerBase extends SpringBeanAutowiringSupport implements…

Rubén
- 427
- 1
- 9
- 23
1
vote
2 answers
validating SOAP-Request with a SOAPHandler
I'm trying to validate a SOAP-Request against the Schemas defined in the WSDL. I'm using a SOAPHandler with a SOAP-Handler-Chain. It works the only problem is that when I'm validating the request, I get this error message:
cvc-complex-type.2.4.a:…

Rubén
- 427
- 1
- 9
- 23
1
vote
1 answer
WRONG_DOCUMENT_ERR when attaching Element to SOAP Header
Currently I get the following error when I am attempt to attach an org.w3c.dom.Element to an existing SOAPHeader in a javax.xml.ws.handler.soap.SOAPHandler during an outgoing client side message:
org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node…

dsutherland
- 792
- 6
- 15
1
vote
2 answers
How to change the response soap message in javax.xml.rpc.handler.Handler.handleFault(MessageContext ctx)
I wrote a handler (javax.xml.rpc.handler.Handler) for a SOAP web service that inspects header data. How can I modify the response message when the method handleFault is invoked?
public class SeguridadHandler implements javax.xml.rpc.handler.Handler…

rodrigoap
- 7,405
- 35
- 46
1
vote
1 answer
Using Spring to configure SOAP handlers
I have a custom SOAP handler that I am using for schema validation of the SOAP messages. It works for on web service, I'd like to be able to use it for others. The code that does the validation itself is quite generic - the only real input to it is…

FrustratedWithFormsDesigner
- 26,726
- 31
- 139
- 202