Tried providing type mapping for the complex type, but using WSIF the input and output complex type classes should already be existing at client.
I tried using WSIF to pass complex types as input and receive complex type output from web service, it requires the complex type classes at client side before calling the web service. Now I am working with XSUL libraries, XSUL also has some issues while sending and receiving the complex types. I am trying to invoke a web service deployed/published using Xfire/Spring configuration. Please let me know if someone succeeded without having the input and output complex type classes prebuilt before calling the web service, but created the in and out objects on the fly dynamically. Thanks & Regards, Srinivas Velidanda. -----Original Message----- From: Jeff Greif [mailto:[EMAIL PROTECTED] Sent: 15 May 2007 00:00 To: [email protected] Subject: Re: Need help invoking complex web services 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ This e-mail has been scanned for all viruses by MessageLabs. ________________________________________________________________________ ________________________________________________________________________ This e-mail has been scanned for all viruses by MessageLabs. Singularity operates globally through its offices in New York, London, Singapore, Ireland and India. Singularity Limited is incorporated in the United Kingdom with Registration Number NI 31519 and its Registered Office at 100 Patrick Street, Derry, BT48 7EL, United Kingdom. ________________________________________________________________________
