You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Flavio Campana <fl...@maggioli.it> on 2014/06/20 15:10:23 UTC

Error after upgrade from 3.0.0-milestone2 to 3.0.0

I've got an unexpected error after uprgading my dependencies to CXF-3.0.0.
This is the exception i get:
com.sun.istack.SAXParseException2: 
(uri:"http://wsmaggioliservice.informatica.maggioli.it/", 
local:"richiesta"). Expected elements are <{}richiesta>

The request sent is the following one, which worked fine before:
<getClienteEnabled 
xmlns="http://wsmaggioliservice.informatica.maggioli.it/">
<richiesta xmlns="">
...
</richiesta>
</getClienteEnabled>

(i omitted a few parts to keep things short)
it seems like the empty xmlns is ignored.

What should i do?

Re: Error after upgrade from 3.0.0-milestone2 to 3.0.0

Posted by Flavio Campana <fl...@maggioli.it>.
With 3.0.1-SNAPSHOT it's fixed.

Il 20/06/2014 15:17, Daniel Kulp ha scritto:
> This is likely due to CXF-5753 and/or CXF-5811.   Both are fixes for the 3.0.1-SNAPSHOT, but it would be great if you could give the snapshot a try to verify.
>
> Dan
>
>
>
> On Jun 20, 2014, at 9:10 AM, Flavio Campana <fl...@maggioli.it> wrote:
>
>> I've got an unexpected error after uprgading my dependencies to CXF-3.0.0.
>> This is the exception i get:
>> com.sun.istack.SAXParseException2: (uri:"http://wsmaggioliservice.informatica.maggioli.it/", local:"richiesta"). Expected elements are <{}richiesta>
>>
>> The request sent is the following one, which worked fine before:
>> <getClienteEnabled xmlns="http://wsmaggioliservice.informatica.maggioli.it/">
>> <richiesta xmlns="">
>> ...
>> </richiesta>
>> </getClienteEnabled>
>>
>> (i omitted a few parts to keep things short)
>> it seems like the empty xmlns is ignored.
>>
>> What should i do?


Re: Error after upgrade from 3.0.0-milestone2 to 3.0.0

Posted by Daniel Kulp <dk...@apache.org>.
This is likely due to CXF-5753 and/or CXF-5811.   Both are fixes for the 3.0.1-SNAPSHOT, but it would be great if you could give the snapshot a try to verify.

Dan



On Jun 20, 2014, at 9:10 AM, Flavio Campana <fl...@maggioli.it> wrote:

> I've got an unexpected error after uprgading my dependencies to CXF-3.0.0.
> This is the exception i get:
> com.sun.istack.SAXParseException2: (uri:"http://wsmaggioliservice.informatica.maggioli.it/", local:"richiesta"). Expected elements are <{}richiesta>
> 
> The request sent is the following one, which worked fine before:
> <getClienteEnabled xmlns="http://wsmaggioliservice.informatica.maggioli.it/">
> <richiesta xmlns="">
> ...
> </richiesta>
> </getClienteEnabled>
> 
> (i omitted a few parts to keep things short)
> it seems like the empty xmlns is ignored.
> 
> What should i do?

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com