You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/07/02 17:44:52 UTC

svn commit: r673422 - in /cxf/branches/2.0.x-fixes: ./ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java

Author: dkulp
Date: Wed Jul  2 08:44:51 2008
New Revision: 673422

URL: http://svn.apache.org/viewvc?rev=673422&view=rev
Log:
Merged revisions 670212 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r670212 | gmazza | 2008-06-21 11:41:14 -0400 (Sat, 21 Jun 2008) | 1 line
  
  Make error message clearer where soap:header element is pointing to a nonexistent wsdl:message.
........

Modified:
    cxf/branches/2.0.x-fixes/   (props changed)
    cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java

Propchange: cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java?rev=673422&r1=673421&r2=673422&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java (original)
+++ cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java Wed Jul  2 08:44:51 2008
@@ -406,7 +406,7 @@
                     addOutOfBandParts(bop, msg, schemas, isInput, header.getPart());
                     serviceInfo.refresh();
                 } else {
-                    throw new RuntimeException("Header message not defined in service model.");
+                    throw new RuntimeException("Problem with WSDL: soap:header element is referring to an undefined wsdl:message element.");
                 }
             }
         }