Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.ksoap2.serialization
Class SoapSerializationEnvelope

java.lang.Object
  extended by org.ksoap2.SoapEnvelope
      extended by org.ksoap2.serialization.SoapSerializationEnvelope
          extended by oracle.ksoap2.serialization.SoapSerializationEnvelope

public class SoapSerializationEnvelope
extends org.ksoap2.serialization.SoapSerializationEnvelope

A SOAP serialization envelope, holding head and body objects. While this basic envelope supports literal encoding as content format via KDom, The SoapSerializationEnvelope provides support for the SOAP Serialization format specification and simple object serialization.


Field Summary
 
Fields inherited from class org.ksoap2.serialization.SoapSerializationEnvelope
classToQName, dotNet, implicitTypes, properties, QNAME_MARSHAL, QNAME_NAMESPACE, QNAME_TYPE, qNameToClass
 
Fields inherited from class org.ksoap2.SoapEnvelope
bodyIn, bodyOut, enc, ENC, ENC2001, encodingStyle, env, ENV, ENV2001, headerIn, headerOut, VER10, VER11, VER12, version, xsd, XSD, XSD1999, xsi, XSI, XSI1999
 
Constructor Summary
SoapSerializationEnvelope(int version, boolean bareMode)
          Oracle kSOAP SoapEnvelope override the kSOAP org's version so we can fix the missing/broke items in kSOAP.
 
Method Summary
 java.lang.String getContentType()
           
 void writeObjectBody(org.xmlpull.v1.XmlSerializer writer, org.ksoap2.serialization.KvmSerializable obj)
          Since the existing kSOAP only supports Microsoft's version of Doc/Literal mode we need to inject a simple check so we can also support "true" doc/literal i.e.
 
Methods inherited from class org.ksoap2.serialization.SoapSerializationEnvelope
addMapping, addMapping, addTemplate, getInfo, getResponse, getResult, parseBody, read, readInstance, readSerializable, readUnknown, readVector, writeBody, writeProperty, writeVectorBody
 
Methods inherited from class org.ksoap2.SoapEnvelope
parse, parseHeader, setOutputSoapObject, stringToBoolean, write, writeHeader
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapSerializationEnvelope

public SoapSerializationEnvelope(int version,
                                 boolean bareMode)
Oracle kSOAP SoapEnvelope override the kSOAP org's version so we can fix the missing/broke items in kSOAP. Please note, much of this method is required due to an issue with kSOAP-2.0.x not fully supporting the SOAP 1.2 spec. While SOAP 1.2 Document Wrapped and RPC worked against tomcat they did not work uniformally across the other application servers, like WLS.

Parameters:
version -
See Also:
WebServiceTransportLayer.REQUEST_SOAP_1_0, WebServiceTransportLayer.REQUEST_SOAP_1_1, WebServiceTransportLayer.REQUEST_SOAP_1_2
Method Detail

getContentType

public java.lang.String getContentType()

writeObjectBody

public void writeObjectBody(org.xmlpull.v1.XmlSerializer writer,
                            org.ksoap2.serialization.KvmSerializable obj)
                     throws java.io.IOException
Since the existing kSOAP only supports Microsoft's version of Doc/Literal mode we need to inject a simple check so we can also support "true" doc/literal i.e. bare mode.

Overrides:
writeObjectBody in class org.ksoap2.serialization.SoapSerializationEnvelope
Throws:
java.io.IOException

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.