|
RE: How do I return a java.util.Properties object through the rpcrout er se: msg#00342text.xml.soap.user
Apache SOAP has Map and Hashtable serializers. I realize a Properties object extends a Hashtable and because of that you *might* get away with using the HashtableSerializer, but the SOAPMappingRegistry only has entries for Map and Hashtable. You could add your own mapping and give it a try- call the SOAPMappingRegistry.mapTypes method to do the mapping (see the Apache api or source code for how this is done). For an Apache client sample using Maps, Hashtables, and much more see http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-soap/java/samples/interop/E choTestClient.java This is the client used in the Apache SOAP interoperability testing. Erich Izdepski Senior Software Engineer Cysive, Inc. -----Original Message----- From: MILLER,MARK M (HP-Corvallis,ex1) [mailto:mark_m_miller@xxxxxx] Sent: Wednesday, May 29, 2002 4:00 PM To: 'soap-user@xxxxxxxxxxxxxx' Subject: How do I return a java.util.Properties object through the rpcrout er servlet? Hello, I'm having trouble finding an example of a SOAP client that calls a method on the server with returns a Properties object. The method is being called (I'm reading the print lines in the log file) but I'm not getting any data back. Regards, Mark |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How do I return a java.util.Properties object through the rpcrout er servlet?: 00342, MILLER,MARK M (HP-Corvallis,ex1) |
|---|---|
| Next by Date: | Re: SOAP client access problem: 00342, Biju Raman |
| Previous by Thread: | How do I return a java.util.Properties object through the rpcrout er servlet?i: 00342, MILLER,MARK M (HP-Corvallis,ex1) |
| Next by Thread: | soap service and threads: 00342, Biju Raman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |