Author: tyrell
Date: Tue Feb 12 04:15:38 2008
New Revision: 13647
Log:
Adding proxy services for wsas secure services, since these are inacccesible to
mashup users.
Modified:
trunk/mashup/java/modules/www/js/services.js
Modified: trunk/mashup/java/modules/www/js/services.js
==============================================================================
--- trunk/mashup/java/modules/www/js/services.js (original)
+++ trunk/mashup/java/modules/www/js/services.js Tue Feb 12 04:15:38 2008
@@ -119,11 +119,11 @@
*/
wso2.mashup.services.listServiceData = function (serviceName, callback,
params) {
- var body_xml = '<req:getServiceDataRequest
xmlns:req="http://org.apache.axis2/xsd">\n' +
+ var body_xml = '<req:getServiceDataRequest
xmlns:req="http://service.admin.mashup.wso2.org/xsd">\n' +
' <req:serviceName>' + serviceName + '</req:serviceName>\n'
+
' </req:getServiceDataRequest>\n';
- var callURL = serverURL + "/" + "ServiceAdmin" + "/" ;
+ var callURL = serverURL + "/" + "MashupAdminService" + "/" ;
new wso2.wsf.WSRequest(callURL, "getServiceData", body_xml, callback,
params, wso2.mashup.services.defaultErrHandler);
};
@@ -160,18 +160,18 @@
*/
wso2.mashup.services.activationOfService = function (serviceName,
serviceStatus, callback, params) {
var body_xml = '';
- var callURL = serverURL + "/" + "ServiceAdmin" ;
+ var callURL = serverURL + "/" + "MashupAdminService" ;
var soapAction = "";
var params = new Array(serviceName, serviceStatus);
if (serviceStatus) {
- body_xml = '<req:startServiceRequest
xmlns:req="http://org.apache.axis2/xsd">\n' +
+ body_xml = '<req:startServiceRequest
xmlns:req="http://service.admin.mashup.wso2.org/xsd">\n' +
' <req:serviceName>' + serviceName + '</req:serviceName>\n'
+
' </req:startServiceRequest>\n';
soapAction = "startService";
}
if (!serviceStatus) {
- body_xml = '<req:stopServiceRequest
xmlns:req="http://org.apache.axis2/xsd">\n' +
+ body_xml = '<req:stopServiceRequest
xmlns:req="http://service.admin.mashup.wso2.org/xsd">\n' +
' <req:serviceName>' + serviceName + '</req:serviceName>\n'
+
' </req:stopServiceRequest>\n';
soapAction = "stopService";
@@ -257,9 +257,9 @@
/**
- * @description Validates a given service path
+ * @description Validates a given service path
* @method createMashupSkeleton
- * @param {String} mashupPath A path to a new mashup
+ * @param {String} mashupPath A path to a new mashup
* @param {callback} callBack User-defined callback function or object
* @param {callback} params Parameters to be set in the callback
*/
@@ -268,7 +268,7 @@
var callURL = serverURL + "/" + "ServiceMetaDataLister" + "/" ;
var body_xml = '<req:isPossibleToCreateRequest
xmlns:req="http://servicemetadatalister.coreservices.mashup.wso2.org/xsd">\n' +
- ' <req:servicePath>' + mashupPath + '</req:servicePath>\n'
+
+ ' <req:servicePath>' + mashupPath + '</req:servicePath>\n' +
' </req:isPossibleToCreateRequest>\n';
new wso2.wsf.WSRequest(callURL, "isPossibleToCreate", body_xml, callback,
params, wso2.mashup.services.defaultErrHandler);
@@ -489,8 +489,3 @@
wso2.mashup.handleLogout();
}
};
-
-
-
-
-
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev