I've been messing with the jibx-soap code to try and add a full exception stack 
to the error message returned from the server.

I've added an ErrorBackTrace class, and populated it from the exception raised 
on the server side.  I've added a constructor to SOAPFault that takes the 
exception as a parameter.  I've then added this ErrorBackTrace instance, 
populated from the Exception using addFaultDetail().

I'm getting the error "java.lang.IllegalArgumentException: Fault detail must be 
marshallable" when I get an exception returned from a web service.

I've tried adding the following to the bottom of service-mapping.xml:

  <mapping name="exception-details" class="org.jibx.soap.ErrorBackTrace">
    value name="DateTimeRaised" field="dateTimeRaised"/>
    value name="ExceptionMessage" field="exceptionMessage"/>
    value name="ExceptionTraceback" field="exceptionTraceback"/>
    value name="ExceptionType" field="exceptionType"/>
  </mapping>

but I still get the not marshallable error.

Can someone give me any pointers as to what I've done wrong?

ta,

Tim.







-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to