Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 21401 invoked from network); 7 Oct 2003 10:24:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Oct 2003 10:24:45 -0000 Received: (qmail 74734 invoked by uid 500); 7 Oct 2003 10:24:14 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 74708 invoked by uid 500); 7 Oct 2003 10:24:14 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 74697 invoked by uid 500); 7 Oct 2003 10:24:14 -0000 Delivered-To: apmail-ws-axis-cvs@apache.org Date: 7 Oct 2003 10:24:40 -0000 Message-ID: <20031007102440.21373.qmail@minotaur.apache.org> From: roshan@apache.org To: ws-axis-cvs@apache.org Subject: cvs commit: ws-axis/c/src/client Call.h Call.cpp X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N roshan 2003/10/07 03:24:40 Modified: c/src/client Call.h Call.cpp Log: added a line related to the method AddParameter to include the name for serialization Revision Changes Path 1.10 +1 -1 ws-axis/c/src/client/Call.h Index: Call.h =================================================================== RCS file: /home/cvs/ws-axis/c/src/client/Call.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Call.h 6 Oct 2003 09:57:37 -0000 1.9 +++ Call.h 7 Oct 2003 10:24:40 -0000 1.10 @@ -98,7 +98,7 @@ /* Method for adding complex type array parameters */ void AddParameter(Axis_Array* pArray, void* pSZFunct, void* pDelFunct, void* pSizeFunct, const char* pchTypeName); /* Method for adding basic type array parameters */ - void AddParameter(Axis_Array* pArray, XSDTYPE nType); + void AddParameter(Axis_Array* pArray, XSDTYPE nType, const char* pchTypeName); /* Methods for adding parameters of basic types */ void AddParameter(int nValue,const char* pchName); 1.12 +2 -1 ws-axis/c/src/client/Call.cpp Index: Call.cpp =================================================================== RCS file: /home/cvs/ws-axis/c/src/client/Call.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- Call.cpp 6 Oct 2003 09:57:37 -0000 1.11 +++ Call.cpp 7 Oct 2003 10:24:40 -0000 1.12 @@ -181,12 +181,13 @@ /** * Method used to add arrays of basic types as parameters */ -void Call::AddParameter(Axis_Array* pArray, XSDTYPE nType) +void Call::AddParameter(Axis_Array* pArray, XSDTYPE nType, const char* pchTypeName) { IArrayBean* pAb = m_pIWSSZ->makeArrayBean(nType, (void*)(pArray->m_Array)); pAb->AddDimension(pArray->m_Size); pAb->SetItemName("item"); IParam* pRetParam = m_pIWSSZ->AddOutputParam(pAb); + pRetParam->SetName(pchTypeName); } void Call::AddParameter(Axis_Array* pArray, void* pSZFunct, void* pDelFunct, void* pSizeFunct, const char* pchTypeName)