Hi,
I'm getting the following error when an incoming request (which contains XML
body) maps to my method which takes an argument object for the corresponding
xsd.
org.apache.cxf.interceptor.Fault: argument type mismatch while invoking
() with params
[javax.xml.bind.jaxbelem...@e85825].
Any idea
Sorry for the cluttered message.
Here I go again.
Thanks for your replies.
Having a custom @Context type is too much of a work for just to avoid
extracting the auth data manually. (and I'm not sure how to do that either
:-) )
___
[thinking wild]
Life can become so much easier
Thanks for your replies.
Having a custom @Context type is too much of a work for just to avoid
extracting the auth data manually. (and I'm not sure how to do that either
:-) )
___
[thinking wild]
Life can become so much easier if the framework can allow "@HeaderParam
along wi
quot;) on a method parameter of a service
> implementation will extract the authorization header.
>
> Hth.
>
> Gabo
>
> CXFbanda wrote:
>> Hi,
>>
>> I need to extract HTTP authorization header.
>> I am able to do it using @Context HttpHeader injection by CXF
Well, typos are the least of concerns as long as the info is useful (which
are) :-)
Thanks
Sergey Beryozkin-2 wrote:
>
> Your're welcome, sorry for my regular portion of typos :-)
>
> - Original Message -
> From: "CXFbanda"
> To:
> Sent: W
Hi,
I need to extract HTTP authorization header.
I am able to do it using @Context HttpHeader injection by CXF and then
extracting Authorization info from that.
However, i need to do that for all the resource mappings.
Is there any way I can avoid replicating code in each method?
Is there any way
ruary 2009 14:33
>>> To: users@cxf.apache.org
>>> Subject: RE: Selecting default media type [...@producemime]
>>>
>>> Hi
>>>
>>> In CXF 2.1.3 JAXB provider is considered less specific as it has no
>>> explicit ProduceMime/ConsumeMime value
onsumeMime values. In 2.1.4 you can explicitly
> register JAXB provider
> (org.apache.cxf.jaxrs.provider.JAXBElementprovider) and this will ensure
> that Accept:*/* is mapped to JAXB...
>
> Cheers, Sergey
>
> -Original Message-
> From: CXFbanda [mailto:cheta...@nortel.com]
> Sent: 17 Febru
Hi,
I have two methods in the resource class having
@ProduceMime("application/json")
&
@ProduceMime("application/xml")
Any incoming request with header - Accept:*/* is being mapped to json by
default.
However, I require it to be xml.
Anyway, I can do that?
I tried using @ProduceMime("*/*") on th