Anne- 

Thank you for the response. Atleast a HashMap represenation in a
document/literal WSDL with key's of java.lang.String type and value's
as java.lang.String type can't be consumed on the .NET/Java side ?

I am aware that Arrays's confirm to BP 1.0 but just thinking how can a
HashMap cannot be interropable ?

Thanks,
Kumar.


On Sun, 20 Mar 2005 13:50:31 -0500, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
> Kumar,
> 
> I suggest you convert your hashmap into an array.
> 
> Anne
> 
> 
> On Sun, 20 Mar 2005 18:49:29 +0530, babloosony <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am using AXIS 1.2 RC2, Custom (De)Serializers. I am returning a
> > custom class (Forecast.java) from a EJB Web Service method  which has
> > java.util.HashMap member variable in it. Now when I access this
> > service I am getting below  soap response from the web service
> > deployed on WebSphere. It is assumed that my hashmap has
> > java.lang.String's as  keys and java.lang.String's as values
> >
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> >    <soapenv:Body>
> >       <getWeatherResponse
> > xmlns="http://ws.sosnoski.com/wsdl/wroxaxis/appendixb";>
> >          <forecast 
> > xmlns="http://ws.sosnoski.com/schemas/wroxaxis/appendixb";>
> >             <zip>343434</zip>
> >             <city>Campbell</city>
> >             <state>CA</state>
> >             <date>April 11, 2003</date>
> >             <hash-map size="2">
> >                <entry key="a">b</entry>
> >                <entry key="c">d</entry>
> >             </hash-map>
> >          </forecast>
> >       </getWeatherResponse>
> >         </soapenv:Body>
> > </soapenv:Envelope>
> >
> > I think for any web service client to consume this message it needs
> > custom (De)Serializes. Can any java based client or .NET based client
> > successfully consume this soap message ?  How does a .NET client
> > consume this ?  Please suggest ?
> >
> > How can the HashMap representation in soap message can be translated
> > to java.util.HashMap on client side assuming we are
> > using java on client side ?
> >
> > Thanks & Regards,
> > Kumar.
> >
>

Reply via email to