A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Product and Other Certifications
How to generate wsdl:fault from XSD
Joined: Dec 29, 2003
Jun 10, 2009 11:04:09
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 Java object rather than objects defined in xsd schems like s:
, s:int etc. and do I need any extra setting /jar for that?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How to generate wsdl:fault from XSD
Custom Exception in WebService
Problem mapping to form bean
How to map a xm type to javax.soap.SOAPElement type
problem defining "this or that OR this and that" with Castor
Convert XSD to XML
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014