Re: Switching from dynamic to static sdo dataobjects

2008-01-04 Thread Andrej Koelewijn
; HelperContext scope2 = SDOUtil.createHelperContext(); > StaticSdoFactory.INSTANCE.register (scope2); > // work with the static types in scope2 > // ... > > Frank. > > > > > "Andrej Koelewijn" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 01/03/2008 09:45 AM >

Re: Switching from dynamic to static sdo dataobjects

2008-01-03 Thread Andrej Koelewijn
s for your notes. I think from your other thread you are sorted > with regards to this issue now. Is that right? > Regards, Kelvin. > > On 31/12/2007, Andrej Koelewijn <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm trying to create some test prog

Switching from dynamic to static sdo dataobjects

2007-12-31 Thread Andrej Koelewijn
Hi, I'm trying to create some test programs with sdo, and one of the tests is that i create a datagraph using dynamic dataobjects (defined using an xsd), save the datagraph and then try to load it using static dataobjects. How do i redefine/reregister dataobjects? If i first define the dynamic ty

Re: Static sdo dataobjects and xml datagraph

2007-12-31 Thread Andrej Koelewijn
Never mind, got it, i can just cast the dataobject to a static dataobject. Regards, Andrej

Static sdo dataobjects and xml datagraph

2007-12-31 Thread Andrej Koelewijn
Hi, Can anybody point me to some examples or documentation describing how to use static generated sdo datatypes to read a xml datagraph? I've created an xml document using dynamic dataobjects (defining the types using an xsd). Next i've generated some static sdo data objects and now i want to read

Re: NPE when calling webservice component

2007-12-19 Thread Andrej Koelewijn
Done: https://issues.apache.org/jira/browse/TUSCANY-1941 Regards, Andrej On Dec 19, 2007 12:19 PM, Simon Laws <[EMAIL PROTECTED]> wrote: > On Dec 19, 2007 11:00 AM, Andrej Koelewijn <[EMAIL PROTECTED]> wrote: > > > Hi Simon, > > I included everything, including

Re: NPE when calling webservice component

2007-12-19 Thread Andrej Koelewijn
11:54 AM, Simon Laws <[EMAIL PROTECTED]> wrote: > On Dec 19, 2007 9:58 AM, Andrej Koelewijn <[EMAIL PROTECTED]> wrote: > > > Fixed it. It was a classpath issue, although i'm yet sure what. I had > put > > all jar from the libs and modules directories on m

Re: NPE when calling webservice component

2007-12-19 Thread Andrej Koelewijn
Fixed it. It was a classpath issue, although i'm yet sure what. I had put all jar from the libs and modules directories on my classpath. After i changed it to only include lib\tuscany-sca-manifest.jar it works as expected. Regards, Andrej

NPE when calling webservice component

2007-12-19 Thread Andrej Koelewijn
Hi, Hope someone can help me with this. I've created a simple echo service and exposed it as a web service component as follows: http://www.osoa.org/xmlns/sca/1.0"; targetNamespace="http://patient"; xmlns:pws="http://patient"; name="patient">