users@glassfish.java.net

Re: XSD Generation

From: Paul <paul_at_nosphere.org>
Date: Thu, 14 Aug 2008 18:13:04 +0200

Le Thursday 14 August 2008 17:48:40 Kenneth Clark, vous avez écrit :
> Hi
>
> Is there a mechanism available to generate XSDs for JPA mapped entities for
> use in a WSDL? I see that Glassfish has the ability to do this on deploy,
> is there any way to do it manually? Any pointers to documentation would we
> great thanks

You could use wsimport/xjc ant tasks directly from your code to do the xsd
generation programaticaly.

Below theses ant tasks there must be APIs too.

Paul