> Another thing.. I may have asked this question, but I couldn't quite > understand your reply on how to implement a Apache-SOAP server so that > it can communicate a NuSOAP client using the same SOAP message pattern > used by NuSOAP.. > Does the server should implement a PropertyBagSerializer also? How > should I return the call?
The server must be able to use PropertyBagSerializer, i.e. that class and classes on which it depends must be available to the class loader for the Apache SOAP webapp. If you deploy the Apache SOAP server using the soap.war file from a nightly drop, things will be OK. Your service must then also specify a type mapping for this serializer in its deployment descriptor. For example, you might have a method in your service like String addBook(Map book) { // Add the book to the database ... } where the Map to be received is a NuSOAP associative array. If the NuSOAP client uses the data type "xsd:array" (to those new to the thread, there is no array type in XSD, but the original envelope generated by NuSOAP used this) for this parameter, the deployment descriptor should include <isd:mappings> <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" qname="xsd:array" javaType="java.util.Map" java2XMLClassName="org.apache.soap.encoding.soapenc.PropertyBagSerializer" xml2JavaClassName="org.apache.soap.encoding.soapenc.PropertyBagSerializer"/> </isd:mappings> Scott Nichol -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>