Re: Need help invoking complex web services

Jeff Greif <[email protected]> Mon, 14 May 2007 11:29:51 -0700
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
Yes. 

Provide a "type mapping" for the complex type to the DOM Element class 
or some wrapper around it.  That is, the client code builds the DOM 
representation of the parameter and WSIF them serializes it onto the 
wire.  Similarly, you can receive complex types.  You have to use the 
schemas defined in or imported from the wsdl to determine how to 
construct an Element representing the input parameter, or make use of a 
complex type delivered in the response.

Jeff

Tim Hamer wrote:
> Hi,
>
> We're trying to create a Java application capable of consuming any web service dynamically given only the WSDL. The only problem is that we can't figure out how to invoke a service that takes a complex type as a parameter without first generating code. Is it possible to use WSIF to do such an invocation without generating code, and if so, could someone please send us some hint on how to do so?
>
> thanks,
> Tim
>