Juergen,
As I understand your question I think you want to dynamically
find out the information like name, port info of the web service from
wsdl. If you want to find these information dynamically using a client you
can find some very useful code in sample/client package.
If you want to do it from the scratch using a wsdl file,
you can use the Parser( ) in wsdl2java and then parse wsdl informatino into
a class called org.apache.axis.wsdl.symbolTable.SymbolTable (The above mentioned
dynamic client also does the same) . SymbolTable has methods like
public BindingEntry
getBindingEntry(QName qname)
public
ServiceEntry getServiceEntry(QName qname)
Dimuthu,
----- Original Message -----
From: "Juergen Simon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 2:52 PM
Subject: Introspecting on Service from within RPC
implementation? > > My problem is obtaining information about a webservice > (using rpc) from within the implementation classes, ie: > > when compiling the wsdl using rpc, the method definitions > go into a "Remote" Interface whose methods are implemented > in the BindingImpl class. How can I obtain information > about the webservice, like name, port info or else, from > within the implementation class? The decoupling seems to be > too perfect, I cant see a way. > > Any ideas? > > |
- Introspecting on Service from within RPC implementatio... Juergen Simon
- Fw: Introspecting on Service from within RPC impl... Dimuthu Leelarathne
- Fw: Introspecting on Service from within RPC impl... Dimuthu Leelarathne
- Re: Introspecting on Service from within RPC ... Jürgen Lorenz Simon