You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Raghavan Srinivasan <ra...@iplanet.com> on 2002/01/12 03:04:33 UTC

WSDL , Apache Soap question

I have a Apache Web service one of whose methods  takes in
java.util.Hashtable as a parameter . I understand that the Apache
Toolkit supports Hashtable encoding . But i want to write a WSDL
interface to this service that toolkits from other languages could use
to generate stubs .

I could'nt find the right schema element to represent a structure
similar to Map / Hashtable .

I used the Idoox java2wsdl utility to see what the utility generates and
it came up with ns0:Hashtable
where ns0 = http://xml.apache.org/xml-soap .

This is obviously Apache specific and I dont know how compilers from
other languages will interpret it .

 Has anyone else faced a similar issue ?

Thanks -
Raghavan



RE: WSDL , Apache Soap question

Posted by Sandy Liu <03...@acadiau.ca>.
After testing apache soap for a while, I decided to swithch to
GLUE(http://www.themindelectric.com/products/glue/glue.html). It's very easy
to use, almost fool proof. WSDL file is automatically generated when you
publish a soap service. It also has a tool called wsdl2java, which generates
the interface needed to get access to the soap service on another machine.

Good luck,

Sandy

> -----Original Message-----
> From: Raghavan Srinivasan [mailto:raghavan@iplanet.com]
> Sent: January 11, 2002 10:05 PM
> To: soap-user@xml.apache.org; soap@discuss.develop.com
> Subject: WSDL , Apache Soap question
>
>
> I have a Apache Web service one of whose methods  takes in
> java.util.Hashtable as a parameter . I understand that the Apache
> Toolkit supports Hashtable encoding . But i want to write a WSDL
> interface to this service that toolkits from other languages could use
> to generate stubs .
>
> I could'nt find the right schema element to represent a structure
> similar to Map / Hashtable .
>
> I used the Idoox java2wsdl utility to see what the utility generates and
> it came up with ns0:Hashtable
> where ns0 = http://xml.apache.org/xml-soap .
>
> This is obviously Apache specific and I dont know how compilers from
> other languages will interpret it .
>
>  Has anyone else faced a similar issue ?
>
> Thanks -
> Raghavan
>
>


RE: WSDL , Apache Soap question

Posted by Sandy Liu <03...@acadiau.ca>.
After testing apache soap for a while, I decided to swithch to
GLUE(http://www.themindelectric.com/products/glue/glue.html). It's very easy
to use, almost fool proof. WSDL file is automatically generated when you
publish a soap service. It also has a tool called wsdl2java, which generates
the interface needed to get access to the soap service on another machine.

Good luck,

Sandy

> -----Original Message-----
> From: Raghavan Srinivasan [mailto:raghavan@iplanet.com]
> Sent: January 11, 2002 10:05 PM
> To: soap-user@xml.apache.org; soap@discuss.develop.com
> Subject: WSDL , Apache Soap question
>
>
> I have a Apache Web service one of whose methods  takes in
> java.util.Hashtable as a parameter . I understand that the Apache
> Toolkit supports Hashtable encoding . But i want to write a WSDL
> interface to this service that toolkits from other languages could use
> to generate stubs .
>
> I could'nt find the right schema element to represent a structure
> similar to Map / Hashtable .
>
> I used the Idoox java2wsdl utility to see what the utility generates and
> it came up with ns0:Hashtable
> where ns0 = http://xml.apache.org/xml-soap .
>
> This is obviously Apache specific and I dont know how compilers from
> other languages will interpret it .
>
>  Has anyone else faced a similar issue ?
>
> Thanks -
> Raghavan
>
>