S
ses
What's the best approach for dealing with complex types (such as
HashMap<String,String>) with web services? Obviously for full
interoperability the only option would be to convert to a string array
- String[][]
But I tried using a wrapper class around a HashMap<String, String> and
it will build and deploy fine, though when I query the web service
using a tool such as soapUI, I simply get <return/> as the value for
what should contain my hashmap wrapper.
Is there any way I can get the wsgen tool to generate a complex type
of this sort or is it a much better idea to use primitives??
HashMap<String,String>) with web services? Obviously for full
interoperability the only option would be to convert to a string array
- String[][]
But I tried using a wrapper class around a HashMap<String, String> and
it will build and deploy fine, though when I query the web service
using a tool such as soapUI, I simply get <return/> as the value for
what should contain my hashmap wrapper.
Is there any way I can get the wsgen tool to generate a complex type
of this sort or is it a much better idea to use primitives??