Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Product and Other Certifications
How to generate wsdl:fault from XSD
posted 6 years ago
I have one xsd and i want to generate WSDL from that xsd using xFire JAXB generator.
<xsd:element name="AuthorizationFailedException" type="???">
I want to define my WS method like that
ManageUserResponse ManageUser(@WebParam(name = "ManageUser") ManageUser body) throws AuthorizationFailedException;
But the code that is generated for AuthorizationFailedException don't extends Exception so i cannot use it in throws clause.
My question is how can I define an element whose type is a
object rather than objects defined in xsd schems like s:
, s:int etc. and do I need any extra setting /jar for that?
I agree. Here's the link:
Custom Exception in WebService
Convert XSD to XML
problem defining "this or that OR this and that" with Castor
Problem mapping to form bean
How to map a xm type to javax.soap.SOAPElement type