You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by ru...@apache.org on 2006/12/05 10:44:55 UTC

svn commit: r482559 - /incubator/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java

Author: ruwan
Date: Tue Dec  5 01:44:53 2006
New Revision: 482559

URL: http://svn.apache.org/viewvc?view=rev&rev=482559
Log:
fixing the proxyservice serializer to specify the wsdl (which ws no in place)

Modified:
    incubator/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java

Modified: incubator/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java
URL: http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java?view=diff&rev=482559&r1=482558&r2=482559
==============================================================================
--- incubator/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java (original)
+++ incubator/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/ProxyServiceSerializer.java Tue Dec  5 01:44:53 2006
@@ -65,6 +65,14 @@
                 "description", nullNS, service.getDescription()));
         }
 
+        String wsdlKey = service.getWSDLKey();
+        if(wsdlKey != null) {
+            OMElement wsdl = fac.createOMElement("wsdl", synNS);
+            wsdl.addAttribute(fac.createOMAttribute(
+                "key", nullNS, wsdlKey));
+            proxy.addChild(wsdl);
+        }
+
         if (service.getTransports() != null && service.getTransports().size() != 0) {
             ArrayList transports = service.getTransports();
             String transportStr = "" + transports.get(0);



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org