Hi,

I am playing around with the several ways to implement a web service in
Java. Currently I am trying to modify the HelloWorld Web Service SDO
example to support Dynamic DataObjects instead of the generated static
types. Therefore I have modified the HelloWorld interface to use generic
DataObject as parameter and return type.

@Remotable
public interface HelloWorld {

    public DataObject getGreetings(DataObject getGreetings);
}

When I implement this interface accordingly and run it I see that the
DataObject instance provided by the Tuscany runtime when invoking the
service is totally untyped, i.e. the type information available in the
WSDL and Schema is not used for deserializing the incoming message to a
DataObject. This is very annoying since it is almost impossible to
access the data contained in the provided DataObject instance because
none of the properties I would expect from the Schema are available.

Is this intended behaviour of the Tuscany container? What is the dynamic
SDO API good for in this case?

Kai

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

Reply via email to