You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by su...@opensource.lk on 2004/02/19 11:41:06 UTC

Patch applied and working on server side code generation - FYI

Hi Jean-Yves

I have applied the patch to the WSDL2Ws code and now can generate code
properly when there are multiple return parameters for a method.

Applied the corresponding changes to all C/C++ and RPC/Doclit generation
code.

FYI:
I am now working on WSDL2Ws tool to generate the server side code when
there are multiple return parameters.

Thanks,

Susantha.


> Hi Susantha,
>
> Here an implementation for the cpp/literal style. I will look for the
> c/literal style but don't know when (not enough time :-().
>
> The jbydiff2 contains fixes for :
>
>   ./org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
>
> Add an empty string to SerializeAsAttribute to be able to compile
> generated code when attribute are present.
>
>
> ./org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubHeaderWriter.java
>
> Little fix for multiples parameters in output.
>
> The java file ClientStubWriter.java add the possibility to have
> multiples parameters in output.
>
> All those fixes need to be validated.
>
> I have also other questions :-(
>
> When enumerations will be supported ?
>
> <xs:element name="TYPE">
>   <xs:complexType>
>     <xs:sequence>
>          <xs:attribute name="ENUM" use="required">
>                  <xs:simpleType>
>                          <xs:restriction base="xs:string">
>                                  <xs:enumeration value="AA"/>
>                                  <xs:enumeration value="AB"/>
>                                  <xs:enumeration value="AC"/>
>                                  <xs:enumeration value="AD"/>
>                          </xs:restriction>
>                  </xs:simpleType>
>          </xs:attribute>
>    </xs:complexType>
> </xs:element>
>
> Thanks for your responses to my previous mail.
>
> Regards
>
> Jean-Yves
>
>
>  >Hi Jean-Yves,
>  >
>  >we do support multiple input parameters. But not multiple output
>  >parameters. What is missing is the WSDL2Ws's code generation. Axis
>  >codebase supports having multiple output parameters. see interopGroupB
>  >samples in CVS.
>  >
>  >When we have multiple output parameters we make all of them be out
>  >parameters and the return type is made void.
>  >
>  >We appreciate if you can submit a patch to WSDL2Ws tool to do that.
>  >
>  >Thanks,
>  >
>  >Susantha.
>
>