Subject: Re: AW: trying to extend...
- Next message: neil p chue hong: "Release 1.5 out"
- Previous message: Alexander Wohrer: "trying to extend..."
From: George Hicken1 (HICKENG@uk.ibm.com)
Date: Feb 24, 2003 15:09
Release 2 is end of march.
The .java files in uk.org.ogsadai.xml.griddataserviceconfig were generated
using IBM's xsdbeans (a tool that comes with Websphere Application
Developer). The xsdbeans.jar (required to run generated beans) is shipped
with the OgsaDAI distribution, but not the tool itself. We are planning on
removing this dependency for release 2.
It may be possible to take the methods:
public void setDataResource(int index, DataResourceType DataResource)
public DataResourceType getDataResource(int index)
public int getDataResourceCount()
public boolean removeDataResource(int index)
from
uk.org.ogsadai.xml.griddataservicefactoryconfig.GridDataServiceFactoryConfigType
and:
public DataResourceType createDataResourceType(String elementName)
from
uk.org.ogsadai.xml.griddataservicefactoryconfig.GridDataServiceFactoryConfigFactory,
and add these to the respective classes in
uk.org.ogsadai.xml.griddataserviceconfig (will need to copy
DataResourceType.java as well :)
Not tried this myself however.
--
George Hicken
hickeng@uk.ibm.com
Alexander Wohrer
<w.alexander@gmx. To: George Hicken1/UK/IBM@IBMGB
at> cc:
Subject: AW: trying to extend...
21/02/2003 15:54
[Alexander Wöhrer]
Thx for your fast response
Firstly I would advise waiting for release 2.
[Alexander Wöhrer]
Do you know when it comes out exactly?
If you want to do this immediately I suggest changing the schema to support
more than one DataResource (as you said), and then modifying
getStatementHandlerProperties(Element statement) in
uk.org.ogsadai.common.ServiceConfiguration to select the correct
DataResource based on the dataResource attribute of the statement element.
It may be that modifications will need to be made to the statement handlers
as well.
[Alexander Wöhrer]
My main problem is that I don't know how to generate the .java files from
the xsd files cause I think I need a new GridDataServiceConfig.java - do
you know how to do this?
Thx for your help,
Alexander Wöhrer
--
George Hicken
hickeng@uk.ibm.com
Alexander Wohrer <w.alexander@gmx.at>
Sent by: owner-users@ogsadai.org.uk To:
<users@ogsadai.org.uk>
cc:
21/02/2003 14:03 Subject: trying
to extend...
Hello,
I have made some changes to the GridDataServiceConfig.xsd
in order to
handle more than one DataResources
But didn't know now how to get the new java representation of it cause I
don't know from which WSDL file I should generate it?
Hope somebody can help me,
Alexander Wohrer
- Next message: neil p chue hong: "Release 1.5 out"
- Previous message: Alexander Wohrer: "trying to extend..."