Author: sanka
Date: Fri Jan 18 05:04:06 2008
New Revision: 12482

Log:

Added a documentation element to the generated WSDL to avoid any confusions.

see: https://wso2.org/jira/browse/WSAS-559

Modified:
   
branches/wsas/java/2.2/wsas/java/modules/samples/MEX/src/org/wso2/wsas/sample/mex/service/example3/CustomWSDLLocator.java

Modified: 
branches/wsas/java/2.2/wsas/java/modules/samples/MEX/src/org/wso2/wsas/sample/mex/service/example3/CustomWSDLLocator.java
==============================================================================
--- 
branches/wsas/java/2.2/wsas/java/modules/samples/MEX/src/org/wso2/wsas/sample/mex/service/example3/CustomWSDLLocator.java
   (original)
+++ 
branches/wsas/java/2.2/wsas/java/modules/samples/MEX/src/org/wso2/wsas/sample/mex/service/example3/CustomWSDLLocator.java
   Fri Jan 18 05:04:06 2008
@@ -34,6 +34,7 @@
 public class CustomWSDLLocator implements AxisDataLocator {
 
     private String wsdlString = "<wsdl:definitions 
xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\";>"
+               + "<wsdl:documentation>This is a dummy WSDL generated by the 
CustomWSDLLocator in Example 3.</wsdl:documentation> "
             + "</wsdl:definitions>";
 
     public Data[] getData(DataRetrievalRequest request,
@@ -67,6 +68,7 @@
 
     private OMElement getCustomWSDLElement() throws XMLStreamException,
             FactoryConfigurationError {
+       
         return (new StAXOMBuilder(OMAbstractFactory.getOMFactory(),
                 XMLInputFactory.newInstance().createXMLStreamReader(
                         new ByteArrayInputStream(wsdlString.getBytes()))))

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to