I will check out that test case and try to build a sample to contribute. My 
problems have not been very consistent, depending on which combination of SCA 
and SDO I use. I've been trying with SCA 0.90 with SDO beta 1, SCA trunk with 
whatever version of SDO maven retrieves, SCA trunk with SDO trunk, and SCA 0.90 
and SCA trunk with SDO revision that has this fix: 
https://issues.apache.org/jira/browse/TUSCANY-1250 . Also looked quickly at the 
SCA 0.91 branch, but building with mvn did not complete. What is a good version 
of SCA/SDO I should use to build the sample with?


----- Original Message ----
From: Jean-Sebastien Delfino <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, June 27, 2007 8:31:29 PM
Subject: Re: Sample with SDO Databinding over web service


[EMAIL PROTECTED] wrote:
> I've been running into all kinds of problems trying to get a simple example 
> going using a webapp, SDO objects generated from a wsdl and webservice 
> binding. Is there a sample (or anyone have existing working code) in this 
> kind of format?  I thought it would be a common basic scenario, but I didn't 
> see any SDO databinding samples around.  Would appreciate any sort of 
> guidance.
>   

Hi,

There's no sample yet, but a pretty comprehensive test case there:
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/itest/wsdl/

In that test suite, take a look at:
SDOWSDLTest.java - calls Web Service operations that flow various 
combinations of simple and complex types, represented as SDO DataObjects
AccountService.wsdl - the test Web service description
SDOWSDLTest.composite - the test composite, declares an SDO DataFactory 
using an <import.sdo> extension element

Hope this helps.

Would you mind reporting the problems you've run in a JIRA issue? this 
way people can start looking at them and help fix them :) Thanks.

Also, if anybody on the mailing list is interested in contributing a new 
useful sample, I think it would be great to add a new sample showing how 
to provide and consume a Web Service taking an XSD complex type bound to 
an SDO DataObject, similar to the above test case, but a real sample, 
simpler and with a nice README...

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to