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)
|
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 serializeelementType - java type of the objet to serializeenvelope - SOAPEnvleope where is add the ElementparentElement - parent Element of the element to add.objectToSerialize - object to serializenameParam - name of the param to add in the SOAPElementcontext - 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 -