[esb-issues] [JBoss JIRA] Commented: (JBESB-3274) Update soapui jar

Tom Cunningham (JIRA) jira-events at lists.jboss.org
Thu Jun 17 10:31:46 EDT 2010


    [ https://jira.jboss.org/browse/JBESB-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536093#action_12536093 ] 

Tom Cunningham commented on JBESB-3274:
---------------------------------------

I started taking a look at this - it looks like switching the versions (I went soapui-1.7.1 -> soapui-3.5.1, looks-2.1.2 -> looks-2.2.0, and soapui-xmlbeans-1.7 -> soapui-xmlbeans-3.5.1) creates a couple of compilation errors.      I fixed these with this patch :

[tcunning at localhost services]$ svn diff
Index: soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java
===================================================================
--- soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java	(revision 33536)
+++ soapui-client/src/main/java/org/jboss/soa/esb/services/soapui/SoapUIClientService.java	(working copy)
@@ -80,6 +80,7 @@
 import org.w3c.dom.NodeList;
 import org.xml.sax.SAXException;
 
+import com.eviware.soapui.DefaultSoapUICore;
 import com.eviware.soapui.SoapUI;
 import com.eviware.soapui.impl.wsdl.WsdlInterface;
 import com.eviware.soapui.impl.wsdl.WsdlOperation;
@@ -181,7 +182,7 @@
                 xmlPropertyIS.close() ;
             }
             
-            SoapUI.initSettings(soapUIPropertyFile.getAbsolutePath()) ;
+            ((DefaultSoapUICore)SoapUI.getSoapUICore()).init(soapUIPropertyFile.getAbsolutePath()) ;
         }
     }
     
@@ -527,7 +528,8 @@
         WsdlInterface[] wsdlInterfaces = getWsdlInterfaces(wsdl, httpClientProps);
 
         for (WsdlInterface wsdlInterface : wsdlInterfaces) {
-            List<Operation> operations = wsdlInterface.getOperations();
+            Map<String, Operation> mapOperations = wsdlInterface.getOperations();
+            Collection<Operation> operations = mapOperations.values();
             
             for(Operation operation: operations) {
             	if(operation.getName().equals(operationName)) {


I think these changes need to be coalesced with the AOP fix that dward added and one of the tests looks like it is failing with this change so that should be looked at as well.

> Update soapui jar
> -----------------
>
>                 Key: JBESB-3274
>                 URL: https://jira.jboss.org/browse/JBESB-3274
>             Project: JBoss ESB
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Web Services
>    Affects Versions: 4.8
>            Reporter: Kevin Conner
>            Assignee: Tom Cunningham
>            Priority: Optional
>             Fix For: 4.9
>
>
> The version we use is 1.7.1 and the current version is 3.5.
> We need to look at updating.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the esb-issues mailing list