When I use SOAP, can I have complex datatypes as returnvalues or parameters
example:
@WebMethod(operationName = "getMyDataType")
public MyDataType getMyDataType(@WebParam(name = "username") String username, @WebParam(name = "password") String password) { return new MyDatatype(bla)}
and if yes, how can the client work with the “unknown” types?
my server is in Java and the Client in c#
This should be possible, although I haven’t tried it: You can try to generate WSDL from annotated Java class and later from the WSDL file generate client C# code.