com.sapportals.portal.prt.service.soap.encoding
Interface SOAPSerializer


public interface SOAPSerializer

Interface for all Serializers of SOAPElement


Method Summary
 void marshall(java.lang.String targetnamespace, java.lang.Class elementType, javax.xml.soap.SOAPEnvelope envelope, javax.xml.soap.SOAPElement parentElement, java.lang.Object objectToSerialize, java.lang.String nameParam, ISOAPMessageContext context)
           
 boolean writeSchema(ITypes type)
           
 

Method Detail

marshall

public void marshall(java.lang.String targetnamespace,
                     java.lang.Class elementType,
                     javax.xml.soap.SOAPEnvelope envelope,
                     javax.xml.soap.SOAPElement parentElement,
                     java.lang.Object objectToSerialize,
                     java.lang.String nameParam,
                     ISOAPMessageContext context)
              throws SOAPServiceException
Parameters:
targetnamespace - namespace of the object to serialize
elementType - java type of the objet to serialize
envelope - SOAPEnvleope where is add the Element
parentElement - parent Element of the element to add.
objectToSerialize - object to serialize
nameParam - name of the param to add in the SOAPElement
context - context of the current message
Throws:
SOAPServiceException -  

writeSchema

public boolean writeSchema(ITypes type)
                    throws java.lang.Exception
Parameters:
type - type to write schema for
Returns:
true if ok.
Throws:
java.lang.Exception -