|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Context attached to a SOAPMessage, contains all the dat to un/marschall SOAP Message
| Method Summary | |
void |
addDefaultValue(String value)
use it for pass the special parameters in the unmarshall /marshall method |
void |
addMultirefValues(javax.xml.soap.SOAPBodyElement BodyElement)
Add namespace element in context, use for process SOAP message with ref |
String |
addNamespaceDeclaration(String uri)
Add namespace declaration in context |
void |
addNamespaceDeclaration(String prefix,
String uri)
Add declaration of namespace in the context |
void |
addNamespaceDeclarationInElement(javax.xml.soap.SOAPElement element)
Add declaration contains in a SOAP Element |
void |
addNamespaceElementInContext(javax.xml.soap.SOAPElement element)
Add namespace element in context |
void |
addValueOfAttribute(String value)
use it for pass the special parameters in the unmarshall /marshall method |
String |
getArrayChildsName()
return the last value of child name setting in the soap content |
ISOAPMessageContext |
getChildSOAPMessageContext(ISOAPMessageContext contextparent,
javax.xml.soap.SOAPElement item)
Get Child SOAP message Context for SOAPElement |
String |
getDefaultValue()
use it for pass the special parameters in the unmarshall /marshall method |
String |
getEncodingStyle()
Get the encoding Style of the message |
String |
getEncodingStyleNotDelegate()
Get EncodingStyle without delegating to parent context |
Object |
getFaultObjectInstance()
specific for the fault process deserialization |
javax.xml.soap.SOAPBodyElement |
getId(String key)
Get SOAPBodyElemtn from ID, use for process SOAP message with ref |
MethodContainer |
getMethodContainer()
Get the method container attached to this SOAPMessage |
String |
getNamespaceFromPrefix(String prefix)
Get the namespcace corresponding the prefix |
Enumeration |
getPrefixes()
Get all the prefix contain in the context |
String |
getPrefixForNamespace(String namespace)
Get prefix for namespace |
String |
getPrefixForNamespace(String namespace,
boolean isParent)
Get prefix for namespace |
IServiceDescriptor |
getServiceDescriptor()
Get Service descriptor attached to the current context |
String |
getSOAPAction()
return the soap action attribute link to the method called (extracted from the wsdl) |
String |
getTargetNamespaceMethod()
return the the name space of the method (extracted from the wsdl) |
String |
getValueOfAttribute()
FD : use it for pass the special parameters in the unmarshall /marshall method) |
boolean |
isArrayList()
return the type of array (specific for the document/literal) |
boolean |
isDocumentStyleEncoding()
|
boolean |
isEncodedAsAttribute()
use it for pass the special parameters in the unmarshall /marshall method |
boolean |
isLitteralStyleEncoding()
|
String |
isLitteralStyleEncodingAsked()
|
boolean |
isResponse()
set to say that the current message is a response |
boolean |
isSimpleTypeCurrentProcess()
return if the current type is a simple type |
void |
setArrayChildsName(String name)
set the name of array child for the Array De/serializer |
void |
setArrayList(boolean value)
set the type array list (doc/lit) fro the array enconding |
void |
setEncodedAsAttribute(boolean value)
use it for pass the special parameters in the unmarshall /marshall method |
void |
setFaultObjectInstance(Object exception)
specific for the fault process desrialization |
void |
setMethodContainer(MethodContainer container)
Set the method container attached to this SOAPMessage |
void |
setResponse(boolean flag)
set the state of the response |
void |
setSimpleTypeCurrentProcess(boolean value)
set if the type currently de/serialized is a simpel type. |
void |
setTargetNamespaceMethod(String value)
set the namespace of the method which call |
| Method Detail |
public String getEncodingStyle()
public String getNamespaceFromPrefix(String prefix)
prefix - the prefix to find
public void addNamespaceDeclaration(String prefix,
String uri)
prefix - the prefix to add (key)uri - the namespace to add
public void addNamespaceDeclarationInElement(javax.xml.soap.SOAPElement element)
throws SOAPServiceException
element - the element containing the declaration
SOAPServiceExceptionpublic Enumeration getPrefixes()
public String getPrefixForNamespace(String namespace)
namespace - namespace to find
public String getPrefixForNamespace(String namespace,
boolean isParent)
namespace - namespace to find
public IServiceDescriptor getServiceDescriptor()
public String getEncodingStyleNotDelegate()
public javax.xml.soap.SOAPBodyElement getId(String key)
key -
public void addNamespaceElementInContext(javax.xml.soap.SOAPElement element)
element - the element to addpublic void addMultirefValues(javax.xml.soap.SOAPBodyElement BodyElement)
public String addNamespaceDeclaration(String uri)
uri - the namespace to add
public ISOAPMessageContext getChildSOAPMessageContext(ISOAPMessageContext contextparent,
javax.xml.soap.SOAPElement item)
contextparent - the parent contextitem - the item corresponding to the context to find
public boolean isDocumentStyleEncoding()
public boolean isLitteralStyleEncoding()
public String isLitteralStyleEncodingAsked()
public String getValueOfAttribute()
public boolean isEncodedAsAttribute()
public void setEncodedAsAttribute(boolean value)
value - public String getDefaultValue()
public void addValueOfAttribute(String value)
value - public void addDefaultValue(String value)
value - public boolean isResponse()
public void setResponse(boolean flag)
flag - the statepublic Object getFaultObjectInstance()
public void setFaultObjectInstance(Object exception)
exception - the exception to storepublic void setMethodContainer(MethodContainer container)
container - public MethodContainer getMethodContainer()
public String getSOAPAction()
public String getTargetNamespaceMethod()
public void setTargetNamespaceMethod(String value)
value - cannot be nullpublic String getArrayChildsName()
public void setArrayChildsName(String name)
name - can be nullpublic boolean isArrayList()
public void setArrayList(boolean value)
value - public boolean isSimpleTypeCurrentProcess()
public void setSimpleTypeCurrentProcess(boolean value)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||