Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-581

SimpleArray test client not compiling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • current (nightly)
    • 1.5 Final
    • Test
    • None
    • All

    Description

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

      Attachments

        Activity

          People

            samisa Don Samisa Abeysinghe
            dchandradasa Marcus Dushshantha Chandradasa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: