Boris - 

"http://xml.apache.org/xml-soap":"Element"; is the 
QName for org.w3c.dom.Element when using Apache Axis


------
Source Code References:

Org/apache/axis/Constants.java

public static final String NS_URI_XMLSOAP =
"http://xml.apache.org/xml-soap";;

public static final QName SOAP_ELEMENT = new QName(NS_URI_XMLSOAP,
"Element");


Org/apache/axis/encoding/DefaultTypeMappingImpl.java
    
        // Use the Element Serializeration for elements
        myRegister(Constants.SOAP_ELEMENT,   org.w3c.dom.Element.class,
                   new ElementSerializerFactory(),
                   new ElementDeserializerFactory(), false);
        myRegister(Constants.SOAP_VECTOR,    java.util.Vector.class,
                   new VectorSerializerFactory(java.util.Vector.class,
                                               Constants.SOAP_VECTOR),
                   new VectorDeserializerFactory(java.util.Vector.class,
                                                 Constants.SOAP_VECTOR),
                   false);



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 17, 2002 8:57 AM
To: [EMAIL PROTECTED]
Subject: NS_URI_LITERAL_XML in AXIS

Hi I guess this is the right list to ask my question.
I have  a client that receives a dom.Element as a string (this did not
required any serializes or tricks) using pure SOAP 2.2.
But then I tried to do the same call to the service using AXIS and I was
left with the problem that AXIS does not have the
Constants.NS_URI_LITERAL_XML
encoding, which allows me to send dom.Elements over SOAP (the Element is
send as  arguments to the service). So I received the error that there
is
no serilizer.

Did anyone knows what is an equivalent encoding of NS_URI_LITERAL_XML in
AXIS

Thanks Boris





Reply via email to