whitlock 2002/06/25 08:09:37
Modified: java/src/org/apache/wsif/providers/soap/apachesoap
WSIFPort_ApacheSOAP.java
Log:
Improve exception strings
Revision Changes Path
1.6 +4 -4
xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFPort_ApacheSOAP.java
Index: WSIFPort_ApacheSOAP.java
===================================================================
RCS file:
/home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apachesoap/WSIFPort_ApacheSOAP.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- WSIFPort_ApacheSOAP.java 25 Jun 2002 10:28:12 -0000 1.5
+++ WSIFPort_ApacheSOAP.java 25 Jun 2002 15:09:37 -0000 1.6
@@ -159,12 +159,12 @@
if (sa != null && ja != null)
throw new WSIFException(
"Both soap:address and jms:address cannot be specified for port "
- + port);
+ + port.getName());
if (sa == null && ja == null)
throw new WSIFException(
"Either soap:address or jms:address must be specified for port "
- + port);
+ + port.getName());
if (ja != null) {
// Port jms:address binding element
@@ -185,7 +185,7 @@
}
if (url == null) {
throw new WSIFException(
- "soap:address with location URI is required for " + port);
+ "soap:address with location URI is required for " +
port.getName());
}
}
@@ -594,7 +594,7 @@
throw new WSIFException(
"soapAction must be specified in "
+ " required by WSDL 1.1 soap:operation binding for "
- + bop);
+ + bop.getName());
}
String soapActionURI = soapOperation.getSoapActionURI();
operation.setSoapActionURI(soapActionURI);