Hi John;

> Thank-you for your reply.  I have been looking at the OMElement and
> its very abstract.  The model appears to be an interface to the
> underlying XML pull-parser.
>
> Is there a less abstract way of dealing with SOAP in Axis 2.
>
> Essentially, I want to be able to transfer a set of objects from one
> server to another without having to worry about the implementation
> details.  I thought with the advent of Castor and XStream this would
> be reasonably straightforward.
>
> Essentially, I want a service that can take in three variables: 2
> strings and an object.  So it could be called with:

Actually what you are trying to do is method overloading and which dose
not support in Axis2 and we do not have any plan to support that soon.

>
> String namespace="namespace";
> String function="function";
>
> Object[] args={ namespace, function, new Date() };
> Object[] args={ namespace, function, "hello world"};
> Object[] args={ namespace, function, new ComplexObject(1,2,3,"hello" };

As I mentioned earlier your problem can be easily solved by using
OMElement , once you understand the OM API it is very easy to work with
that. And it has much more flexibility too.

Thanks
Deepal


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

Reply via email to