axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Keese <bi...@tech.beacon-it.co.jp>
Subject Re: array of recursive beans (doc/literal style)
Date Thu, 17 Feb 2005 05:07:14 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hmm, it's mysterious.&nbsp;&nbsp; Praveen's problem was the &lt;item xmlns=""&gt;
namespace bug, documented (with patch) here:&nbsp; <br>
&nbsp;&nbsp;&nbsp;
<a class="moz-txt-link-freetext" href="http://marc.theaimsgroup.com/?l=axis-user&m=109646648222389&w=2">http://marc.theaimsgroup.com/?l=axis-user&amp;m=109646648222389&amp;w=2</a><br>
<br>
I don't know why it's working for Dino (but not Praveen) without that
patch.<br>
<br>
Bill<br>
<br>
Dino Chiesa wrote:
<blockquote
 cite="midC7FA36AFCE3E8D4298586892AC960E0D05194028@RED-MSG-32.redmond.corp.microsoft.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.2604" name="GENERATOR">
  <style></style>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">Hm</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I don't really know what the
problem is, then.</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I started with the WSDL you
sent me, and removed the weird, redundant ArrayOf_tns1_ContainerBean
type, and introduced a new named complexType in its place.&nbsp;&nbsp; Like so: </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><br>
  <font color="#0000ff" face="Tahoma" size="2">&nbsp; &lt;element
name="getRootContainersResponse" type="tns1:ArrayOfContainerBean" /&gt;</font></span></div>
  <div>&nbsp;</div>
  <div align="left" dir="ltr"><font color="#0000ff" face="Tahoma"
 size="2">&nbsp; &lt;complexType name="ArrayOfContainerBean"&gt;<br>
&nbsp;&nbsp; &lt;sequence&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;element maxOccurs="unbounded" name="item" type="<span
 class="316191302-17022005">tns1</span>:ContainerBean"/&gt;<br>
&nbsp;&nbsp; &lt;/sequence&gt;<br>
&nbsp; &lt;/complexType&gt;</font></div>
  <div>&nbsp;</div>
  <div align="left" dir="ltr">&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">and then of course the
ContainerBean itself specified the type of the childContainers
element&nbsp;to be the ArrayOfContainerBean complexType.&nbsp;&nbsp; ya follow me? </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">Then I did the wsdl2Java
--server-side dance, </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">not using --noWrapped,</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">and provided an implementation
of the service that generates random data,</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">which is important because you
are sending xsd:date and .NET doesn't like nil Dates. </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">Whoops !&nbsp; no
ArrayOfContainerBean.java is generated.&nbsp; Using --noWrapped, it is?&nbsp; So
in the end I ran wsdl2Java twice, first with noWrapped, then without,
and got the required classes to be generated.&nbsp; </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">After taking that brief detour,
I deployed the service to Jetty, using the generated deploy.wsdd. </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I also built a simple .NET
client that calls the getRootContainers() method. </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I get back an array of
ContainerBeans</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">&nbsp; and each ContainerBean has a
child array of ContainerBeans.&nbsp; </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">It works for me.&nbsp; I am using
your wsdl and schema, modified as above. </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I can send you any of these
files or a zip of all of them. </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I tried it with AXIS v1.1
first, which I have had good success with.&nbsp;&nbsp; It worked. </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">Then I tried it with AXIS
1.2RC2.&nbsp; I expected this to not work because you all are saying that
arrays are broken in v1.2RC2.&nbsp;&nbsp; It necessitated lots of changes to my
makefile due to changes in the names of generated classes.??&nbsp; also the
weirdness with&nbsp;failing to generate the ArrayOfContainerBean.&nbsp; &nbsp;&nbsp;&nbsp;</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">But in the end it worked.&nbsp; In
both cases the client was .NET v1.1. &nbsp;</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">I double-checked the axis jars
in the jetty webapp, they are from Nov 16 2004, whiich I guess is the
release date of v1.2RC2.&nbsp;&nbsp;so it really is working. &nbsp; I did not apply
Eric's patch.&nbsp; I don't even know what Eric's patch is.&nbsp; </font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">Just for grins I generated a
.NET server-side implementation, too.&nbsp; The same client works with both
the AXIS server and the .NET server.&nbsp; Just change the URL.&nbsp; &nbsp; There's&nbsp;
no difference.&nbsp; Except the .NET version is faster and better looking.&nbsp;&nbsp;
;)</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <div align="left" dir="ltr"><span class="316191302-17022005"><font
 color="#0000ff" face="Tahoma" size="2">"WSDL first,&nbsp;a good idea. (tm)"</font></span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005">&nbsp;</span></div>
  <div align="left" dir="ltr"><span class="316191302-17022005"></span>&nbsp;</div>
  <br>
  <div class="OutlookMessageHeader" align="left" dir="ltr" lang="en-us">
  <hr tabindex="-1"><font face="Tahoma" size="2"><b>From:</b> Praveen
