[ 
http://issues.apache.org/jira/browse/AXISCPP-589?page=comments#action_61804 ]
     
Chinthana Danapala commented on AXISCPP-589:
--------------------------------------------

I have done some modifications it's now compiling. 

Index: RpcHttpHeaderTest8Client.cpp
===================================================================
RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/RpcHtt
pHeaderTest8Client.cpp,v
retrieving revision 1.9
diff -u -r1.9 RpcHttpHeaderTest8Client.cpp
--- RpcHttpHeaderTest8Client.cpp        23 Mar 2005 15:45:06 -0000      1.9
+++ RpcHttpHeaderTest8Client.cpp        30 Mar 2005 05:31:23 -0000
@@ -1,6 +1,5 @@
 /*
  *   Copyright 2003-2004 The Apache Software Foundation.
-// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
  *   you may not use this file except in compliance with the License.
@@ -45,6 +44,7 @@
     sprintf(endpoint, "http://%s:%s/axis/base";, server, port);
     /*Set for HTTP transport */
     InteropTestPortType ws(endpoint, APTHTTP1_1);
+       ws.setTransportProperty("SOAPAction" , "InteropBase#echoString");

     //set HTTP headers
      ws.setTransportProperty(NULL, "lang2");
@@ -110,8 +110,8 @@
     ws.deleteTransportProperty("Accept-Language");

     //now the request should not have these removed headers
-               bool bSuccess = false;
-               int     iRetryIterationCount = 3;
+               bSuccess = false;
+               iRetryIterationCount = 3;

                do
                {

> RpcHttpHeaderTest3 - Client Compilation - FAILED
> ------------------------------------------------
>
>          Key: AXISCPP-589
>          URL: http://issues.apache.org/jira/browse/AXISCPP-589
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Versions: 1.5 Final
>     Reporter: Chinthana Danapala

>
> It fail to compile the client code. Give following error. 
>        [cc] RpcHttpHeaderTest8Client.cpp
>        [cc] 
> C:\obj\test\generated\cpp\RpcHttpHeaderTest8\RpcHttpHeaderTest8Clien
> t.cpp(113) : error C2374: 'bSuccess' : redefinition; multiple initialization
>        [cc]         
> C:\obj\test\generated\cpp\RpcHttpHeaderTest8\RpcHttpHeaderTe
> st8Client.cpp(54) : see declaration of 'bSuccess'
>        [cc] 
> C:\obj\test\generated\cpp\RpcHttpHeaderTest8\RpcHttpHeaderTest8Clien
> t.cpp(114) : error C2374: 'iRetryIterationCount' : redefinition; multiple 
> initia
> lization
>        [cc]         
> C:\obj\test\generated\cpp\RpcHttpHeaderTest8\RpcHttpHeaderTe
> st8Client.cpp(55) : see declaration of 'iRetryIterationCount'
>        [cc] SOAPStruct.cpp
>        [cc] Generating Code...
>        [cc] cl failed with return code 2
> callCompileLinkedClient:
> compileClient:
> validateClientCompilationIfBuilding:
>      [echo] RpcHttpHeaderTest8 - Client Compilation - FAILED

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to