[
https://issues.apache.org/jira/browse/OPENEJB-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Louis MONTEIRO updated OPENEJB-1001:
-----------------------------------------
Attachment: patch-openejb-1001.txt
Here is a patch file.
As you will probably see, I found 2 possible solutions to reserialize the
message. The first one is uncommented and the second one is commented.
The first solution assumes InputStream provided by the HttpDestination supports
mark()/reset() from the InputStream class.
I don't know which one is better.
Moreover, I added some interceptors to the IN PhaseInterceptorChain (CXF).
The StaxInInterceptor is mandatory when using the first solution in reserialize
method.
Feedback is welcome.
Jean-Louis
> Can not use SOAP headers
> ------------------------
>
> Key: OPENEJB-1001
> URL: https://issues.apache.org/jira/browse/OPENEJB-1001
> Project: OpenEJB
> Issue Type: Bug
> Components: webservices
> Affects Versions: 3.1
> Environment: all
> Reporter: Jean-Louis MONTEIRO
> Fix For: 3.1.1
>
> Attachments: patch-openejb-1001.txt
>
>
> Can not use SOAP headers when SOAP handlers are defined.
> @WebMethod(action="doSmth")
> @WebResult(name="response")
> DoSmthResponse doSmth (
> @WebParam(name="request") DoSmthRequest request,
> @WebParam(name="datetime", header=true, mode=WebParam.Mode.OUT)
> Holder<Date> datetime);
> It only appears when SOAP handlers are defined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.