You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by wh...@apache.org on 2003/04/03 18:16:33 UTC
cvs commit: xml-axis-wsif/java/src/org/apache/wsif WSIFConstants.java
whitlock 2003/04/03 08:16:33
Modified: java/test/mime MimeTest.java MimeImpl.java
java/src/org/apache/wsif/providers/soap/apacheaxis
WSIFOperation_ApacheAxis.java
java/src/org/apache/wsif WSIFConstants.java
Log:
Rename WSIFConstants UNREFERENCED_ATTACHMENT_PART_NAME to CONTEXT_REQUEST_UNREFERENCED_ATTACHMENTS_PARTS and CONTEXT_RESPONSE_UNREFERENCED_ATTACHMENT_PARTS
Revision Changes Path
1.30 +4 -4 xml-axis-wsif/java/test/mime/MimeTest.java
Index: MimeTest.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/test/mime/MimeTest.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- MimeTest.java 2 Apr 2003 15:25:27 -0000 1.29
+++ MimeTest.java 3 Apr 2003 16:16:30 -0000 1.30
@@ -1018,7 +1018,7 @@
WSIFMessage fault = op.createFaultMessage();
WSIFMessage context = op.getContext();
context.setObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME,
+ WSIFConstants.CONTEXT_REQUEST_UNREFERENCED_ATTACHMENT_PARTS,
apList);
op.setContext(context);
@@ -1060,7 +1060,7 @@
WSIFMessage fault = op.createFaultMessage();
WSIFMessage context = op.getContext();
context.setObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME,
+ WSIFConstants.CONTEXT_REQUEST_UNREFERENCED_ATTACHMENT_PARTS,
apList);
op.setContext(context);
@@ -1141,7 +1141,7 @@
WSIFMessage context = op.getContext();
context.setObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME,
+ WSIFConstants.CONTEXT_REQUEST_UNREFERENCED_ATTACHMENT_PARTS,
apList);
op.setContext(context);
@@ -1159,7 +1159,7 @@
WSIFMessage context = op.getContext();
return (List) context.getObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME);
+ WSIFConstants.CONTEXT_RESPONSE_UNREFERENCED_ATTACHMENT_PARTS);
}
private void putRef(WSIFPort port, DataHandler dh) throws Exception {
1.22 +2 -2 xml-axis-wsif/java/test/mime/MimeImpl.java
Index: MimeImpl.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/test/mime/MimeImpl.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- MimeImpl.java 2 Apr 2003 15:25:27 -0000 1.21
+++ MimeImpl.java 3 Apr 2003 16:16:30 -0000 1.22
@@ -382,7 +382,7 @@
WSIFMessage context = InvocationHelper.getMessageContext();
l =
(List) context.getObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME);
+ WSIFConstants.CONTEXT_REQUEST_UNREFERENCED_ATTACHMENT_PARTS);
} catch (Exception e) {
print("MimeImpl.getUnrefAttachments - Java - ", e);
errText += e.toString() + "\n";
@@ -409,7 +409,7 @@
try {
WSIFMessage context = InvocationHelper.getMessageContext();
context.setObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME,
+ WSIFConstants.CONTEXT_RESPONSE_UNREFERENCED_ATTACHMENT_PARTS,
l);
} catch (Exception e) {
print("MimeImpl.putUnrefAttachments - Java - ", e);
1.85 +2 -2 xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java
Index: WSIFOperation_ApacheAxis.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/providers/soap/apacheaxis/WSIFOperation_ApacheAxis.java,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- WSIFOperation_ApacheAxis.java 31 Mar 2003 14:05:49 -0000 1.84
+++ WSIFOperation_ApacheAxis.java 3 Apr 2003 16:16:30 -0000 1.85
@@ -2298,7 +2298,7 @@
if (context != null) {
l =
(List) context.getObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME);
+ WSIFConstants.CONTEXT_REQUEST_UNREFERENCED_ATTACHMENT_PARTS);
}
} catch (Exception e) {
Trc.ignoredException(e);
@@ -2365,7 +2365,7 @@
if (!unrefAps.isEmpty()) {
WSIFMessage context = getContext();
context.setObjectPart(
- WSIFConstants.UNREFERENCED_ATTACHMENT_PART_NAME,
+ WSIFConstants.CONTEXT_RESPONSE_UNREFERENCED_ATTACHMENT_PARTS,
unrefAps);
setContext(context);
}
1.25 +8 -2 xml-axis-wsif/java/src/org/apache/wsif/WSIFConstants.java
Index: WSIFConstants.java
===================================================================
RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/WSIFConstants.java,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- WSIFConstants.java 19 Mar 2003 15:20:23 -0000 1.24
+++ WSIFConstants.java 3 Apr 2003 16:16:32 -0000 1.25
@@ -217,8 +217,14 @@
/**
*
*/
- public static final String UNREFERENCED_ATTACHMENT_PART_NAME =
- "org.apache.wsif.attachments.unreferenced_attachment_part_name";
+ public static final String CONTEXT_REQUEST_UNREFERENCED_ATTACHMENT_PARTS =
+ "org.apache.wsif.attachments.request.unreferenced_attachment_parts";
+
+ /**
+ *
+ */
+ public static final String CONTEXT_RESPONSE_UNREFERENCED_ATTACHMENT_PARTS =
+ "org.apache.wsif.attachments.response.unreferenced_attachment_parts";
/**
* SOAP faults WSIFMessage part name for the fault code