You've got to be kidding! :-)
What if you don't have WSDL - say you're handed a Call object and just want
to query it?
-Dug
Davanum Srinivas <[EMAIL PROTECTED]> on 01/15/2003 03:25:58 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: Call Parameter details
Yep...I had to jump thru hoops to get this to work -
xml-axis/java/samples/client/DynamicInvoker.java
Thanks,
dims
--- James M Snell <[EMAIL PROTECTED]> wrote:
> Question: why isn't there a way to list the input/output parameters that
> have been configured on the org.apache.axis.client.Call object?
>
> Example, using the code below, I can initialize a call object from WSDL,
> but never see what parameters the initialization added to the Call.
>
> Service service = new Service("implementation.wsdl", serviceQN);
> Call op1 = (Call)service.createCall(portQN, "operation1");
> // how do I get information about the expected parameters? (e.g.
> names, parameter mode, type)
>
> At the very least, we should have a method that returns an array of
> parameter names that we can feed into the getParameterTypeByName and
> getParameterTypeByQName methods, etc. Ideally, there should be a method
of
> inspecting the entire operation description. Am I missing something?
>
> - James Snell
> IBM Emerging Technologies
> [EMAIL PROTECTED]
> (559) 587-1233 (office)
> (700) 544-9035 (t/l)
> Programming Web Services With SOAP
> O'Reilly & Associates, ISBN 0596000952
>
> Have I not commanded you? Be strong and courageous.
> Do not be terrified, do not be discouraged, for the Lord your
> God will be with you whereever you go. - Joshua 1:9
=====
Davanum Srinivas - http://xml.apache.org/~dims/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com