I'm too new to Axis to explain why this happens, but I can tell you that
this is the intended behavior and that both files are needed. Basically one
is an "inner" bean that lets you get and set the parameters for that
operation. The other is an "outer" bean that lets you get and set the inner
bean. (I rename the outer one something like "loginRequestWrapper" to make
it less confusing for me, although that gets lost whenever the WSDL changes
and I have to regenerate code).

Experienced Axis folks: please set me straight on that if I've got it wrong
or explain it in more depth - thanks.

______________________________________________
Steve Gruverman
IntelliCare, Inc. | A Medco Health Solutions Company


O Aiken <[EMAIL PROTECTED]> wrote on 03/27/2008 05:47:50 PM:

>
> Hi,
>
> When generating stubs with Axis2 1.3  -- some of the class files are
> generated twice, once with a number appended.
>
> ie. this wsdl snippit :
>
> ==
> <wsdl:message name="loginRequest">
>          <wsdl:part element="wsv:loginRequest" name="loginRequest"/>
>      </wsdl:message>
> ==
>
> will result in 2 classes :
>
> LoginRequest.java
> LoginRequest15.java
>
>
> Does anybody know why ?
>
> thank you & regards,
>
> -O Aiken
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to