Thanks Jeff.
Based on your suggestion, the way to invoke wsif takes the following steps:
1. Interpret the request/response message schema ( how to get the schema objects? )
2. data is populated in an XML string structured based on the schema. ( e.g. using a form page to present the structure to user and then construct the XML )
3. need to pass this XML to wsif as complex type input parameter to invoke. Not sure how to do it. Also not sure if deserializer is needed.
It looks like it is not straightforward for getting to the above without going through the source code. Do you know any sample code for this available somewhere?
Very appreciated,
James
Jeff Greif <[EMAIL PROTECTED]> wrote:
Archives: http://marc.theaimsgroup.com/?l=wsif-user&r=1&w=2
Yes, org.apache.wsif.schema classes are used to collect the various
types and declared elements from the wsdl and all the imported schemas.
We also then get all the schema definitions loaded into the grammar pool
of a Xerces parser, and use the org.apache.xerces.xs (Xerces'
implementation of the XML Schema API) classes to analyze the types etc.
Jeff
james hu wrote:
> Jeff,
>
> Thanks for the information. Can you point me to those archives? We
> don't like statical binding the XML to bean but processing XML tree at
> run-time is kind of approach we prefer. Does it use WSIF API to
> process XML since all the schema information is defined in wsdl which
> can be accessed via WSIF?
>
> Thanks a lot,
>
> James
>
> */Jeff Greif <[EMAIL PROTECTED]>/* wrote:
>
> Lack of support for complex parameters for dynamic invocation in
> WSIF is
> a myth! My company's product consumes arbitrary web services
> dynamically using WSIF and deals with complex parameters most of the
> time. The product has some limitations in what it can handle, but
> these are not usually limitations of WSIF.
>
> Whle I can't provide code samples, I've given info on this mailing
> list
> several times about approaches. Please check the archives or write me
> privately. Essentaily, we do it by processing the XML trees as is, in
> the context of the XML Schema data types describing it, rather than
> trying to bind the contents to Beans or other objects.
>
> Jeff
>
> james hu wrote:
>
> > We ( one of HP's software division ) start actively looking into
> > possibility of utilizing wsif as a dynamic web service invoker.
> > Problem we have so far is the lack of complex input/output
> parameter
> > support. besides JROM ( which we don't know if we can use it or
> not )
> > is there any plan to support complex parameters for dynamic
> > invocation in near future? Or, do you have any suggestions for the
> > best ( simple but effective ) approach to resolve this issue?
> >
> > Thanks,
> > James
> > */Aleksander Slominski /* wrote:
> >
> > Xu, Peng (GE Healthcare) wrote:
> >
> > > Hi, I'm new to WSIF and plan to use it. I noticed that there has
> > been
> > > no new release since Sept. 2003. Could someone tell me why?
> > >
> > there were no significant changes in WSIF CVS except for bug fixes.
> > nonethless with final Axis i plan to propose a release of updated
> > WSIF.
> >
> > is it anything particular that you want WSIF to do that it is not
> > doing now?
> >
> > thanks,
> >
> > alek
> >
> > --
> > The best way to predict the future is to invent it - Alan Kay
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online & more. Check it out!
