You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/10/06 17:03:22 UTC

svn commit: r1395087 - /axis/axis1/java/trunk/interop/src/test/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java

Author: veithen
Date: Sat Oct  6 15:03:21 2012
New Revision: 1395087

URL: http://svn.apache.org/viewvc?rev=1395087&view=rev
Log:
Don't send rpc/encoded messages to documant/literal services.

Modified:
    axis/axis1/java/trunk/interop/src/test/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java

Modified: axis/axis1/java/trunk/interop/src/test/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/interop/src/test/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java?rev=1395087&r1=1395086&r2=1395087&view=diff
==============================================================================
--- axis/axis1/java/trunk/interop/src/test/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java (original)
+++ axis/axis1/java/trunk/interop/src/test/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java Sat Oct  6 15:03:21 2012
@@ -299,11 +299,9 @@ public class WhiteMesaSoap12AddTestSvcTe
     }
     
     public void testXMLP8() throws Exception {
-        Call call = new Call(DOC_ENDPOINT);
-        call.setSOAPVersion(SOAPConstants.SOAP12_CONSTANTS);
-        QName qname = new QName(TEST_NS, "echoReceiverFault");
+        Soap12AddTestPortTypeDoc binding = new WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocPort(new URL(DOC_ENDPOINT));
         try {
-            call.invoke(qname, null);
+            binding.echoReceiverFault("test");
         } catch (AxisFault af) {
             assertEquals(Constants.FAULT_SOAP12_RECEIVER,
                     af.getFaultCode());