Skip to main content

How to change SOAPFault code when sending in invalid XML to JAXWS/Metro

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
tmulle
Offline
Joined: 2003-09-11

Hi,

Sorry for the crossposting, but I'm not sure which is the more appropriate section in the forum since it could fit into both METRO/JAXB and JAXWS/XML sections

Any ideas?
http://www.java.net/forum/topic/java-web-services-and-xml/java-ws-xml-co...

Thanks,
- Tim

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmazza
Offline
Joined: 2005-01-14

Look at the "setFaultCode(..."server")" statement under Step #5 (class DoubleItPortTypeImpl) here:
http://www.jroller.com/gmazza/entry/using_mtom_and_apache_fop -- that might be what you're looking for.

Glen