You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2008/07/19 10:38:51 UTC

svn commit: r678119 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java

Author: lektran
Date: Sat Jul 19 01:38:51 2008
New Revision: 678119

URL: http://svn.apache.org/viewvc?rev=678119&view=rev
Log:
Applied patch from Roland OFBIZ-1848, WSDL generation was creating duplicates when a parameter was being overridden.

Modified:
    ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java

Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java?rev=678119&r1=678118&r2=678119&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelService.java Sat Jul 19 01:38:51 2008
@@ -1097,7 +1097,7 @@
     public void getWSDL(Definition def, String locationURI) throws WSDLException {
         // set the IN parameters
         Input input = def.createInput();
-        List<String> inParam = this.getParameterNames(IN_PARAM, true, false);
+        Set<String> inParam = this.getInParamNames();
         if (inParam != null) {
             Message inMessage = def.createMessage();
             inMessage.setQName(new QName(TNS, this.name + "Request"));
@@ -1114,7 +1114,7 @@
 
         // set the OUT parameters
         Output output = def.createOutput();
-        List<String> outParam = this.getParameterNames(OUT_PARAM, true, false);
+        Set<String> outParam = this.getOutParamNames();
         if (outParam != null) {
             Message outMessage = def.createMessage();
             outMessage.setQName(new QName(TNS, this.name + "Response"));