Java Reference
In-Depth Information
")]
public partial class CalculatorWSService :
System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback addOperationCompleted;
public CalculatorWSService() {
this.Url = "http://localhost:8080/CalculatorApp/
CalculatorWSService";
}
public event addCompletedEventHandler addCompleted;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("",
RequestNamespace="http://calculator.me.org/",
ResponseNamespace="http://calculator.me.org/",
Use=System.Web.Services.Description.SoapBindingUse.Literal,
ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return",
Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int add(
[System.Xml.Serialization.XmlElementAttribute(
Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int i,
[System.Xml.Serialization.XmlElementAttribute(
Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] int j) {
object[] results = this.Invoke("add", new object[] {
i, j});
return ((int)(results[0]));
}
public System.IAsyncResult Beginadd(int i, int j,
System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("add", new object[] {
i, j}, callback, asyncState);
}
public int Endadd(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
public void addAsync(int i, int j) {
this.addAsync(i, j, null);
}
Search WWH ::




Custom Search