• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to generate wsdl:fault from XSD

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
@WebMethod
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:string, s:int etc. and do I need any extra setting /jar for that?

Zaid
reply
    Bookmark Topic Watch Topic
  • New Topic