public class JaxWSClient extends WSClient
Constructor and Description |
---|
JaxWSClient(String wsdlUrl,
String username,
String password,
ProxyData proxyData) |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(org.apache.axis.message.SOAPHeaderElement header) |
Object |
call(PageContext pc,
Collection.Key methodName,
Object[] arguments)
calls a method of the object
|
Object |
callWithNamedValues(Config config,
Collection.Key methodName,
Struct arguments) |
Object |
callWithNamedValues(PageContext pc,
Collection.Key methodName,
Struct arguments)
call a method of the Object with named arguments
|
Boolean |
castToBoolean(Boolean defaultValue)
cast the castable value to a boolean value
|
boolean |
castToBooleanValue()
cast the castable value to a boolean value
|
DateTime |
castToDateTime()
cast the castable value to a date time object
|
DateTime |
castToDateTime(DateTime defaultValue)
cast the castable value to a date time object
|
double |
castToDoubleValue()
cast the castable value to a double value
|
double |
castToDoubleValue(double defaultValue)
cast the castable value to a double value
|
String |
castToString()
cast the castable value to a string, other than the Method toString, this Method can throw a Exception
|
String |
castToString(String defaultValue)
cast the castable value to a string, return the default value, when the method is not castable
|
int |
compareTo(boolean b) |
int |
compareTo(DateTime dt) |
int |
compareTo(double d) |
int |
compareTo(String str) |
Iterator<Map.Entry<Collection.Key,Object>> |
entryIterator() |
Object |
get(PageContext pc,
Collection.Key key)
return property or getter of the ContextCollection
|
Object |
get(PageContext pc,
Collection.Key key,
Object defaultValue)
return property
|
org.apache.axis.client.Call |
getLastCall() |
Iterator<Collection.Key> |
keyIterator() |
Iterator<String> |
keysAsStringIterator() |
static void |
main(String[] args) |
Object |
set(PageContext pc,
Collection.Key propertyName,
Object value)
sets a property (Data Member) value of the object
|
Object |
setEL(PageContext pc,
Collection.Key propertyName,
Object value)
sets a property (Data Member) value of the object
|
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML
|
Iterator<Object> |
valueIterator() |
getInstance
public JaxWSClient(String wsdlUrl, String username, String password, ProxyData proxyData) throws PageException
PageException
public static void main(String[] args) throws PageException
PageException
public Object get(PageContext pc, Collection.Key key, Object defaultValue)
Objects
pc
- PageContextkey
- Name of the Propertypublic Object get(PageContext pc, Collection.Key key) throws PageException
Objects
pc
- PageContextkey
- Name of the PropertyPageException
public Object set(PageContext pc, Collection.Key propertyName, Object value) throws PageException
Objects
propertyName
- property name to setvalue
- value to insertPageException
public Object setEL(PageContext pc, Collection.Key propertyName, Object value)
Objects
propertyName
- property name to setvalue
- value to insertpublic Object call(PageContext pc, Collection.Key methodName, Object[] arguments) throws PageException
Objects
methodName
- name of the method to callarguments
- arguments to call method withPageException
public String castToString() throws PageException
Castable
PageException
public String castToString(String defaultValue)
Castable
public boolean castToBooleanValue() throws PageException
Castable
PageException
public Boolean castToBoolean(Boolean defaultValue)
Castable
public double castToDoubleValue() throws PageException
Castable
PageException
public double castToDoubleValue(double defaultValue)
Castable
public DateTime castToDateTime() throws PageException
Castable
PageException
public DateTime castToDateTime(DateTime defaultValue)
Castable
defaultValue
- returned when it is not possible to cast to a dateTime objectpublic int compareTo(String str) throws PageException
PageException
public int compareTo(boolean b) throws PageException
PageException
public int compareTo(double d) throws PageException
PageException
public int compareTo(DateTime dt) throws PageException
PageException
public Iterator<Collection.Key> keyIterator()
public Iterator<String> keysAsStringIterator()
public Iterator<Object> valueIterator()
public Iterator<Map.Entry<Collection.Key,Object>> entryIterator()
public void addHeader(org.apache.axis.message.SOAPHeaderElement header) throws PageException
addHeader
in class WSClient
PageException
public org.apache.axis.client.Call getLastCall() throws PageException
getLastCall
in class WSClient
PageException
public Object callWithNamedValues(Config config, Collection.Key methodName, Struct arguments) throws PageException
callWithNamedValues
in class WSClient
PageException
public Object callWithNamedValues(PageContext pc, Collection.Key methodName, Struct arguments) throws PageException
Objects
callWithNamedValues
in interface Objects
callWithNamedValues
in class WSClient
pc
- PageContextmethodName
- name of the methodarguments
- Named Arguments for the methodPageException
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
Copyright © 2015 Lucee