Java Mailing List Archive

http://www.java2.5341.com/

Home » axis-user.ws »

RE: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not
serialize

Tony Dean

2008-07-03

Replies: Find Java Web Hosting

Author LoginPost Reply

don’t know about your issue, but there are other issues fixed in 1.4 that were broke in 1.3 so I wouldn’t go back there.

 

From: Attharkar, Asmita [mailto:aatthark@telcordia.com]
Sent: Thursday, July 03, 2008 9:40 AM
To: axis-user@ws.apache.org
Subject: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

 

All,

 

I am trying to send a pdf attachment in the soap message but I get this:

 

org.apache.axis2.databinding.utils.ConverterUtil.serializeAnyType(ConverterUtil.java:1449)

 

And the message doesn’t come to web services server, it is failing in OperationClient.execute() method itself.

The AxisFault message shows “Unknow type can not serialize”. What could be the possible reasons for this or is this a known issue with axis2 1.4 release? Should I use axis2 1.3 release if I need to send an attachment using MTOM?

 

Thanks so much for you help!

 

I am using JRE and JDK 1.5_15, Ant 1.6, apache tomcat server 1.6 and Axis2 1.4

 

Thanks,

Asmita

 

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.