Peddi [<a class="moz-txt-link-freetext" href="mailto:ppeddi@contextmedia.com">mailto:ppeddi@contextmedia.com</a>] <br>
  <b>Sent:</b> Wednesday, February 16, 2005 5:43 PM<br>
  <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a><br>
  <b>Subject:</b> Re: array of recursive beans (doc/literal style)<br>
  </font><br>
  </div>
  <div><font face="Arial" size="2">I don't really like the option 1.
And I don't know how to go for option 2 :). I am trying to apply Eric's
patch and see if it fixes my problem (assuming that this patch will be
applied to Axis's cvs :) ).</font></div>
  <div>&nbsp;</div>
  <div><font face="Arial" size="2">Praveen</font></div>
  <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"
 dir="ltr">
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
    <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
    <a title="dinoch@microsoft.com" href="mailto:dinoch@microsoft.com">Dino
Chiesa</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
    <a title="axis-user@ws.apache.org"
 href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a> </div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, February 16, 2005 5:06 PM</div>
    <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
RE: array of recursive beans (doc/literal style)</div>
    <div><br>
    </div>
    <div align="left" dir="ltr"><span class="827280522-16022005"><font
 color="#0000ff" face="Tahoma" size="2">yes, our most recent messages
crossed in the ether.</font></span></div>
    <br>
    <div class="OutlookMessageHeader" align="left" dir="ltr"
 lang="en-us">
    <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b>
Praveen Peddi [<a class="moz-txt-link-freetext" href="mailto:ppeddi@contextmedia.com">mailto:ppeddi@contextmedia.com</a>] <br>
    <b>Sent:</b> Wednesday, February 16, 2005 2:34 PM<br>
    <b>To:</b> <a href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a><br>
    <b>Subject:</b> Re: array of recursive beans (doc/literal style)<br>
    </font><br>
    </div>
    <div><font face="Arial" size="2">The main problem seems to be in
the axis response anyway. So I am not sure if changing the WSDL would
fix the problem on .NET side.Axis response has a blank namespace for
the second level elements (see the green text and red text. I think
they both should have similar attributes and namespaces). thats what I
have to fix I think. But how do I fix is the question.</font></div>
    <div>&nbsp;</div>
    <div><font face="Arial" size="2">&lt;soapenv:Envelope
xmlns:soapenv="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>"
xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>"
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"&gt;<br>
&nbsp;&lt;soapenv:Body&gt;<br>
&nbsp;&nbsp;&lt;getRootContainersResponse xmlns="<a
 href="http://soap.session.ip.contextmedia.com">http://soap.session.ip.contextmedia.com</a>"&gt;<br>
&nbsp;&nbsp;&nbsp;<font color="#008000">&lt;item xsi:type="ns1:ContainerBean"
xmlns:ns1="</font><a href="http://soap.session.ip.contextmedia.com"><font
 color="#008000">http://soap.session.ip.contextmedia.com</font></a><font
 color="#008000">"&gt;<br>
    </font>&nbsp;&nbsp;&nbsp;&nbsp;&lt;ID&gt;9C5B3C608B5D151B6F87E368CC8AF182&lt;/ID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;accessPermissions&gt;7&lt;/accessPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;accountID&gt;7F1CB4C5C87072FA8D6C21133A642EAB&lt;/accountID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;childContainers&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#ff0000">&lt;item xmlns=""&gt;<br>
    </font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ID&gt;163C42F9BC87CB1CEBC14C0A45820DED&lt;/ID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;accessPermissions&gt;7&lt;/accessPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;accountID&gt;7F1CB4C5C87072FA8D6C21133A642EAB&lt;/accountID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;childContainers xsi:nil="true"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;creationDate&gt;2005-02-09T17:21:44.000Z&lt;/creationDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;deliveryPermissions&gt;0&lt;/deliveryPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;description/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;lastModifiedDate&gt;2005-02-09T17:21:44.000Z&lt;/lastModifiedDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;test&lt;/name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;parentID&gt;9C5B3C608B5D151B6F87E368CC8AF182&lt;/parentID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;type&gt;4&lt;/type&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;userID&gt;8E89C8D2583DCB99812FC94FDE15AFE1&lt;/userID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/item&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/childContainers&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;creationDate&gt;2005-01-27T21:21:33.000Z&lt;/creationDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;deliveryPermissions&gt;0&lt;/deliveryPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;description/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;lastModifiedDate&gt;2005-02-08T22:18:03.000Z&lt;/lastModifiedDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;My Content&lt;/name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;parentID xsi:nil="true"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;type&gt;1&lt;/type&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;userID&gt;8E89C8D2583DCB99812FC94FDE15AFE1&lt;/userID&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;/item&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;item xsi:type="ns3:ContainerBean" xmlns:ns3="<a
 href="http://soap.session.ip.contextmedia.com">http://soap.session.ip.contextmedia.com</a>"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;ID&gt;829E600249C07064F73569782FF801EC&lt;/ID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;accessPermissions&gt;7&lt;/accessPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;accountID&gt;7F1CB4C5C87072FA8D6C21133A642EAB&lt;/accountID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;childContainers&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;item xmlns=""&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ID&gt;F142D17B950A2A70E0DF6E777B8D39D4&lt;/ID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;accessPermissions&gt;7&lt;/accessPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;accountID&gt;7F1CB4C5C87072FA8D6C21133A642EAB&lt;/accountID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;childContainers/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;creationDate&gt;2005-01-27T21:24:18.000Z&lt;/creationDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;deliveryPermissions&gt;0&lt;/deliveryPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;description/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;lastModifiedDate&gt;2005-01-27T21:24:18.000Z&lt;/lastModifiedDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;2&lt;/name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;parentID&gt;829E600249C07064F73569782FF801EC&lt;/parentID&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;type&gt;4&lt;/type&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;userID xsi:nil="true"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/item&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/childContainers&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;creationDate&gt;2005-01-27T21:21:29.000Z&lt;/creationDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;deliveryPermissions&gt;0&lt;/deliveryPermissions&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;description/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;lastModifiedDate&gt;2005-01-27T21:38:41.000Z&lt;/lastModifiedDate&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;Enterprise Library&lt;/name&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;parentID xsi:nil="true"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;type&gt;1&lt;/type&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;userID xsi:nil="true"/&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;/item&gt;<br>
&nbsp;&nbsp;&lt;/getRootContainersResponse&gt;<br>
&nbsp;&lt;/soapenv:Body&gt;<br>
&lt;/soapenv:Envelope&gt;</font></div>
    <div>&nbsp;</div>
    <div>&nbsp;</div>
    <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"
 dir="ltr">
      <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
      <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
      <a title="ppeddi@contextmedia.com"
 href="mailto:ppeddi@contextmedia.com">Praveen Peddi</a> </div>
      <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
      <a title="axis-user@ws.apache.org"
 href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a> ; <a
 title="shersh@gmail.com" href="mailto:shersh@gmail.com">Eugene
Shershnev</a> </div>
      <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, February 16, 2005 2:20 PM</div>
      <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: array of recursive beans (doc/literal style)</div>
      <div><br>
      </div>
      <div><font face="Arial" size="2">I changed the wsdl.
ContainerBean is now defined as (my changes are in blue):</font></div>
      <div><font color="#0000ff" size="1"> </font>
      <p><font color="#0000ff" size="1"><font color="#000000"
 face="Arial" size="2">&lt;complexType name="ContainerBean"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;sequence&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="ID" nillable="true" type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="accessPermissions" type="xsd:int"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="accountID" nillable="true" type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000ff">&lt;element name="childContainers"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;complexType&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;sequence&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element maxOccurs="unbounded" name="item"
type="tns1:ContainerBean"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/sequence&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/complexType&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/element&gt;<br>
      </font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="creationDate" nillable="true"
type="xsd:dateTime"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="deliveryPermissions" type="xsd:int"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="description" nillable="true"
type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="lastModifiedDate" nillable="true"
type="xsd:dateTime"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="name" nillable="true" type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="parentID" nillable="true" type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="type" type="xsd:int"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;element name="userID" nillable="true" type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/sequence&gt;<br>
&nbsp;&nbsp;&nbsp;&lt;/complexType&gt;</font></font></p>
      <font color="#0000ff" size="1"> </font>
      <p><font color="#0000ff" size="1"><font color="#000000"
 face="Arial" size="2">I made my .NET client point to the modified
WSDL. I still get the same error. My .NET client cant serialize the
beans after top level.</font></font></p>
      <font color="#0000ff" size="1"> </font>
      <p><font color="#0000ff" size="1"><font color="#000000"
 face="Arial" size="2">I didn't change the java code on server side
though. All I did was changed WSDL manually and added this webreference
on .NET side.</font></font></p>
      <font color="#0000ff" size="1"> </font>
      <p><font color="#0000ff" size="1"><font color="#000000"
 face="Arial" size="2">Thx</font></font></p>
      <font color="#0000ff" size="1"> </font>
      <p><font color="#0000ff" size="1"><font color="#000000"
 face="Arial" size="2">Praveen</font></font></p>
      <font color="#0000ff" size="1"> </font>
      <p>&nbsp;</p>
      </div>
      <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"
 dir="ltr">
        <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
        <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
        <a title="shersh@gmail.com" href="mailto:shersh@gmail.com">Eugene
Shershnev</a> </div>
        <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
        <a title="axis-user@ws.apache.org"
 href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a> </div>
        <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, February 16, 2005 1:08 PM</div>
        <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: array of recursive beans (doc/literal style)</div>
        <div><br>
        </div>
        <div><font size="2">Try changing your WSDL so there is no
additional ArrayOd_tns1_ContainerBean type.</font></div>
        <div><font size="2">Basically, the definition of&nbsp;ContainerBean:</font></div>
        <div>&nbsp;</div>
        <div><font size="2">&nbsp;&nbsp;&nbsp; &lt;complexType name="ContainerBean"&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;sequence&gt;</font></div>
        <div><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . . .<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;element maxOccurs="unbounded" name="item"
type="tns1:ContainerBean"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/sequence&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/complexType&gt;<br>
        </font></div>
        <div><font size="2">Not sure if this is valid though, it's just
my guess.</font></div>
        <div>&nbsp;</div>
        <div><font size="2">Eugene</font></div>
        <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"
 dir="ltr">
          <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
          <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
          <a title="ppeddi@contextmedia.com"
 href="mailto:ppeddi@contextmedia.com">Praveen Peddi</a> </div>
          <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
          <a title="axis-user@ws.apache.org"
 href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a> </div>
          <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, February 16, 2005 12:39p</div>
          <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: array of recursive beans (doc/literal style)</div>
          <div><br>
          </div>
          <div><font face="Arial" size="2">Thanks for the response
Dino. </font></div>
          <div><font face="Arial" size="2">I am using Axis rc1.2
nightly build from Feb 8th.</font></div>
          <div><font face="Arial" size="2">I think you are right
regarding desinging the interfaces.&nbsp;Its better to work on WSDL and
schema before working on java code but I have all the java classes
built. These are not new services. I have all these services for long
time and everything was working great until I moved to doc/literal
style. I was using rpc/encoded style before.</font></div>
          <div>&nbsp;</div>
          <div><font face="Arial" size="2">I looked at the WSDL
generated by Axis and it looked fine to me. May be somone can look at
my WSDL and see where it is wrong. Two elements that need to look at
are:</font></div>
          <div>
          <div class="c" style="margin-left: 1em; text-indent: -2em;"><font
 color="#0000ff">&nbsp;&nbsp;&nbsp; </font>&nbsp;<span class="m"><font color="#0000ff">&lt;</font></span><font
 color="#990000"><span class="t">complexType</span><span class="t"> name</span></font><span
 class="m"><font color="#0000ff">="</font></span><b>ArrayOf_tns1_ContainerBean</b><font
 color="#0000ff"><span class="m">"</span><span class="m">&gt;</span></font></div>
          <div>
          <div class="e">
          <div class="c" style="margin-left: 1em; text-indent: -2em;"><font
 color="#0000ff">&nbsp;&nbsp;&nbsp; </font>&nbsp;<span class="m"><font color="#0000ff">&lt;</font></span><span
 class="t"><font color="#990000">sequence</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          <div>
          <div class="e">
          <div style="margin-left: 1em; text-indent: -2em;"><span
 class="b"><strong><font color="#ff0000" face="Courier New">&nbsp;</font></strong></span>
          <span class="m"><font color="#0000ff">&lt;</font></span><span
 class="t"><font color="#990000">element</font></span> <span class="t"><font
 color="#990000">maxOccurs</font></span><span class="m"><font
 color="#0000ff">="</font></span><b>unbounded</b><span class="m"><font
 color="#0000ff">"</font></span><span class="t"><font color="#990000">
minOccurs</font></span><span class="m"><font color="#0000ff">="</font></span><b>0</b><span
 class="m"><font color="#0000ff">"</font></span><span class="t"><font
 color="#990000"> name</font></span><span class="m"><font
 color="#0000ff">="</font></span><b>item</b><span class="m"><font
 color="#0000ff">"</font></span><span class="t"><font color="#990000">
type</font></span><span class="m"><font color="#0000ff">="</font></span><b>tns1:ContainerBean</b><font
 color="#0000ff"><span class="m">"</span><span class="m"> /&gt;</span></font>
          </div>
          </div>
          <div><span class="b"><strong><font color="#ff0000"
 face="Courier New">&nbsp;</font></strong></span> <span class="m"><font
 color="#0000ff">&lt;/</font></span><span class="t"><font
 color="#990000">sequence</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          <div><span class="m"></span><span class="m"><font
 color="#0000ff">&lt;/</font></span><span class="t"><font
 color="#990000">complexType</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          <div><span class="m"></span>&nbsp;</div>
          </div>
          </div>
          </div>
          </div>
          <div><font face="Arial" size="2">AND</font></div>
          <div>&nbsp;</div>
          <div>
          <div class="e">
          <div class="c" style="margin-left: 1em; text-indent: -2em;"><font
 color="#0000ff">&nbsp;&nbsp;&nbsp; </font>&nbsp;<span class="m"><font color="#0000ff">&lt;</font></span><font
 color="#990000"><span class="t">element</span><span class="t"> name</span></font><span
 class="m"><font color="#0000ff">="</font></span><b>getRootContainersResponse</b><font
 color="#0000ff"><span class="m">"</span><span class="m">&gt;</span></font></div>
          <div>
          <div class="e">
          <div class="c" style="margin-left: 1em; text-indent: -2em;"><span
 class="m"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &lt;</font></span><span class="t"><font
 color="#990000">complexType</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          <div>
          <div class="e">
          <div class="c" style="margin-left: 1em; text-indent: -2em;"><span
 class="m"><font color="#0000ff">&nbsp;&nbsp;&nbsp; &lt;</font></span><span class="t"><font
 color="#990000">sequence</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          <div>
          <div class="e">
          <div style="margin-left: 1em; text-indent: -2em;"><span
 class="b"><strong><font color="#ff0000" face="Courier New">&nbsp;</font></strong></span>
          <span class="m"><font color="#0000ff">&lt;</font></span><span
 class="t"><font color="#990000">element</font></span> <span class="t"><font
 color="#990000">maxOccurs</font></span><span class="m"><font
 color="#0000ff">="</font></span><b>unbounded</b><span class="m"><font
 color="#0000ff">"</font></span><span class="t"><font color="#990000">
name</font></span><span class="m"><font color="#0000ff">="</font></span><b>item</b><span
 class="m"><font color="#0000ff">"</font></span><span class="t"><font
 color="#990000"> type</font></span><span class="m"><font
 color="#0000ff">="</font></span><b>tns1:ContainerBean</b><font
 color="#0000ff"><span class="m">"</span><span class="m"> /&gt;</span></font>
          </div>
          </div>
          <div><span class="b"><strong><font color="#ff0000"
 face="Courier New">&nbsp;</font></strong></span> <span class="m"><font
 color="#0000ff">&lt;/</font></span><span class="t"><font
 color="#990000">sequence</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          </div>
          </div>
          <div><span class="b"><strong><font color="#ff0000"
 face="Courier New">&nbsp;</font></strong></span> <span class="m"><font
 color="#0000ff">&lt;/</font></span><span class="t"><font
 color="#990000">complexType</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          </div>
          </div>
          <div><span class="m"><font color="#0000ff">&lt;/</font></span><span
 class="t"><font color="#990000">element</font></span><span class="m"><font
 color="#0000ff">&gt;</font></span></div>
          <div><span class="m"></span><span class="m"></span>&nbsp;</div>
          </div>
          </div>
          </div>
          <div><font face="Arial" size="2">Both have the right
definitions for array of beans. Looks like getRootContainerResponse
defines namespace properly but not the <font face="Times New Roman"
 size="3">ArrayOf_tns1_ContainerBean (look at the soap response file).</font></font></div>
          <div>&nbsp;</div>
          <div><font face="Arial" size="2">Also, I am attaching the
soap response. It looks like the problem is due to the namespace of
each array element.Namespaces are defined properly for the top level
elements array&nbsp;&nbsp;but for the recursive elements, namespace is empty.</font></div>
          <div>&nbsp;</div>
          <div><font face="Arial" size="2">Any help is appreciated.</font></div>
          <div>&nbsp;</div>
          <div><font face="Arial" size="2">Thanks</font></div>
          <div><font face="Arial" size="2">Praveen</font></div>
          <div>&nbsp;</div>
          <blockquote
 style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"
 dir="ltr">
            <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
            <div
 style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
            <a title="dinoch@microsoft.com"
 href="mailto:dinoch@microsoft.com">Dino Chiesa</a> </div>
            <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
            <a title="axis-user@ws.apache.org"
 href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a> </div>
            <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Wednesday, February 16, 2005 11:59 AM</div>
            <div
 style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
RE: array of recursive beans (doc/literal style)</div>
            <div><br>
            </div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">Is this a v1.2 RC thing, or are
you using AXIS v1.1? </font>
            <div align="left" dir="ltr"><span class="447534616-16022005"></span>&nbsp;</div>
            <font face="Tahoma"><font color="#0000ff"><font size="2"><span
 class="447534616-16022005">And, h</span>ow are you designing the
interface?&nbsp; </font></font></font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">There is a line of thinking
that says, if you want interop, then start by designing the interface
in a platform-independent manner.&nbsp; In other words, WSDL and W3C XML
Schema.&nbsp;&nbsp; This applies whether you are using AXIS, .NET, or something
else.&nbsp; Some people call this "contract first" or "schema-first design".
            </font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"></span>&nbsp;</div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">Schema-first design is a hassle
you don't need if you are doing like-to-like communications.&nbsp; So don't
do it.&nbsp; </font></span><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">AXIS-to-AXIS is easy.&nbsp;
.NET-to-.NET is easy.&nbsp; Just define your&nbsp;Interface in actual code (write
your Java interface), specify some magic in the WSDD, and boom, you can
connect. </font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">It's when you want to mix and
match clients and servers that&nbsp;this approach falls down.&nbsp; Simple cases
are ok, but nested arrays and structs don't work.&nbsp; &nbsp;In other
words,&nbsp;starting with a .net server-side class and expecting the
dynamically-generated WSDL to give good interop with an AXIS client, is
wishful thinking.&nbsp; Likewise for the converse. or any other combination
of unlike webservices stacks.&nbsp;</font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"></span>&nbsp;</div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">It sounds like you started with
a Java class, and you are using Java2WSDL on it.&nbsp; I would suggest that
you start with the schema and WSDL, then generate the server-side Java
interfaces and support classes with WSDL2Java.&nbsp; Then provide the
server-side implementations.&nbsp; You may need adapters between the classes
generated from the schema, and the existing application&nbsp; on the server
side.&nbsp; </font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"></span>&nbsp;</div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">Likewise, generate the .NET
(client-side) proxies from the WSDL.&nbsp; </font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"></span>&nbsp;</div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">-Dino</font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2">MS</font></span></div>
            <div align="left" dir="ltr"><span class="447534616-16022005"><font
 color="#0000ff" face="Tahoma" size="2"><br>
            </font></span><br>
&nbsp;</div>
            <div class="OutlookMessageHeader" align="left" dir="ltr"
 lang="en-us">
            <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b>
Praveen Peddi [<a class="moz-txt-link-freetext" href="mailto:ppeddi@contextmedia.com">mailto:ppeddi@contextmedia.com</a>] <br>
            <b>Sent:</b> Tuesday, February 15, 2005 9:52 PM<br>
            <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a><br>
            <b>Subject:</b> array of recursive beans (doc/literal style)<br>
            </font><br>
            </div>
            <div><font face="Arial" size="2">I have a method
getRootContainers that returns array of ContainerBean[]. Each
ContainerBean has reference to an array of child ContainerBean[]. With
Eugene's help I could make the array stuff work. the method sucessfully
returns the array of COntainerBean[] and .NET reads it fine. But .NET
client doesn't read them recursively. It only build the top level array
fine but each ContainerBean has array of other ContainerBean. My
service in wsdd looks as follows:</font></div>
            <div>&nbsp;</div>
            <div><font face="Arial" size="2"><font size="2">
            <p>&lt;service name="CMISOAPContainerService"
provider=<a class="moz-txt-link-rfc2396E" href="java:RPC">"java:RPC"</a> style="wrapped" use="literal"&gt;</p>
            <p>&lt;parameter name="allowedMethods" value="copyContainer
createContainer deleteContainer getContainer getContainerIcon
getContainerProperties getRootContainers getContainerObjects
getContentObjectsForContainer getRootContainers moveContainer
updateContainer createQueryContainer updateQueryContainer
createTaxonomy"/&gt;</p>
            <p>&lt;parameter name="scope" value="session"/&gt; </p>
            <p>&lt;parameter name="className"
value="com.contextmedia.ip.session.soap.CMISOAPContainerService"/&gt; </p>
            <p>&lt;operation name="getRootContainers"
qname="ns:getRootContainers" xmlns:ns="<a
 href="http://soap.session.ip.contextmedia.com">http://soap.session.ip.contextmedia.com</a>"&nbsp;&nbsp;&nbsp;&nbsp;
returnQName="ns:item" returnType="ns:ContainerBean[]" &gt;</p>
            <p>&nbsp;&nbsp;&nbsp; &lt;parameter name="depth" qname="ns:depth"
type="xsd:int" mode="IN" /&gt;</p>
            <p>&lt;/operation&gt;</p>
            <p>&lt;typemapping
languageSpecificType=<a class="moz-txt-link-rfc2396E" href="java:com.contextmedia.ip.session.soap.ContainerBean[]">"java:com.contextmedia.ip.session.soap.ContainerBean[]"</a>
qname="soapenc:Array"
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
encodingStyle=""
xmlns:soapenc=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>/&gt;</p>
            <p>&lt;beanMapping qname="bean:ContainerBean"
xmlns:bean=<a class="moz-txt-link-rfc2396E" href="http://soap.session.ip.contextmedia.com">"http://soap.session.ip.contextmedia.com"</a>
languageSpecificType=<a class="moz-txt-link-rfc2396E" href="java:com.contextmedia.ip.session.soap.ContainerBean">"java:com.contextmedia.ip.session.soap.ContainerBean"</a>/&gt;</p>
            <p>&lt;/service&gt; </p>
            </font></font></div>
            <div><font face="Arial" size="2">I had to add
&lt;operation&gt; and &lt;typeMapping&gt; tags after seeing Eugene's
sample. w/o those two tags, even the first level of ContainerBean[] was
not working.</font></div>
            <div>&nbsp;</div>
            <div><font face="Arial" size="2">Not sure what else I am
missing, How do I make the recursive bean stuff work? Is there any
special configuration in WSDD file to make array of recursive beans
work.</font></div>
            <div>&nbsp;</div>
            <div><font face="Arial" size="2">Thanks,</font></div>
            <div><font face="Arial" size="2">Praveen</font></div>
            <div>&nbsp;</div>
            <div><font face="Arial" size="2">**************************************************************
            <br>
Praveen Peddi<br>
Sr Software Engg, Context Media, Inc. <br>
<a class="moz-txt-link-freetext" href="email:ppeddi@contextmedia.com">email:ppeddi@contextmedia.com</a> <br>
Tel:&nbsp; 401.854.3475 <br>
Fax:&nbsp; 401.861.3596 <br>
web: <a href="http://www.contextmedia.com">http://www.contextmedia.com</a>
            <br>
************************************************************** <br>
Context Media- "The Leader in Enterprise Content Integration" <br>
            </font></div>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
</blockquote>
</body>
</html>

Mime
View raw message