You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Marcel Hochstein <ma...@gmx.net> on 2007/12/20 12:31:33 UTC

interface.java with dynamic SDO: Generating XSD-SDO-WSDL from Dynamic-SDO-JavaInterface

Hi there.

While fooling around with SCA and SCO within the last weeks, i ran into the following challange:

I've  java.implemented a component with a interface.java using the dynamic SDO API (no static Java-Interfaces for parameters),
that i want to publish as a Webservice.

Though my component and java interface use DataObject.class as method-parameters type, 
i would like to publish my Webservice with a wsdl including specific xsd-types, defining the must-have properties 
of my parameters.

Is their any way to accomplish this (without handcrafting my wsdl) ?

Perhaps some (interface.java-)annotation magic mapping the 'abstract' interface parameters to specific XSD-Types ? 

Seems to me like a common interface.java problem, when using dynamic SDO-API, 
regardless of the used binding.

Regards,
Marcel