Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 126529 | Differences between
and this patch

Collapse All | Expand All

(-)wsexplorer/wsdl_content.jsp (-2 / +9 lines)
Lines 94-99 Link Here
94
      var x=0;
94
      var x=0;
95
<%
95
<%
96
         String platformProtocol = "platform:/resource";
96
         String platformProtocol = "platform:/resource";
97
         String httpProtocol = "http://";
98
         String httpsProtocol = "https://";
97
         wsdlURLs_.removeAllElements();
99
         wsdlURLs_.removeAllElements();
98
         
100
         
99
         Iterator ws = WebServiceFinder.instance().getWebServices();  
101
         Iterator ws = WebServiceFinder.instance().getWebServices();  
Lines 103-110 Link Here
103
            WebServiceInfo wsInfo = (WebServiceInfo)ws.next();
105
            WebServiceInfo wsInfo = (WebServiceInfo)ws.next();
104
            String url = wsInfo.getWsdlURL();
106
            String url = wsInfo.getWsdlURL();
105
            
107
            
106
           // filter wsdl URLs with same project name as selected project
108
          // filter wsdl URLs with same project name as selected project
107
           // only look at workspace URLs returned from the web service finder
109
          // only look at workspace URLs returned from the web service finder
108
          if (url.startsWith(platformProtocol))
110
          if (url.startsWith(platformProtocol))
109
          {
111
          {
110
             //strip off platformProtocol to look at the workspace path
112
             //strip off platformProtocol to look at the workspace path
Lines 116-121 Link Here
116
               wsdlURLs_.add(url);
118
               wsdlURLs_.add(url);
117
             }
119
             }
118
          }
120
          }
121
          // also add any http or https URLs returned
122
          else if (url.startsWith(httpProtocol) || url.startsWith(httpsProtocol))
123
          {
124
               wsdlURLs_.add(url);
125
          }
119
         }
126
         }
120
         if (wsdlType == ActionInputs.WSDL_TYPE_SERVICE_INTERFACE)
127
         if (wsdlType == ActionInputs.WSDL_TYPE_SERVICE_INTERFACE)
121
         {
128
         {

Return to bug 126529