RE: Need help invoking complex web services

"Jackson, Douglas" <[email protected]> Mon, 21 May 2007 11:21:55 -0400
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <0419C2808E620348A3119DCCE2A7A69503CA6FDC@USCIMPLM004.net.plm.eds.com>
Hi!
Hi!
I am using WSIF in a BPEL Engine I wrote to do dynamic invocations of
web services.  If you are not familiar with BPEL, it reads wsdl and xsd
files and uses those to call the web services described therein.  WSIF
works well for our application.
I think when they say that some work may need to be done to handle all
complex types they are referring to parts of the schema definition that
most people do not use.  Even JAXB did not support all of the schema
definition until 2.0.
-Doug.


-----Original Message-----
From: Jeff Greif [mailto:[email protected]]=20
Sent: Monday, May 21, 2007 1:06 AM
To: [email protected]
Subject: Re: Need help invoking complex web services

My first experiment with WSIF a few years ago was to modify this sample=20
to support complex types on the command line.

Jeff Greif

velidandas wrote:
> I don't think my remarks about WSIF dynamic invocation with complex
types are
> incorrect.
>
> The question asked doesn't mean whether WSIF supports complex types in
GUI
> or NON-GUI=20
> applications, but the question is about supporting complex types in
Java
> Applications=20
> with only reference to WSDL, which is not possible with WSIF. I found
the
> same in the
> dynamic invocation sample of the WSIF itself as below.
>
> **********************
> /**
>  * This sample shows how to use WSIF for completely dynamic
invocations
>  * as it is completely stubless execution. This sample does not
support
>  * complex types (it could if there was defined a to encode complex
>  * values as command line arguments).
>  *
>  * @author Sanjiva Weerawarana
>  * @author Alekander Slominski
>  */
>
> public class DynamicInvoker {
> etc...etc..
> **********************
>
> Srinivas.
>
>
> Jeff Greif wrote:
>  =20
>> The remarks about WSIF supporting dynamic invocation with complex
>> types are incorrect.  This question has been asked and answered many
>> times on this list.  Please check the archives.
>>
>> Jeff
>>
>> On 5/17/07, Velidanda Srinivas <srinivas.velidanda-JN3Mhpvxl8ynejAxpDtHaVpr/1R2p/[email protected]>
>> wrote:
>>    =20
>>> WSIF could not be used for dynamic invocation using complex Types.
>>>
>>> WSIF does not support complex types in dynamic invocation.
>>>
>>> Try and see XSUL, if works.
>>>
>>> Please let me know if you get working with XSUL.
>>>
>>>      =20
>>>> -----Original Message-----
>>>> From: Tim Hamer [mailto:[email protected]]
>>>> Sent: 14 May 2007 19:20
>>>> To: [email protected]
>>>> Subject: Need help invoking complex web services
>>>>
>>>>
>>>> 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.
>>>> ______________________________________________________________
>>>> __________
>>>>
>>>>        =20
>>>
________________________________________________________________________
>>> 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.
>>>
________________________________________________________________________
>>>
>>>      =20
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>>    =20
>
>  =20


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]