Sending Map to a server

2003-01-27 Thread Shellman, Joel
In my service, I have a method that accepts a Map as a parameter: public MyObject serviceMethod(Map values) { // impl... } I used Axis to auto generate the WSDL for it and it did generate: s:schema targetNamespace=http://xml.apache.org/xml-soap; s:import

Re: Sending Map to a server

2003-01-27 Thread Benjamin Tomasini
Maps are not typesafe. While it is possible to get it to work, I don't think you want to send a non-typesafe component over a webservice. It would open the door to errors. XML-RPC works the best when your types are expiclity declared. I would avoid anyType declarations. Usually they can be