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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to