Well, another issue is that according to the WSDL spec, the fault part 
should be an element, not a type.   The "name" should then be 
irrelevant.

Dan


On Wednesday 12 September 2007, Zarar Siddiqi wrote:
> I'm seeing the following behavior.  I have an exception which is
> annotated with:
>
> @WebFault(name="WebServiceException")
> @XmlType(name="WebServiceException",
> namespace="http://arsenalist.com";) public class MyWebServiceException
> extends Exception {...}
>
> but the WSDL that is generated is:
>
> wsdl:message name="MyWebServiceException">
> <wsdl:part name="fault" type="ns1:WebServiceException"></wsdl:part>
> </wsdl:message>
>
> IMHO, the name of the part should be "WebServiceException" and not
> "fault". Is my thinking correct? If not, how do you change the WSDL
> part name?  Are there any Aegis annotations that can be used at the
> class level to change this?
>
> Thanks,
> Zarar



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to