The port has a set of operations (see the WSDL spec).  Each operation has
parameters which have types.  The types mentioned should be defined in
elements of the wsdl with xpaths /wsdl:definitions/wsdl:types/xsd:schema OR
possible referenced in elements /wsdl:definitions/wsdl:import if they're in
different namespaces from the wsdl target namespace, or in further imports
in the imported documents.

So if you want to discover methods, you iterate through the operations of
the wsifPort (look at the java doc for details).  If you have an operation
and want to determine the types of its parameters, you iterate through
those.  (The DynamicInovker example shows how to do both of these.)

Jeff

----- Original Message -----
From: "Xserty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 10:24 AM
Subject: WSIF, WSDL and Complex Types!


> Hi,
> could you please help me to discover methods and it's parameters
> (especially complex types) using WSIF (and JROM?!)?
>
> I get the WSIFPort in the following way:
> wsifService = wsifServiceFact.getService(wsdlDefinition, service,
> binding.getPortType());
> wsifPort = wsifService.getPort();
>
> but then I don't have a clue on how to continue!
> All examples found on Internet deal with dinamic invocation, but all I
> want to do is discover the complex types parameters of all operations.
> Can someone give me at least a birds eye view of what (and how) has to
> be done?
> Thanks very much!
> Xserty
>
>

Reply via email to