Methods Summary |
---|
public java.lang.String | clear(java.lang.String param)
clearImpl(param);
return "";
|
public EchoResponseBodyType | echoString(EchoRequestBodyType echoString)
EchoResponseBodyType pr =
new ObjectFactory().createEchoResponseBodyType();
JAXBElement<String> text = echoString.getText();
JAXBElement<String> seq = echoString.getSequence();
String ret = handleTwoWay(text.getValue(), seq.getValue());
JAXBElement<String> val =
new JAXBElement<String>(new QName("http://tempuri.org/",
"EchoStringReturn"),
String.class,
new String("Returning hello "));
val.setValue(ret);
pr.setEchoStringReturn(val);
return pr;
|
public java.lang.String | getAlive(java.lang.String param)
return isSequenceAlive(param);
|
public java.lang.String | getCount(java.lang.String param)
return reportCount(param);
|
public java.lang.String | getDuplicates(java.lang.String param)
return reportDuplicates(param);
|
public java.lang.String | getInactivityTimeout(java.lang.String s)
return super.getInactivityTimeout(s);
|
public java.lang.String | getMessageNumber(java.lang.String s)
Integer i = (Integer)context.getMessageContext().get("com.sun.xml.ws.messagenumber");
if (i != null) {
return i.toString();
} else {
return "-1";
}
|
public java.lang.String | getOrdered(java.lang.String s)
if (ordered) {
return "true";
} else {
return "false";
}
|
public java.lang.String | getSequence(java.lang.String param)
return reportSequence(param);
|
public java.lang.String | getSequenceID(java.lang.String s)
Sequence seq = (Sequence)context.getMessageContext().get("com.sun.xml.ws.sequence");
if (seq != null) {
return seq.getId();
} else {
return null;
}
|
public void | handleOneWay(java.lang.String a, java.lang.String b)
|
public java.lang.String | handleTwoWay(java.lang.String a, java.lang.String b)
return a;
|
public void | ping(PingRequestBodyType echoString)
JAXBElement<String> text = echoString.getText();
JAXBElement<String> seq = echoString.getSequence();
handleOneWay(text.getValue(), seq.getValue());
|
public void | process(java.lang.String param)
if (param.equals("test_order")) {
int messageNumber = (Integer)(context.getMessageContext().get("com.sun.xml.ws.messagenumber"));
if (messageNumber != lastMessageNumber + 1) {
ordered = false;
}
lastMessageNumber = messageNumber;
}
processImpl(param);
|