We have Web Service using Xfire (1.2.5) with MTOM enabled to handle some text field which may contain low ascii characters. It works fine with return objects containing byte [] fields. but one of our exception also have a byte[] filed. when this exception throws, we get a following error:
Caused by: org.codehaus.xfire.XFireRuntimeException: Could not receive fault.. Nested exception is org.codehaus.xfire.fault.XFireFault: Could not find the attachment cid:117588485508510834698596@http://www.w3.org/2001/XMLSchema at org.codehaus.xfire.client.Client.onReceive(Client.java:412) at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139) at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75) ... 37 more Caused by: org.codehaus.xfire.fault.XFireFault: Could not find the attachment cid:117588485508510834698596@http://www.w3.org/2001/XMLSchema at org.codehaus.xfire.aegis.type.mtom.AbstractXOPType.readInclude(AbstractXOPType.java:62) at org.codehaus.xfire.aegis.type.mtom.AbstractXOPType.readObject(AbstractXOPType.java:45) at org.codehaus.xfire.aegis.type.basic.Base64Type.readObject(Base64Type.java:55) at org.codehaus.xfire.aegis.type.basic.BeanType.readObject(BeanType.java(Compiled Code)) at org.codehaus.xfire.aegis.type.basic.BeanType.readObject(BeanType.java(Compiled Code)) at org.codehaus.xfire.aegis.AegisBindingProvider.readParameter(AegisBindingProvider.java:162) at org.codehaus.xfire.client.ClientFaultConverter.processFaultDetail(ClientFaultConverter.java:51) at org.codehaus.xfire.client.ClientFaultConverter.invoke(ClientFaultConverter.java:32) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Client.onReceive(Client.java:40 Seems like the xfire can not find the base64Binary attachment for the exception (XfireFault). Any recommendation about how to fix the problem will be appreciated! Thanks. Long ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
