|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Stub delegates certain methods to the Delegate.
| Method Summary | |
QName |
getOperationName()
get the Operation Name |
Map |
getProperties()
Get a map with properties |
Object |
getProperty(String name)
Get a property from the delegate. |
Iterator |
getPropertyNames()
Get an iterator over all property names |
ClientResponse |
invoke(ClientRequest request)
Invoke a method and get the input stream for unmarshaling results. |
ClientResponse |
invoke(ClientRequest request,
boolean headerExpected)
Invoke a method and get the input stream for unmarshaling results. |
void |
releaseResponse(ClientResponse response)
Release a client response. |
ClientRequest |
request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action)
Get the output stream for marshaling arguments |
ClientRequest |
request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
Properties mimeHeaders)
Get the output stream for mime request |
ClientRequest |
request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
Properties mimeHeaders,
String soapURI)
Get the output stream for marshalling arguments. |
ClientRequest |
request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
Properties mimeHeaders,
String soapURI,
boolean headerExpected)
Get the output stream for marshalling arguments. |
ClientRequest |
request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
String soapURI)
Get the output stream for marshaling arguments |
ClientRequest |
request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
String soapURI,
boolean headerExpected)
Get the output stream for marshaling arguments |
void |
setCurrentBinding(Binding binding)
Set a new binding on the delegate. |
void |
setHandlerChain(HandlerChain handlerChain)
Set the HandlerChain |
void |
setProperty(String name,
Object value)
Set a property on the delegate |
String |
setProperty(String name,
String value)
Deprecated. As of jBroker Web 2.0, replaced by void setProperty(String, Object) |
void |
setStub(Stub stub)
Set the stub for this delegate object |
| Method Detail |
public void setStub(Stub stub)
throws MalformedURLException
stub - the portable stub object
MalformedURLException
public ClientRequest request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action)
throws ServiceException
method - the method for which this request is targetedresponseExpected - whether or not a response is expectedencoding - the encoding URL for the requestisDocument - whether or not this is a document oriented requestaction - the soap action (if any)
ServiceException - if the request object could not be created
public ClientRequest request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
String soapURI)
throws ServiceException
method - the method for which this request is targetedresponseExpected - whether or not a response is expectedencoding - the encoding URL for the requestisDocument - whether or not this is a document oriented requestaction - the soap action (if any)soapURI - URI of the SOAP Envelope
ServiceException - if the request object could not be created
public ClientRequest request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
String soapURI,
boolean headerExpected)
throws ServiceException
method - the method for which this request is targetedresponseExpected - whether or not a response is expectedencoding - the encoding URL for the requestisDocument - whether or not this is a document oriented requestaction - the soap action (if any)soapURI - URI of the SOAP EnvelopeheaderExpected - true if request contains header elements
ServiceException - if the request object could not be created
public ClientRequest request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
Properties mimeHeaders)
throws ServiceException
method - the method for which this request is targetedresponseExpected - whether or not a response is expectedencoding - the encoding URL for the requestisDocument - whether or not this is a document oriented requestaction - the soap action (if any)mimeHeaders - mime header information for the root soap message. If null then the request is NON-MIME.
ServiceException - if the request object could not be created
public ClientRequest request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
Properties mimeHeaders,
String soapURI)
throws ServiceException
method - the method for which this request is targetedresponseExpected - whether or not a response is expectedencoding - the encoding URL for the requestisDocument - whether or not this is a document oriented requestaction - the soap action (if any)mimeHeaders - mime header information for the root soap message. If null then the request is NON-MIME.soapURI - URI of the SOAP Envelope.
ServiceException - if the request object could not be created
public ClientRequest request(String method,
boolean responseExpected,
String encoding,
boolean isDocument,
String action,
Properties mimeHeaders,
String soapURI,
boolean headerExpected)
throws ServiceException
method - the method for which this request is targetedresponseExpected - whether or not a response is expectedencoding - the encoding URL for the requestisDocument - whether or not this is a document oriented requestaction - the soap action (if any)mimeHeaders - mime header information for the root soap message. If null then the request is NON-MIME.soapURI - URI of the SOAP Envelope.headerExpected - true if request contains header elements
ServiceException - if the request object could not be created
public ClientResponse invoke(ClientRequest request)
throws ApplicationException
_requestmethod.
request - the client request input stream
ApplicationException - if an application occurredrequest(java.lang.String, boolean, java.lang.String, boolean, java.lang.String)
public ClientResponse invoke(ClientRequest request,
boolean headerExpected)
throws ApplicationException
_requestmethod.
request - the client request input streamheaderExpected - true if the response contains header elements
ApplicationException - if an application occurredrequest(java.lang.String, boolean, java.lang.String, boolean, java.lang.String)public void releaseResponse(ClientResponse response)
response - the client response input stream
public void setCurrentBinding(Binding binding)
throws MalformedURLException
binding - the new binding object
MalformedURLException - if the binding if malformed
public String setProperty(String name,
String value)
name - the property namevalue - the property value
public void setProperty(String name,
Object value)
name - the property namevalue - the property value
public Object getProperty(String name)
name - the property name
public Iterator getPropertyNames()
public Map getProperties()
Map with the delegate's propertiespublic void setHandlerChain(HandlerChain handlerChain)
public QName getOperationName()
|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||