axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: Axis 2's handling of RPC Parameter types
Date Tue, 12 Dec 2006 06:00:23 GMT

>
>
> My intention is to build a generic web service that can take any type
> (by upcasting to object) and through an internal XML document, be able
> to map it to its real class so I can cast and perform operations on it
> as defined by the XML (this is not SOAP - its BePel)

Then what you have to do is write your service impl class to take
OMElement as method parameter , then om element can be anything. So your
method signature will be look like below;

public OMElement echo(OMElement ele){
  ///// do smt
}


Thanks
Deepal


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message