JavaGenerator generates String from xsd:date ?

2006-06-14 Thread Guillaume Dufrene
Hi, I tried org.apache.tuscany.sdo.generate.JavaGenerator to generate classes. In my wsdl file, I have a xsd schema including complexType. Some attributes are xsd:date. The generation does not fail but these attributes are generated as String fields into the corresponding java class. Is there a

Re: java.lang.ClassCastException: org.apache.tuscany.sdo.impl.DynamicDataObjectImpl

2006-05-12 Thread Guillaume Dufrene
[...] Hi Guillaume, This could be related to TUSCANY-333, or maybe not :) Could you please create another JIRA and attach your test case to it with a brief description of any necessary steps to reproduce the problem, and one of us will take a look and will debug it. Thanks! Hi, I have

java.lang.ClassCastException: org.apache.tuscany.sdo.impl.DynamicDataObjectImpl

2006-05-10 Thread Guillaume Dufrene
Hi, I have this problem when I try to call an External Service with SOAP. A ClassCastException is thrown in a Proxy. Here the client trace : (there's no error on catalina) Exception in thread "main" java.lang.ClassCastException: org.apache.tuscany.sdo.impl.DynamicDataObjectImpl at $Proxy16.

Re: Helloworldwsclient broken ?

2006-04-27 Thread Guillaume Dufrene
Hi, I have a problem with this sample. When I launch HelloWorldClient, A NullPointerException is thrown : java.lang.NullPointerException at org.apache.tuscany.binding.axis2.util.AxiomHelper.toDataObject(AxiomHelper.java:190) at org.apache.tuscany.binding.axis2.util.AxiomHelper.toOMEl

Helloworldwsclient broken ?

2006-04-27 Thread Guillaume Dufrene
Hi, I have a problem with this sample. When I launch HelloWorldClient, A NullPointerException is thrown : java.lang.NullPointerException at org.apache.tuscany.binding.axis2.util.AxiomHelper.toDataObject(AxiomHelper.java:190) at org.apache.tuscany.binding.axis2.util.AxiomHelper.toOMElemen

[jira] Created: (TUSCANY-148) SDOUtils : registerStaticTypes error with package name.

2006-04-04 Thread Guillaume Dufrene (JIRA)
: Guillaume Dufrene Priority: Minor What about classes which aren't in a package ? I know this is a bad thing but it could happen... no ? You search for a dot but in these case no dot will be found... String temp = factoryClass.getName().replaceFirst("Factory$", "Packag

Re: SDO and DataFactory ...

2006-04-04 Thread Guillaume Dufrene
more questions. Please also open JIRA issues if you run into any problems, and don't hesitate to send us any patches if you have fixes for them :) Thanks for your reply, I'll try to contribute to your project. Congratulation to all of you, Tuscany seems me to be a good work ! - Guillaume Dufrene. smime.p7s Description: S/MIME Cryptographic Signature

[jira] Created: (TUSCANY-147) NullPointerException when DataFactory create called

2006-04-04 Thread Guillaume Dufrene (JIRA)
: Guillaume Dufrene Priority: Minor If an interface is not registered into the TypeHelper, a NullPointerException is thrown when user call the create method on DataFactory. A better Exception should be thrown. Something like "SDOUnregisteredInterfaceException" -- This

SDO and DataFactory ...

2006-04-03 Thread Guillaume Dufrene
Hi all, I'm curently playing around with Tuscany but I'm still confused with SDO and the DataFactory usage. I've created a new project from scratch an fallow the tutorial "Building your first application" (note that the svn version is different from this document on the sdo handle) My goal i