[wsas-java-dev] Improvements to dynamic-codege project
saminda abeyruwan
saminda at wso2.com
Mon Aug 20 00:34:54 PDT 2007
Hi All,
We've been in the process of writing a generic "try it" tool to generate
an AJAX app for any WSDL available in the net using xslts available in
dynamic-codegen project.
Design:
-------
WSAS will have a tool called "try it", which will generate the required
.stub.js and .html pages based on the given WSDL. (Implementation is
available in latest nightly builds).
Constrains:
----------
When implementing this feature, following constrains have been found in
the generated ".stub.js" and ".html" pages.
1. Though the given WSDL (ex:
http://www.webservicex.net/stockquote.asmx?wsdl) has different endpoint
addresses, the default will be generate according to the html page
"self.location.href" [1]. If the default address set to the SOAP11 or
SOAP12 and if it's calculated from the given WSDL, IMHO, that would have
been the correct way.
2. As the generated AJAX app running on different host and the given
WSDL has endpoints related to another host, SOP will come into play.
[2]. Thus, the generated AJAX application should be given a way to turn
on the Universal browser privileges or should be given a global param
in XSL to inject the choice at transformation time. [2].
Shall I open a JIAR to the above matters in MASHUP project.
Your thoughts on the prior would be really helpful.
Thank you
Saminda
Reference:
[1]. Attached - shot1.jpg
[2]. Attached - shot2.jpg
[3]. http://www.webservicex.net/stockquote.asmx?wsdl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shot1.jpg
Type: image/jpeg
Size: 74451 bytes
Desc: not available
Url : http://wso2.org/pipermail/wsas-java-dev/attachments/20070820/2b797bc3/shot1.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shot2.jpg
Type: image/jpeg
Size: 74860 bytes
Desc: not available
Url : http://wso2.org/pipermail/wsas-java-dev/attachments/20070820/2b797bc3/shot2.jpg
More information about the Wsas-java-dev
mailing list