Author: shameera
Date: Tue Jul 7 22:18:32 2015
New Revision: 1689760
URL: http://svn.apache.org/r1689760
Log:
Fixed integration test failures with jdk 1.8
Modified:
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/wsdl/ExtensionTypesTest.java
Modified:
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/wsdl/ExtensionTypesTest.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/wsdl/ExtensionTypesTest.java?rev=1689760&r1=1689759&r2=1689760&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/wsdl/ExtensionTypesTest.java
(original)
+++
axis/axis2/java/core/trunk/modules/integration/test/org/apache/axis2/wsdl/ExtensionTypesTest.java
Tue Jul 7 22:18:32 2015
@@ -73,13 +73,10 @@ public class ExtensionTypesTest extends
public void testExtensionTypes() throws MalformedURLException,
AxisFault {
URL wsdlURL = new
URL(String.format("http://localhost:%s/axis2/services/EchoXMLService?wsdl",
UtilServer.TESTING_PORT));
ServiceClient serviceClient = new ServiceClient(null, wsdlURL,
new QName("http://engine.axis2.apache.org", "EchoXMLService"),
"EchoHttpSoap11Endpoint");
-
Definition definition = (Definition)
serviceClient.getAxisService().getParameter("wsdl4jDefinition").getValue();
-
PortType pt = definition.getPortType(new
QName("http://engine.axis2.apache.org", "EchoXMLServicePortType"));
+ Operation op = pt.getOperation("echoOM", null, null);
- Operation op = (Operation) pt.getOperations().get(0);
-
QName addressingActionAttName = new
QName("http://www.w3.org/2006/05/addressing/wsdl", "Action");
Object addressingActionAttValue =
op.getInput().getExtensionAttributes().get(addressingActionAttName);
assertNotNull(String.format("The value of extension attribute
%s on %s operation's input is null", addressingActionAttName, op.getName()),
addressingActionAttValue);