
Hi, Try if this works? <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="xxx" targetNamespace="http://xxx" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" <wsdl:types> <xsd:schema targetNamespace="http://xxx"> <xsd:include schemaLocation="xxx/jsdl.xsd"/> </xsd:schema> </wsdl:types> </wsdl:definitions> name the above codes into xxx.wsdl, then pass to Axis. you need to replace xxx with proper ones. You could also give it a package name where you want the classes to be generated when you tool it. Regards, Vivian
-----Original Message----- From: owner-jsdl-wg@ggf.org [mailto:owner-jsdl-wg@ggf.org] On Behalf Of Aleksandr Konstantinov Sent: 15 April 2005 12:46 To: jsdl-wg@ggf.org Subject: Re: [jsdl-wg] Any JSDL parser around
It seems Axis can't digest jsdl.xsd. Any suggestions on how to convert it to wsdl (if possible at all)?
A.K.
On Fri, 15 Apr 2005 13:11:05 +0200 Roger Menday <r.menday@fz-juelich.de> wrote:
On Fri, 2005-04-15 at 11:11 +0100, William Lee wrote:
When you say a parser, do you mean a XML-to-Object binding for
schema? JSDL is specified in XML, therefore any XML tools (e.g. DOM4j, JDOM, JAXB in Java) will do the job.
In java, I'm currently using xmlbeans, http://xmlbeans.apache.org/ for this kind of thing. IMHO the XML schema support is unparallelled. It eats the JSDL.xsd with no problems ! I guess everyone has their favourite in such matters though.
Roger
If you are looking for a JSDL consumer, Imperial College has a project called GridSAM (http://www.lesc.ic.ac.uk/gridsam), which translates JSDL into DRM-specific (e.g. Condor, SGE) actions. UCL has a project for translating JSDL into Condor ClassAds.
William
Aleksandr Konstantinov wrote:
Hello JSDL gurus,
Does anybody know any common purpose JSDL parser implementation? Or
JSDL project which is going to release such?
Preferably with C/C++ API.
Thanks,
A.K.

Thaks a lot for a hint. It almost worked. I only had to add definition of type including JobDefinition and service which uses taht type. On Fri, 15 Apr 2005 13:11:12 +0100 "Vivian Li" <Vivian.Li@uk.fujitsu.com> wrote:
Hi,
Try if this works?
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="xxx" targetNamespace="http://xxx" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
<wsdl:types> <xsd:schema targetNamespace="http://xxx"> <xsd:include schemaLocation="xxx/jsdl.xsd"/> </xsd:schema> </wsdl:types>
</wsdl:definitions>
name the above codes into xxx.wsdl, then pass to Axis. you need to replace xxx with proper ones. You could also give it a package name where you want the classes to be generated when you tool it.
Regards, Vivian
-----Original Message----- From: owner-jsdl-wg@ggf.org [mailto:owner-jsdl-wg@ggf.org] On Behalf Of Aleksandr Konstantinov Sent: 15 April 2005 12:46 To: jsdl-wg@ggf.org Subject: Re: [jsdl-wg] Any JSDL parser around
It seems Axis can't digest jsdl.xsd. Any suggestions on how to convert it to wsdl (if possible at all)?
A.K.
On Fri, 15 Apr 2005 13:11:05 +0200 Roger Menday <r.menday@fz-juelich.de> wrote:
On Fri, 2005-04-15 at 11:11 +0100, William Lee wrote:
When you say a parser, do you mean a XML-to-Object binding for
schema? JSDL is specified in XML, therefore any XML tools (e.g. DOM4j, JDOM, JAXB in Java) will do the job.
In java, I'm currently using xmlbeans, http://xmlbeans.apache.org/ for this kind of thing. IMHO the XML schema support is unparallelled. It eats the JSDL.xsd with no problems ! I guess everyone has their favourite in such matters though.
Roger
If you are looking for a JSDL consumer, Imperial College has a project called GridSAM (http://www.lesc.ic.ac.uk/gridsam), which translates JSDL into DRM-specific (e.g. Condor, SGE) actions. UCL has a project for translating JSDL into Condor ClassAds.
William
Aleksandr Konstantinov wrote:
Hello JSDL gurus,
Does anybody know any common purpose JSDL parser implementation? Or
JSDL project which is going to release such?
Preferably with C/C++ API.
Thanks,
A.K.
participants (2)
-
Aleksandr Konstantinov
-
Vivian Li