You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/03/29 07:02:16 UTC

[jira] Created: (AXISCPP-581) SimpleArray test client not compiling

SimpleArray test client not compiling
-------------------------------------

         Key: AXISCPP-581
         URL: http://issues.apache.org/jira/browse/AXISCPP-581
     Project: Axis-C++
        Type: Bug
  Components: Test  
    Versions: current (nightly)    
 Environment: All
    Reporter: Dushshantha Chandradasa


SimpleArray test connot be compiled because of some errors in client code and some errors in genrated code.Following is the error of generated code.

intArrayType.hpp(27) : error C2871: 'std' : does not exist or is not a namespace

Following fixes to the client code made the code compiling but did not check whether it is running properly.

Index: c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp
===================================================================
RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp,v
retrieving revision 1.8
diff -r1.8 SimpleArrayClient.cpp
1,15d0
< // 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.
< // You may obtain a copy of the License at
< // 
< //        http://www.apache.org/licenses/LICENSE-2.0
< // 
< // Unless required by applicable law or agreed to in writing, software
< // distributed under the License is distributed on an "AS IS" BASIS,
< // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
< // See the License for the specific language governing permissions and
< // limitations under the License.
< 
44a30
> 	ws.setTransportProperty("SOAPAction" , "Array#echoIntArray");
47c33
<          arrin.intItem.m_Array = new int[ARRAYSIZE];
---
>          arrin.intItem.m_Array = new int*[ARRAYSIZE];
51c37
<            arrin.intItem.m_Array[x] = x;
---
>            arrin.intItem.m_Array[x] = &x;

somebody please look in to this...

-- 
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


[jira] Closed: (AXISCPP-581) SimpleArray test client not compiling

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-581?page=history ]
     
Samisa Abeysinghe closed AXISCPP-581:
-------------------------------------

     Resolution: Fixed
    Fix Version: 1.5 Final

This works now as confirmed by Dushshantha

> SimpleArray test client not compiling
> -------------------------------------
>
>          Key: AXISCPP-581
>          URL: http://issues.apache.org/jira/browse/AXISCPP-581
>      Project: Axis-C++
>         Type: Bug
>   Components: Test
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Dushshantha Chandradasa
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Final

>
> SimpleArray test connot be compiled because of some errors in client code and some errors in genrated code.Following is the error of generated code.
> intArrayType.hpp(27) : error C2871: 'std' : does not exist or is not a namespace
> Following fixes to the client code made the code compiling but did not check whether it is running properly.
> Index: c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp
> ===================================================================
> RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp,v
> retrieving revision 1.8
> diff -r1.8 SimpleArrayClient.cpp
> 1,15d0
> < // 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.
> < // You may obtain a copy of the License at
> < // 
> < //        http://www.apache.org/licenses/LICENSE-2.0
> < // 
> < // Unless required by applicable law or agreed to in writing, software
> < // distributed under the License is distributed on an "AS IS" BASIS,
> < // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> < // See the License for the specific language governing permissions and
> < // limitations under the License.
> < 
> 44a30
> > 	ws.setTransportProperty("SOAPAction" , "Array#echoIntArray");
> 47c33
> <          arrin.intItem.m_Array = new int[ARRAYSIZE];
> ---
> >          arrin.intItem.m_Array = new int*[ARRAYSIZE];
> 51c37
> <            arrin.intItem.m_Array[x] = x;
> ---
> >            arrin.intItem.m_Array[x] = &x;
> somebody please look in to this...

-- 
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


[jira] Commented: (AXISCPP-581) SimpleArray test client not compiling

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-581?page=comments#action_61698 ]
     
Dushshantha Chandradasa commented on AXISCPP-581:
-------------------------------------------------

client compiles atfer removing 

using namespace std;

line from the generated header intArrayType.hpp

Dushshantha

> SimpleArray test client not compiling
> -------------------------------------
>
>          Key: AXISCPP-581
>          URL: http://issues.apache.org/jira/browse/AXISCPP-581
>      Project: Axis-C++
>         Type: Bug
>   Components: Test
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Dushshantha Chandradasa

