axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/test/outparams TestOutParams.java
Date Tue, 23 Nov 2004 23:22:31 GMT
dims        2004/11/23 15:22:31

  Modified:    java/src/org/apache/axis/transport/local LocalSender.java
               java/test/outparams TestOutParams.java
  Log:
  Fix for AXIS-1663 - LocalSender does not deserialize response message
  from  Steve Green (steve.green@epok.net)
  
  Revision  Changes    Path
  1.49      +1 -1      ws-axis/java/src/org/apache/axis/transport/local/LocalSender.java
  
  Index: LocalSender.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/local/LocalSender.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- LocalSender.java	19 Aug 2004 19:22:27 -0000	1.48
  +++ LocalSender.java	23 Nov 2004 23:22:31 -0000	1.49
  @@ -155,7 +155,7 @@
           // copy back the response, and force its format to String in order to
           // exercise the deserializers.
           clientContext.setResponseMessage(serverContext.getResponseMessage());
  -        //clientContext.getResponseMessage().getAsString();
  +        clientContext.getResponseMessage().getSOAPPartAsString();
   
           if (log.isDebugEnabled()) {
               log.debug("Exit: LocalSender::invoke");
  
  
  
  1.17      +8 -0      ws-axis/java/test/outparams/TestOutParams.java
  
  Index: TestOutParams.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/outparams/TestOutParams.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- TestOutParams.java	11 Dec 2002 22:40:17 -0000	1.16
  +++ TestOutParams.java	23 Nov 2004 23:22:31 -0000	1.17
  @@ -77,6 +77,14 @@
                   new QName("", "string"),
                   XMLType.XSD_STRING,
                   javax.xml.rpc.ParameterMode.IN);
  +        client.addParameter(
  +                new QName("", "out1"),
  +                XMLType.XSD_STRING,
  +                javax.xml.rpc.ParameterMode.OUT);
  +        client.addParameter(
  +                new QName("", "out2"),
  +                XMLType.XSD_FLOAT,
  +                javax.xml.rpc.ParameterMode.OUT);
           client.setReturnType(XMLType.XSD_INT);
           // Invoke the Axis server
           Object ret = client.invoke(serviceURN, "method",
  
  
  

Mime
View raw message