[ 
https://issues.apache.org/jira/browse/AXIS2-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davanum Srinivas resolved AXIS2-625.
------------------------------------

    Resolution: Fixed

We now have support for Java script.

thanks,
dims

> Deploying a Javascript service in Axis2
> ---------------------------------------
>
>                 Key: AXIS2-625
>                 URL: https://issues.apache.org/jira/browse/AXIS2-625
>             Project: Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: databinding, deployment
>         Environment: Operating system used in the devlopment: Ubuntu Breezy 
> Badger
> Software platform: JDK 1.5
>            Reporter: Oshani Seneviratne
>         Assigned To: Thilina Gunarathne
>            Priority: Trivial
>         Attachments: JavaScriptClient.java, JavaScriptService.aar, 
> JavaScriptService.patch, JavaScriptService.tar.gz
>
>
> It is now possible to deploy a web service written entirely in javascript on 
> Axis2.  When implementing the javascript service, the user will have the 
> option of using E4X syntax, which extends the semantics of familiar 
> Javascript operators and manipulate the XML data with ease.
> This feature needs 2 classes (org.sample.javascript.JavaScriptReceiver and 
> org.sample.javascript.JavaScriptEngine) and the js.jar library from Mozilla 
> Rhino in addition to the Axis2 libraries.
> The JavaScriptReceiver processes the incoming message and extracts the 
> javascrtipt function name[1] , the arguments / payload to be sent to the 
> javascript service and the javascript source stream[2]. It then calls the 
> JavaScriptEngine which uses the Mozilla Rhino API to process the javascript 
> file. The JavaScriptEngine returns an xml string object to the 
> JavaScriptReceiver and the latter encodes the result and sends the outMessage.
> [1] The operation the client requests.
> [2] This is similar to the ServiceClass in a Java service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to