Hi Jon,

I submitted on JIRA OPENEJB-1001, a patch file to illustrate the usage of
SOAP Headers (header @WebParam).

This patch add a new method on the Calculator webservice (simple-webservice
artifact).

It should work with the openejb-cxf 3.1. But, if you uncomment the line in
CalculatorImpl
//@HandlerChain(file = "handler.xml")

You will see it doesn't work anymore (IndexOutOfBoundsException).

Regards,
JLouis



Jonathan Gallimore-2 wrote:
> 
> Hi Jean-Louis,
> 
> I must admit I don't know very much about this, but I am very interested.
> Thanks for the patch that you've attached to the issue - do you by any
> chance have a small sample that demonstrates the problem?
> 
> Cheers
> 
> Jon
> 
> 2009/2/17 Monteiro Jean-Louis <[email protected]>
> 
>> Feedback on this issue would be appreciated.
>>
>> Jean-Louis
>>
>> -----Message d'origine-----
>> De : Jean-Louis MONTEIRO (JIRA) [mailto:[email protected]]
>> Envoyé : mardi 17 février 2009 13:05
>> À : Monteiro Jean-Louis
>> Objet : [jira] Created: (OPENEJB-1001) Can not use SOAP headers
>>
>> 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
>>
>>
>> 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.
>>
>>
>>
>>
>> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
>> exclusif de ses destinataires. Il peut également être protégé par le
>> secret
>> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
>> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
>> pouvant être assurée sur Internet, la responsabilité du groupe Atos
>> Origin
>> ne pourra être recherchée quant au contenu de ce message. Bien que les
>> meilleurs efforts soient faits pour maintenir cette transmission exempte
>> de
>> tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
>> responsabilité ne saurait être recherchée pour tout dommage résultant
>> d'un
>> virus transmis.
>>
>> This e-mail and the documents attached are confidential and intended
>> solely
>> for the addressee; it may also be privileged. If you receive this e-mail
>> in
>> error, please notify the sender immediately and destroy it. As its
>> integrity
>> cannot be secured on the Internet, the Atos Origin group liability cannot
>> be
>> triggered for the message content. Although the sender endeavours to
>> maintain a computer virus-free network, the sender does not warrant that
>> this transmission is virus-free and will not be liable for any damages
>> resulting from any virus transmitted.
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/TR%3A--jira--Created%3A-%28OPENEJB-1001%29-Can-not-use-SOAP-headers-tp22055979p23292201.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to