>
> SimpleArray test connot be compiled because of some errors in client code and some errors in genrated code.Following is the error of generated code.
> intArrayType.hpp(27) : error C2871: 'std' : does not exist or is not a namespace
> Following fixes to the client code made the code compiling but did not check whether it is running properly.
> Index: c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp
> ===================================================================
> RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp,v
> retrieving revision 1.8
> diff -r1.8 SimpleArrayClient.cpp
> 1,15d0
> < // 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.
> < // You may obtain a copy of the License at
> < // 
> < //        http://www.apache.org/licenses/LICENSE-2.0
> < // 
> < // Unless required by applicable law or agreed to in writing, software
> < // distributed under the License is distributed on an "AS IS" BASIS,
> < // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> < // See the License for the specific language governing permissions and
> < // limitations under the License.
> < 
> 44a30
> > 	ws.setTransportProperty("SOAPAction" , "Array#echoIntArray");
> 47c33
> <          arrin.intItem.m_Array = new int[ARRAYSIZE];
> ---
> >          arrin.intItem.m_Array = new int*[ARRAYSIZE];
> 51c37
> <            arrin.intItem.m_Array[x] = x;
> ---
> >            arrin.intItem.m_Array[x] = &x;
> somebody please look in to this...

-- 
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


[jira] Assigned: (AXISCPP-581) SimpleArray test client not compiling

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-581?page=history ]

Samisa Abeysinghe reassigned AXISCPP-581:
-----------------------------------------

    Assign To: Samisa Abeysinghe

> SimpleArray test client not compiling
> -------------------------------------
>
>          Key: AXISCPP-581
>          URL: http://issues.apache.org/jira/browse/AXISCPP-581
>      Project: Axis-C++
>         Type: Bug
>   Components: Test
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Dushshantha Chandradasa
>     Assignee: Samisa Abeysinghe

>
> SimpleArray test connot be compiled because of some errors in client code and some errors in genrated code.Following is the error of generated code.
> intArrayType.hpp(27) : error C2871: 'std' : does not exist or is not a namespace
> Following fixes to the client code made the code compiling but did not check whether it is running properly.
> Index: c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp
> ===================================================================
> RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp,v
> retrieving revision 1.8
> diff -r1.8 SimpleArrayClient.cpp
> 1,15d0
> < // 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.
> < // You may obtain a copy of the License at
> < // 
> < //        http://www.apache.org/licenses/LICENSE-2.0
> < // 
> < // Unless required by applicable law or agreed to in writing, software
> < // distributed under the License is distributed on an "AS IS" BASIS,
> < // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> < // See the License for the specific language governing permissions and
> < // limitations under the License.
> < 
> 44a30
> > 	ws.setTransportProperty("SOAPAction" , "Array#echoIntArray");
> 47c33
> <          arrin.intItem.m_Array = new int[ARRAYSIZE];
> ---
> >          arrin.intItem.m_Array = new int*[ARRAYSIZE];
> 51c37
> <            arrin.intItem.m_Array[x] = x;
> ---
> >            arrin.intItem.m_Array[x] = &x;
> somebody please look in to this...

-- 
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


[jira] Commented: (AXISCPP-581) SimpleArray test client not compiling

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-581?page=comments#action_61717 ]
     
Dushshantha Chandradasa commented on AXISCPP-581:
-------------------------------------------------

fix to the issue 582 has solved the generated code problem here so that i can compile the code with my previous modifications to the client code 


Dushshantha

> SimpleArray test client not compiling
> -------------------------------------
>
>          Key: AXISCPP-581
>          URL: http://issues.apache.org/jira/browse/AXISCPP-581
>      Project: Axis-C++
>         Type: Bug
>   Components: Test
>     Versions: current (nightly)
>  Environment: All
>     Reporter: Dushshantha Chandradasa
>     Assignee: Samisa Abeysinghe

>
> SimpleArray test connot be compiled because of some errors in client code and some errors in genrated code.Following is the error of generated code.
> intArrayType.hpp(27) : error C2871: 'std' : does not exist or is not a namespace
> Following fixes to the client code made the code compiling but did not check whether it is running properly.
> Index: c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp
> ===================================================================
> RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleArrayClient.cpp,v
> retrieving revision 1.8
> diff -r1.8 SimpleArrayClient.cpp
> 1,15d0
> < // 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.
> < // You may obtain a copy of the License at
> < // 
> < //        http://www.apache.org/licenses/LICENSE-2.0
> < // 
> < // Unless required by applicable law or agreed to in writing, software
> < // distributed under the License is distributed on an "AS IS" BASIS,
> < // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> < // See the License for the specific language governing permissions and
> < // limitations under the License.
> < 
> 44a30
> > 	ws.setTransportProperty("SOAPAction" , "Array#echoIntArray");
> 47c33
> <          arrin.intItem.m_Array = new int[ARRAYSIZE];
> ---
> >          arrin.intItem.m_Array = new int*[ARRAYSIZE];
> 51c37
> <            arrin.intItem.m_Array[x] = x;
> ---
> >            arrin.intItem.m_Array[x] = &x;
> somebody please look in to this...

-- 
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