cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Javascript generation
Date Sat, 20 Mar 2010 03:00:08 GMT
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?

Forgot to answer this one....

Not really unless someone steps up to do it.   Really not much demand and very 
poor interopability with it since few toolkits support it.

Dan


> 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.
> 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?
> 
> 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
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message