ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdinap...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp ClientStubWriter.java
Date Thu, 02 Jun 2005 11:40:01 GMT
cdinapala    2005/06/02 04:40:01

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        ClientStubWriter.java
  Log:
  Change to support AXIS_OUT_PARAM for RPC style. These changes are to solve an issue AXISCPP-608
  
  Revision  Changes    Path
  1.78      +32 -10    ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ClientStubWriter.java
  
  Index: ClientStubWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ClientStubWriter.java,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- ClientStubWriter.java	23 Mar 2005 15:45:04 -0000	1.77
  +++ ClientStubWriter.java	2 Jun 2005 11:40:01 -0000	1.78
  @@ -610,16 +610,38 @@
                   {
                       if (typeissimple)
                       {
  -                        writer.write(
  -                            "\t\t\t\t"
  -                                + currentParamName
  -                                + " = m_pCall->"
  -                                + CUtils.getParameterGetValueMethodName(
  -                                    currentParaType,
  -                                    false)
  -                                + "(\""
  -                                + currentType.getParamName()
  -                                + "\", 0);\n");
  +                		//Chinthana:
  +                		//Changes have done for handle AXIS_OUT_PARAM Types.
  +                		if (currentParaType.equals ("xsd__string")
  +                				|| currentParaType.equals ("xsd__anyURI")
  +                				|| currentParaType.equals ("xsd__QName")
  +                				|| currentParaType.equals ("xsd__notation"))
  +                		{
  +                            writer.write(
  +                                "\t\t\t\t"
  +                                    + currentParamName
  +                                    + " = m_pCall->"
  +                                    + CUtils.getParameterGetValueMethodName(
  +                                        currentParaType,
  +                                        false)
  +                                    + "(\""
  +                                    + currentType.getParamName()
  +                                    + "\", 0);\n");
  +                        }
  +                		else
  +	                    {
  +	                        writer.write(
  +	                            "\t\t\t\t"
  +	                                + currentParamName
  +	                                + " = *(m_pCall->"
  +	                                + CUtils.getParameterGetValueMethodName(
  +	                                    currentParaType,
  +	                                    false)
  +	                                + "(\""
  +	                                + currentType.getParamName()
  +	                                + "\", 0));\n");
  +	                    }
  +                		//02/06/2006.....................................................
                       }
                       else
                       {
  
  
  

Mime
View raw message