|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XFireClientControl
An XFire client control. Included are two annotations which can be used to configure the control. Encoding, which will specify the encoding. It defaults to UTF-8. Also the ServiceUrl annotation will specify which url to invoke for the service.
A typical usage would look like so:
@Encoding("UTF-8") @ServiceUrl("http://some.service.com") @Control XFireClientControl client;
It is possible to set the service url on a per invocation basis if you declare the control "Bean" instead of just XFireClientControl. For example in your class you would declare,
@Control XFireClientControlBean xfire;
You could then set the URL like so:
xfire.setServiceUrl("http://your/url");
Nested Class Summary | |
---|---|
static interface |
XFireClientControl.Asynchronous
Marks a method on a control which extends the XFireClientControl as ansynchronous. |
static interface |
XFireClientControl.Encoding
|
static interface |
XFireClientControl.EndInvokeCallback
|
static interface |
XFireClientControl.ServiceUrl
|
static interface |
XFireClientControl.SoapHeader
Declares a parameter in an control a Soap Header in a control which extends the XFireClientControl. |
Method Summary | |
---|---|
void |
beginInvoke(org.apache.xmlbeans.XmlObject[] request,
org.apache.xmlbeans.XmlObject[] reqHeaders)
Invoke a SOAP service. |
org.apache.xmlbeans.XmlObject[] |
invoke(org.apache.xmlbeans.XmlObject[] request)
Invoke a SOAP service. |
org.apache.xmlbeans.XmlObject[] |
invoke(org.apache.xmlbeans.XmlObject[] request,
org.apache.xmlbeans.XmlObject[] reqHeaders)
Invoke a SOAP service. |
Method Detail |
---|
org.apache.xmlbeans.XmlObject[] invoke(org.apache.xmlbeans.XmlObject[] request) throws java.io.IOException, org.codehaus.xfire.fault.XFireFault
request
- The request as XMLBeans.
org.codehaus.xfire.fault.XFireFault
java.io.IOException
org.apache.xmlbeans.XmlObject[] invoke(org.apache.xmlbeans.XmlObject[] request, org.apache.xmlbeans.XmlObject[] reqHeaders) throws java.io.IOException, org.codehaus.xfire.fault.XFireFault
request
- The request as XMLBeans.requestHeaders
- The SOAP Headers, if there are any. Otherwise null
.
org.codehaus.xfire.fault.XFireFault
java.io.IOException
void beginInvoke(org.apache.xmlbeans.XmlObject[] request, org.apache.xmlbeans.XmlObject[] reqHeaders)
request
- The request as XMLBeans.requestHeaders
- The SOAP Headers, if there are any. Otherwise null
.
org.codehaus.xfire.fault.XFireFault
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |