axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@us.ibm.com>
Subject RE: cvs commit: xml-axis/java/src/org/apache/axis/transport/local LocalSender.java
Date Wed, 19 Feb 2003 21:44:26 GMT
I'll leave that up to you if you have a preference.  I do not have a 
preference either way.

- James Snell
     IBM Emerging Technologies
     jasnell@us.ibm.com
     (559) 587-1233 (office)
     (700) 544-9035 (t/l)
     Programming Web Services With SOAP
         O'Reilly & Associates, ISBN 0596000952

     Have I not commanded you? Be strong and courageous. 
     Do not be terrified, do not be discouraged, for the Lord your 
     God will be with you whereever you go.    - Joshua 1:9



Glen Daniels <gdaniels@macromedia.com>
02/19/2003 01:33 PM
Please respond to axis-dev


To
"'axis-dev@ws.apache.org'" <axis-dev@ws.apache.org>
cc

bcc

Subject
RE: cvs commit: xml-axis/java/src/org/apache/axis/transport/local 
LocalSender.java




Hm.  Well, OK, but we're not serializing and deserializing the attachments 
this way.

Granted, it would be expensive in some cases to do so, but the point of 
LocalSender is to test things like this.  Perhaps we should give it a 
"test" mode and a "fast" mode, which just passes through the objects (no 
serialization)?

--G

> -----Original Message-----
> From: jmsnell@apache.org [mailto:jmsnell@apache.org]
> Sent: Wednesday, February 19, 2003 4:30 PM
> To: xml-axis-cvs@apache.org
> Subject: cvs commit: xml-axis/java/src/org/apache/axis/transport/local
> LocalSender.java
>
>
> jmsnell     2003/02/19 13:30:02
>
>   Modified:    java/src/org/apache/axis/transport/local
> LocalSender.java
>   Log:
>   FIX: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17161
>
>   Applied patch included in bug report
>
>   Revision  Changes    Path
>   1.44      +13 -2
> xml-axis/java/src/org/apache/axis/transport/local/LocalSender.java
>
>   Index: LocalSender.java
>   ===================================================================
>   RCS file:
> /home/cvs/xml-axis/java/src/org/apache/axis/transport/local/Lo
> calSender.java,v
>   retrieving revision 1.43
>   retrieving revision 1.44
>   diff -u -r1.43 -r1.44
>   --- LocalSender.java        11 Dec 2002 22:38:25 -0000      1.43
>   +++ LocalSender.java        19 Feb 2003 21:30:02 -0000      1.44
>   @@ -112,14 +112,25 @@
>
>            // copy the request, and force its format to
> String in order to
>            // exercise the serializers.
>   -        String msgStr =
> clientContext.getRequestMessage().getSOAPPartAsString();
>   +
>   +// START FIX:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17161
>   +
>   +        Message clientRequest = clientContext.getRequestMessage();
>   +
>   +        String msgStr = clientRequest.getSOAPPartAsString();
>
>            if (log.isDebugEnabled()) {
>                log.debug(Messages.getMessage("sendingXML00",
> "LocalSender"));
>                log.debug(msgStr);
>            }
>   +
>   +        Message serverRequest = new Message(msgStr);
>   +        serverRequest.getAttachmentsImpl().setAttachmentParts(
>   +          clientRequest.getAttachmentsImpl().getAttachments());
>   +        serverContext.setRequestMessage(serverRequest);
>   +
>   +// END FIX: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17161
>
>   -        serverContext.setRequestMessage(new Message(msgStr));
>            serverContext.setTransportName("local");
>
>            // Also copy authentication info if present
>
>
>
> 


Mime
View raw message