Most probably this option has been put in place to support different
implementation styles for for Parameters.

However, obviously, as of now, we do not have different implementation
styles, nor we have any plans to support such a selection.

We do not have any tests in place to test this.

I see that in the following classes the value set with -i option is used:
src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/AllParamWriter.java
src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/AllParamWriter.java
src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/AllParamWriter.java
src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/AllParamWriter.java

However, looking into the 'if' block where is it used, there is only
one if condition and no else blocks:
if (wscontext
                    .getWrapInfo()
                    .getImplStyle()
                    .equals(WrapperConstants.IMPL_STYLE_STRUCT))

Thus we obvously do not need this if block as we always use struct
style and there is no code for any other style anywhere in the code.
Hence we obvously can drop this and clean up the code (which would be
a bit time consuming given the complexities in couplings in the use of
this value)

Thanks,
Samisa...


On Tue, 8 Feb 2005 14:55:08 +0000, John Hawkins <[EMAIL PROTECTED]> wrote:
>  
> hi Folks, came across this as an option on WSD2Ws-> 
>  
> -i implementation style (struct|order|simple) default is struct---
> (usergetvalue() with PP or use getTag() ect ....) 
>  
> Is this used ad what does it do? 
> It's not docced very well so no real idea what the ramifications are. Do we
> test it? 
>  
> thanks, 
> John.

Reply via email to