You have to use this EncodingStyle "Constants.NS_URI_LITERAL_XML". No need
to specify any serializer in the deployment descriptor. SOAP server
automatically does it for you.
"Tolsch, Ed"
<Ed.Tolsch@fm To: "'[EMAIL PROTECTED]'"
r.com> <[EMAIL PROTECTED]>
cc:
07/12/2001 Subject: Serializer help
10:23 AM
Please
respond to
soap-user
HI,
I'm trying to serialize an org.w3c.dom.Element as the return
type of
my soap service. I assumed I needed to modify my deploymentdescriptor file
to tell it how to serialize my object. My Deployment descriptor mapping
looks like the following:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:string-service">
<isd:provider type="java"
scope="Application"
methods="strUpper stringUpper">
<isd:java class="services.strings.StringService" static
="false"/>
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
<isd:mappings>
<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:xml-string-svc" qname
="x:stringUpperElem"
javaType="org.w3c.dom.Element"
java2XMLClassName="org.apache.xml.serialize.XMLSerializer"
xml2JavaClassName="org.apache.xml.serialize.XMLSerializer"/>
</isd:mappings>
This is causing my rpcrouter to blow up. Is this the right
approach
or am I trying to solve the problem in the wrong area? Any help would be
appreciated. Thanks in advance.