Ran, You are correct. You can use the DII to dynamically invoke a WSDL operation. Ant's just letting you know that WSIF is an easier way to do it. It doesn't help you in this circumstance because your assignment is to use the DII.
Cheers, Anne > -----Original Message----- > From: PILLAI,RANJITH (HP-PaloAlto,ex1) [mailto:[EMAIL PROTECTED] > Sent: Monday, March 24, 2003 4:00 PM > To: '[EMAIL PROTECTED]' > Subject: RE: How to dynamically invoke a webservice provided just WSDL? > > > Hi there, > > But Axis does provide a method called getCalls(QName qn) in Service class > to do this(I hope so). Axis API documentation says Service object can be > created passing WSDL location and calling getCalls(QName qn) returns an > array of configured call objects. Please correct me if this method is not > intended for this.. > > Thanks, > Ran. > > -----Original Message----- > From: Anthony Elder [mailto:[EMAIL PROTECTED] > Sent: Monday, March 24, 2003 11:31 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: How to dynamically invoke a webservice provided just WSDL? > > > This is one of the things WSIF was designed for doing. See > http://ws.apache.org/wsif. > > ...ant > > Anthony Elder > [EMAIL PROTECTED] > Web Services Development > IBM UK Laboratories, Hursley Park > (+44) 01962 818320, x248320, MP208. > > > "PILLAI,RANJITH (HP-PaloAlto,ex1)" <[EMAIL PROTECTED]> on 24/03/2003 > 19:10:34 > > Please respond to [EMAIL PROTECTED] > > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > cc: > Subject: How to dynamically invoke a webservice provided just WSDL? > > > > > > Hi there, > > > > My project requires me to dynamically invoke a web service providing only > its WSDL description, using DII. So my intention is to dynamically find > operations and parameters from service object (where I passed the WSDL > location to create a new service object). > > > > After going the API documentation I found that the getCalls() method > returns a call object corresponds to each operation and so we can extract > all info from this call object. Unfortunately this didn't work as I > expected. > > > > What is the right way to achieve this? Could anybody extend a hand... > > > > Thanks, > > > > Ran. > >
