axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From susan...@apache.org
Subject cvs commit: ws-axis/c/src/client Call.h Call.cpp
Date Fri, 10 Oct 2003 08:44:35 GMT
susantha    2003/10/10 01:44:35

  Modified:    c/src/client Call.h Call.cpp
  Log:
  Corrected a mistake made in the previous merge
  
  Revision  Changes    Path
  1.12      +2 -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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Call.h	10 Oct 2003 05:13:13 -0000	1.11
  +++ Call.h	10 Oct 2003 08:44:35 -0000	1.12
  @@ -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, const char* pchURI, const char* pchName);
   	/* Method for adding basic type array parameters */
  -	void AddParameter(Axis_Array* pArray, XSDTYPE nType, const char* pchTypeName);
  +	void AddParameter(Axis_Array* pArray, XSDTYPE nType, const char* pchName);
   
   	/* Methods for adding parameters of basic types */
   	void AddParameter(int nValue,const char* pchName);
  @@ -113,6 +113,7 @@
   	void AddParameter(double dValue,const char* pchName);
   	void AddParameter(struct tm tValue,const char* pchName);
   	void AddParameter(const AxisChar* pStrValue,const char* pchName);
  +	void AddParameter(const AxisString& sStrValue,const char* pchName);
   
   	/* Method that set the remote method name */
   	void SetOperation(const char* pchOperation, const char* pchNamespace);
  
  
  
  1.15      +9 -13     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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Call.cpp	10 Oct 2003 05:13:13 -0000	1.14
  +++ Call.cpp	10 Oct 2003 08:44:35 -0000	1.15
  @@ -163,26 +163,22 @@
   	m_pIWSSZ->AddOutputParam(pchName, pStrValue);
   }
   
  +void Call::AddParameter(const AxisString& sStrValue,const char* pchName)
  +{
  +	m_pIWSSZ->AddOutputParam(pchName, sStrValue.c_str());	
  +}
  +
   /**
    * Method used to add arrays of basic types as parameters
    */
  -void Call::AddParameter(Axis_Array* pArray, XSDTYPE nType, const char* pchTypeName)
  +void Call::AddParameter(Axis_Array* pArray, XSDTYPE nType, const char* pchName)
   {
  -	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);
  +	m_pIWSSZ->AddOutputParam(pchName, pArray, nType);
   }
   
  -void Call::AddParameter(Axis_Array* pArray, void* pSZFunct, void* pDelFunct, void* pSizeFunct,
const char* pchTypeName)
  +void Call::AddParameter(Axis_Array* pArray, void* pSZFunct, void* pDelFunct, void* pSizeFunct,
const char* pchTypeName, const char* pchURI, const char* pchName)
   {
  -	IArrayBean* pAb = m_pIWSSZ->makeArrayBean((void*)(pArray->m_Array), pSZFunct, pDelFunct,
pDelFunct);
  -	pAb->AddDimension(pArray->m_Size);
  -	pAb->SetItemName("item");
  -	pAb->SetTypeName(pchTypeName);
  -	IParam* pRetParam = m_pIWSSZ->AddOutputParam(pAb);
  -	pRetParam->SetName(pchTypeName);
  +	m_pIWSSZ->AddOutputParam(pchName, pArray, pSZFunct, pDelFunct, pSizeFunct, pchTypeName,
pchURI);
   }
   
   void Call::AddParameter(void *pObject, void *pSZFunct, void *pDelFunct, const char* pchName)
  
  
  

Mime
View raw message