If you use WSDL First with Axis 1.4, it should work.

I recommend using unwrapped arrays -- i.e., don't define an array
type, just define the element as a repeating element
(maxOccurs="unbounded").

Anne

On 7/6/06, Amit Andhale <[EMAIL PROTECTED]> wrote:

Thanks Anne!
I faced this input parameter problem with "DOCUMENT" style. So I dropped
that idea and used "WRAPPED" style.
Is there any other way other than "WSDL First" approach?
Even if I use WSDL First approach and use Axis 1.3/1.4, will this overcome
my problem of getting "Zero Length Inner Array"?

Amit




On 7/6/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
>
Note that if you do DOCUMENT style, your method can take only one
parameter (you must wrap your input parameters into a bean).

As a better approach, I recommend that you adopt a WSDL First
approach. Define the WSDL as you'd like to see it, then generate your
server from it.

Anne

On 7/6/06, Amit Andhale < [EMAIL PROTECTED]> wrote:
>
> Hi,
> Thanks for prompt reply!
> Yes! I do have "style=WRAPPED" in my WSDL.
> I have not checked with "DOCUMENT" style. I will check it and post my
reply
> soon.
>
> Could you please tell me what changes you have made on .NET side Proxy
> class?
> This is very important task for me. And for the first time I am working on
> Axis web service.
>
>
> Amit
>
>
>
>
> On 7/6/06, Stanley Stanev <[EMAIL PROTECTED]> wrote:
> >
> >
> > Amit,
> >
> > we have solved this by changing a bit the generated proxy classes on the
> .NET side, not good as it requires a very small change, but no way you can
> fix this, bad for Axis 1.x
> >
 > > also, I bet you have in your WSDD style="wrapped" when you describe
your
> service
> >
> > can you try with style="document", what is the result? what is the SOAP
in
 > this case?
> >
> > thanks,
> >
> > Stanley Stanev
> >
> >
> > Amit Andhale wrote:
> >
> >
> > Hi John,
> > Did your problem get solved using Axis2 or XFire?
> >
> > Amit
> >
> >
> > On 7/5/06, Amit Andhale <[EMAIL PROTECTED] > wrote:
> > >
> > > Thanks John! I also tried out removing ArrayMapping from WSDD. But
issue
> still persists.
> > >
> > >
> > >
> > > On 7/5/06, john andersen <[EMAIL PROTECTED] > wrote:
> > > >
 > > > > I ran into the exact same issue with both Axis 1.4 and Axis 1.3 but
I
> used a gSOAP client instead of .NET - the array member tags were set  to
the
> name of the enclosing array.  This problem does not exist in Axis2.
Unless
> this is a valid way to represent an array in XML, this seems to be an Axis
> 1.3/1.4 issue.
> > > >
> > > > Can this be a configuration issue?  I have added/removed
ArrayMappings
> in the wsdd and have no idea what else I can poke to alter this behavior.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 7/5/06, Amit Andhale < [EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > >
> > > > Hi Anne,
> > > > I rebooted the server and redeployed the service.
> > > > I am still getting the SOAP Response in following fashion,
> > > >
> > > >
> > > > <OuterObject>
> > > >     <ArrayOfInnerObjects>
> > > >
<ArrayOfInnerObjects>....</ArrayOfInnerObjects>
>   # WRONG
> > > >
<ArrayOfInnerObjects>....</ArrayOfInnerObjects>
>   # WRONG
> > > >     </ArrayOfInnerObjects>
> > > >   </OuterObjects>
> > > >
> > > >
> > > > Please find actual SOAP response below:
> > >
> >
> >
>
>

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




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

Reply via email to