Thanks Dan and Benson ---

even the tools/code for the SOAP client javascript would be
pretty good to use/look at. I know REST requires WSDL 2.0 so
I will need to deal with that on my own - the parsing and
generation that is. I am sure it is not an easy task but
I gotta look into it. I think Axis2 may have some of that
functionality in place anyway.

Quoting Daniel Kulp <dk...@apache.org>:

> On Friday 19 March 2010 2:57:49 pm Demetris wrote:
> > Nice - thanks Dan. Do you know of any plans for CXF to support WSDL 2.0
> > soon?
> >
> > So in the CXF design, the client requests a javascript script through a
> > URL-based
> > command and then that script is used for the invocation of the remote
> > (REST) service.
>
> As Benson mentioned, it's just for the SOAP services right now.
>
> > Is the script on the server side generated at runtime based on the
> > implementation of the
> > service or is it pre-defined before the service is launched?
>
> It is generated at runtime based on our internal service model.   However,
> there is a command line tool that you can use to pre-generate it from the
> WSDL
> if you prefer to do that.
>
> Dan
>
>
> >
> > Daniel Kulp wrote:
> > > On Thursday 18 March 2010 1:44:08 am Demetris wrote:
> > >> Hi all,
> > >>
> > >>     where would the server-side javascript code generotion be located in
> > >>
> > >> the baseline?
> > >
> > > Should be in:
> > > http://svn.apache.org/repos/asf/cxf/trunk/rt/javascript
> > >
> > > and the command line tool that would wrapper it:
> > > http://svn.apache.org/repos/asf/cxf/trunk/tools/wsdlto/frontend/javascrip
> > > t/
> > >
> > >> I don't seem to be able to locate it. Is there documentation as to who
> > >> this generation
> > >> works? Is it derived from the service's WSDL file or does the user
> > >> navigate how this
> > >> generation should work?
> > >
> > > It's based on the WSDL I believe.   Or, more approriately, our service
> > > model that would hold onto the wsdl information.
> > >
> > >>     One of the responses I got from Benson as while ago read:
> > >> "you can create a 'dynamic client' that can talk to moderately
> > >> complex services. This requires the entire CXF stack on the client"
> > >>
> > >> Are there any examples I can look at of such a 'dynamic client'. And
> > >> to what capacity is it 'dynamic'?
> > >>
> > >> I have http servers that return WSDL 2.0 files (either REST or SOAP
> > >> sevices) and I would like to utilize them to generate javascript
> > >> clients for those services. From what I gathered so far, CXF and
> > >> WSO2 are the only mature projects doing this. If you do know of any
> > >> other ones please let me know. It seems to me that CXF can offer
> > >> such tools for me to build these clients so I wanted to find a bit
> > >> more about them. I have already started going over the online info.
> > >
> > > Well, CXF doesn't support WSDL 2.0.   Thus, that could be an issue.
> > >
> > > Dan
> > >
> > >> Thanks very much in advace
>
> --
> Daniel Kulp
> dk...@apache.org
> http://dankulp.com/blog
>



Reply via email to