Hi, I've got the following specific exception:
import javax.xml.ws.WebFault; /** * This class was generated by the JAX-WS RI. * JAX-WS RI 2.1.4-b01- * Generated source version: 2.1 * */ @WebFault(name = "MathFault", targetNamespace = "http://pilot.ik.bme.hu/PilotFeladatok") public class MathFaultMessage extends Exception { private MathFault faultInfo; ... } With other operations (mostly from java.lang.Exception and constructors and a getter). The MathFault looks like this: import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for MathFault complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="MathFault"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Operation" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Problem" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MathFault", propOrder = { "operation", "problem" }) public class MathFault { @XmlElement(name = "Operation", required = true, nillable = true) protected String operation; @XmlElement(name = "Problem", required = true, nillable = true) protected String problem; ... } With getters and setters. My problem is the when I throw the MathFaultMessage only the super.detailMessage generates it self to the Soap message, and the MathFault doesn't. Under Openesb everything works fine, but under Axis2 1.4 JAXWS this problem occurs. (And I have to do it in Axis2). Why is this? Axis2 doesn't support this? Thanks. -- Horváth Tamás --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
