You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2004/08/04 13:22:42 UTC

cvs commit: ws-axis/c/samples/client/interoptests/groupB InteropTestPortTypeB.h InteropTestPortTypeB.cpp

sanjaya     2004/08/04 04:22:42

  Modified:    c/samples/client/interoptests/groupB Tag:
                        NamespaceTesting_branch InteropTestPortTypeB.h
                        InteropTestPortTypeB.cpp
  Log:
  changed the parameter order of the hand written groupb sample to conform
  with the WSDL2Ws tool changes
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.6.10.1  +2 -2      ws-axis/c/samples/client/interoptests/groupB/InteropTestPortTypeB.h
  
  Index: InteropTestPortTypeB.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/interoptests/groupB/InteropTestPortTypeB.h,v
  retrieving revision 1.6
  retrieving revision 1.6.10.1
  diff -u -r1.6 -r1.6.10.1
  --- InteropTestPortTypeB.h	14 Jun 2004 08:00:45 -0000	1.6
  +++ InteropTestPortTypeB.h	4 Aug 2004 11:22:42 -0000	1.6.10.1
  @@ -20,8 +20,8 @@
   public:
   	virtual ~InteropTestPortTypeB();
   public: 
  -	void echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM float *OutValue0, AXIS_OUT_PARAM int *OutValue1, AXIS_OUT_PARAM xsd__string *OutValue2);
  -	SOAPStruct* echoSimpleTypesAsStruct(float Value0,int Value1,xsd__string Value2);
  +	void echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM xsd__string *OutValue0, AXIS_OUT_PARAM int *OutValue1, AXIS_OUT_PARAM float *OutValue2);
  +	SOAPStruct* echoSimpleTypesAsStruct(xsd__string Value0,int Value1, float Value2);
   	SOAPStructStruct* echoNestedStruct(SOAPStructStruct* Value0);
   	SOAPArrayStruct* echoNestedArray(SOAPArrayStruct* Value0);
   };
  
  
  
  1.13.10.1 +4 -4      ws-axis/c/samples/client/interoptests/groupB/InteropTestPortTypeB.cpp
  
  Index: InteropTestPortTypeB.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/interoptests/groupB/InteropTestPortTypeB.cpp,v
  retrieving revision 1.13
  retrieving revision 1.13.10.1
  diff -u -r1.13 -r1.13.10.1
  --- InteropTestPortTypeB.cpp	14 Jun 2004 08:00:45 -0000	1.13
  +++ InteropTestPortTypeB.cpp	4 Aug 2004 11:22:42 -0000	1.13.10.1
  @@ -44,7 +44,7 @@
   /*
    * This method wrap the service methodechoStructAsSimpleTypes
    */
  -void InteropTestPortTypeB::echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM  float *OutValue0, AXIS_OUT_PARAM  int *OutValue1, AXIS_OUT_PARAM  xsd__string *OutValue2)
  +void InteropTestPortTypeB::echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM  xsd__string *OutValue0, AXIS_OUT_PARAM  int *OutValue1, AXIS_OUT_PARAM float *OutValue2)
   {
   	if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) return ;
   	m_pCall->setTransportProperty(SOAPACTION_HEADER , "groupB#echoStructAsSimpleTypes");
  @@ -55,9 +55,9 @@
   	{
   		if(AXIS_SUCCESS == m_pCall->checkMessage("echoStructAsSimpleTypesResponse", ""))
   		{
  -			*OutValue0 = m_pCall->getElementAsFloat("outputFloat", 0);
  +			*OutValue0 = m_pCall->getElementAsString("outputString", 0);
   			*OutValue1 = m_pCall->getElementAsInt("outputInteger", 0);
  -			*OutValue2 = m_pCall->getElementAsString("outputString", 0);
  +			*OutValue2 = m_pCall->getElementAsFloat("outputFloat", 0);
   		}
   	}
   	m_pCall->unInitialize();
  @@ -67,7 +67,7 @@
   /*
    * This method wrap the service methodechoSimpleTypesAsStruct
    */
  -SOAPStruct* InteropTestPortTypeB::echoSimpleTypesAsStruct(float Value0, int Value1, xsd__string Value2)
  +SOAPStruct* InteropTestPortTypeB::echoSimpleTypesAsStruct(xsd__string Value0, int Value1, float Value2)
   {
   	SOAPStruct* pReturn = NULL;
   	if (AXIS_SUCCESS != m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL)) return pReturn;