Done: AXIS2-4363

I can definitly help. Let me know what you need.

Regards,

Julien




________________________________
De : Andreas Veithen <andreas.veit...@gmail.com>
À : axis-user@ws.apache.org
Envoyé le : Mardi, 2 Juin 2009, 17h30mn 16s
Objet : Re: Re : ClassCastException when enabling MTOM

Yes, please go ahead an open a JIRA issue.

BTW, I have a pretty clear idea where the problem is located. It's in
the stylesheet used by codegen for ADB. Are you motivated to help us
to fix it and test the change?

Andreas

On Tue, Jun 2, 2009 at 17:14, Julien HENRY <henr...@yahoo.fr> wrote:
> Hi Andreas,
>
> Thanks for the tip. It works fine with log level > DEBUG.
>
> FYI I have tested with Axis2 1.5 and we still have the classcast exception
> when running in debug mode.
>
> Should I open a JIRA issue for tracking?
>
> Thanks,
>
> Julien
>
> ________________________________
> De : Andreas Veithen <andreas.veit...@gmail.com>
> À : axis-user@ws.apache.org
> Envoyé le : Mardi, 2 Juin 2009, 14h13mn 47s
> Objet : Re: ClassCastException when enabling MTOM
>
> Julien,
>
> Can you check if the problem disappears if you set the log level for
> org.apache.axiom to something higher than DEBUG?
>
> Andreas
>
> PS: If that question sounds strange to you, please have a look at the
> code in OMElementImpl#getXMLStreamReader; you will understand...
>
> On Tue, Jun 2, 2009 at 14:04, Julien HENRY <henr...@yahoo.fr> wrote:
>> Hi everybody,
>>
>> When I try to enable MTOM for handling big attachments, I receive the
>> following error when using the generated client stub:
>>
>> java.lang.ClassCastException:
>> org.apache.axiom.om.util.OMXMLStreamReaderValidator cannot be cast to
>> org.apache.axiom.om.impl.llom.OMStAXWrapper
>>     at
>>
>> com.xxx.vaultwebservice.client.Vault_WebServiceStub$XXXBundleType$Factory.parse(Vault_WebServiceStub.java:21236)
>>     at
>>
>> com.xxx.vaultwebservice.client.Vault_WebServiceStub$DownloadXXXResponse$Factory.parse(Vault_WebServiceStub.java:56454)
>>     at
>>
>> com.xxx.vaultwebservice.client.Vault_WebServiceStub.fromOM(Vault_WebServiceStub.java:64390)
>>
>> I'm using Axis2 1.4.1 with following Maven dependencies:
>>
>>        <dependency>
>>             <groupId>org.apache.axis2</groupId>
>>             <artifactId>axis2-kernel</artifactId>
>>             <version>1.4.1</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.apache.axis2</groupId>
>>             <artifactId>axis2-adb</artifactId>
>>             <version>1.4.1</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.apache.ws.commons.axiom</groupId>
>>             <artifactId>axiom-api</artifactId>
>>             <version>1.2.8</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>org.apache.ws.commons.axiom</groupId>
>>             <artifactId>axiom-impl</artifactId>
>>             <version>1.2.8</version>
>>         </dependency>
>>         <dependency>
>>             <groupId>wsdl4j</groupId>
>>             <artifactId>wsdl4j</artifactId>
>>             <version>1.6.2</version>
>>         </dependency>
>>
>> Any idea of what is the issue?
>>
>> Thanks
>>
>> Julien
>>
>>
>
>



      

Reply via email to