Author: saminda
Date: Thu Jan 17 05:08:11 2008
New Revision: 12411
Log:
Removed serialization of following polices to services.xml as it will be
available in associated WSDL,
1.PolicyInclude.AXIS_SERVICE_POLICY
2.PolicyInclude.AXIS_SERVICE_POLICY
3.PolicyInclude.AXIS_MESSAGE_POLICY
Modified:
branches/wsas/java/2.2/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/util/ServiceArchiveCreator.java
Modified:
branches/wsas/java/2.2/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/util/ServiceArchiveCreator.java
==============================================================================
---
branches/wsas/java/2.2/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/util/ServiceArchiveCreator.java
(original)
+++
branches/wsas/java/2.2/wsas/java/modules/admin/src/org/wso2/wsas/admin/service/util/ServiceArchiveCreator.java
Thu Jan 17 05:08:11 2008
@@ -413,23 +413,6 @@
List axisMessageParameterList =
axisMessage.getParameters();
serializeParameterList(axisMessageParameterList,
axisMessageEle, fac, ns);
- PolicyInclude policyInclude = operation.getPolicyInclude();
- PolicyRegistry registry =
policyInclude.getPolicyRegistry();
- List policyList =
-
policyInclude.getPolicyElements(PolicyInclude.AXIS_MESSAGE_POLICY);
- if (!policyList.isEmpty()) {
- serializePolicyIncludes(axisMessageEle, policyList,
registry);
- }
-
-
- }
-
- PolicyInclude policyInclude = operation.getPolicyInclude();
- PolicyRegistry registry = policyInclude.getPolicyRegistry();
- List policyList =
-
policyInclude.getPolicyElements(PolicyInclude.AXIS_OPERATION_POLICY);
- if (!policyList.isEmpty()) {
- serializePolicyIncludes(operationEle, policyList,
registry);
}
}
@@ -481,15 +464,6 @@
}
}
- PolicyInclude policyInclude = axisService.getPolicyInclude();
- PolicyRegistry registry = policyInclude.getPolicyRegistry();
-
- // services.xml
- List policyList =
policyInclude.getPolicyElements(PolicyInclude.AXIS_SERVICE_POLICY);
- if (!policyList.isEmpty()) {
- serializePolicyIncludes(serviceEle, policyList, registry);
- }
-
//TODO - Datalocators
/*OMElement dataLocatorEle = createOMElement(fac,ns,
DRConstants.DATA_LOCATOR_ELEMENT);
serviceEle.addChild(dataLocatorEle);*/
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev