crafterm 2002/09/10 08:15:33
Modified: src/scratchpad/lib commons-discovery.jar
src/scratchpad/src/org/apache/cocoon/reading
AxisRPCReader.java
Added: src/scratchpad/lib axis-20020910.jar
axis-jaxrpc-20020910.jar axis-saaj-20020910.jar
Removed: src/scratchpad/lib axis-20020828.jar
axis-jaxrpc-20020828.jar axis-saaj-20020828.jar
Log:
Updated to the latest version of Axis (CVS 2002/09/10). Minor modifications
made to AxisRPCReader due to Axis API changes.
Revision Changes Path
1.2 +222 -149 xml-cocoon2/src/scratchpad/lib/commons-discovery.jar
<<Binary file>>
1.1 xml-cocoon2/src/scratchpad/lib/axis-20020910.jar
<<Binary file>>
1.1 xml-cocoon2/src/scratchpad/lib/axis-jaxrpc-20020910.jar
<<Binary file>>
1.1 xml-cocoon2/src/scratchpad/lib/axis-saaj-20020910.jar
<<Binary file>>
1.2 +8 -4
xml-cocoon2/src/scratchpad/src/org/apache/cocoon/reading/AxisRPCReader.java
Index: AxisRPCReader.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/reading/AxisRPCReader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AxisRPCReader.java 9 Sep 2002 17:53:17 -0000 1.1
+++ AxisRPCReader.java 10 Sep 2002 15:15:33 -0000 1.2
@@ -81,6 +81,7 @@
import org.apache.axis.AxisFault;
import org.apache.axis.Message;
import org.apache.axis.MessageContext;
+import org.apache.axis.soap.SOAPConstants;
import org.apache.axis.transport.http.AxisHttpSession;
import org.apache.axis.transport.http.HTTPConstants;
@@ -322,7 +323,7 @@
getLogger().debug("Sending response:\n" +
messageToString(responseMsg));
}
- sendResponse(getProtocolVersion(req), res, responseMsg);
+ sendResponse(getProtocolVersion(req), msgContext.getSOAPConstants(),
res, responseMsg);
}
if (getLogger().isDebugEnabled())
@@ -355,7 +356,10 @@
* @throws IOException if the response stream can not be written to
*/
private void sendResponse(
- final String clientVersion, HttpServletResponse res, Message responseMsg
+ final String clientVersion,
+ final SOAPConstants constants,
+ final HttpServletResponse res,
+ final Message responseMsg
)
throws AxisFault, IOException
{
@@ -372,13 +376,13 @@
{
if (getLogger().isDebugEnabled())
{
- getLogger().debug("Returned Content-Type:" +
responseMsg.getContentType());
+ getLogger().debug("Returned Content-Type:" +
responseMsg.getContentType(constants));
getLogger().debug("Returned Content-Length:" +
responseMsg.getContentLength());
}
try
{
- res.setContentType(responseMsg.getContentType());
+ res.setContentType(responseMsg.getContentType(constants));
responseMsg.writeTo(res.getOutputStream());
}
catch (SOAPException e)
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]