Listing 1: WSAD generates a proxy Method
public synchronized int[] getWorkOrderSequenceForEmployee(
long[] lats,long[] longs) throws Exception
{
String targetObjectURI = "http://..";
String SOAPActionURI = "";
if(getURL() == null)
{
throw new SOAPException(Constants.FAULT_CODE_CLIENT,
"A URL must be specified ...");
}
call.setMethodName("getWorkOrderSequenceForEmployee");
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
call.setTargetObjectURI(targetObjectURI);
Vector params = new Vector();
Parameter latsParam = new Parameter(
"lats", long[].class, lats, Constants.NS_URI_SOAP_ENC);
params.addElement(latsParam);
Parameter longsParam = new Parameter(
"longs", long[].class, longs, Constants.NS_URI_SOAP_ENC);
params.addElement(longsParam);
call.setParams(params);
Response resp = call.invoke(getURL(), SOAPActionURI);
//Check the response.
if (resp.generatedFault())
{
Fault fault = resp.getFault();
call.setFullTargetObjectURI(targetObjectURI);
throw new SOAPException(
fault.getFaultCode(), fault.getFaultString());
}
else
{
Parameter refValue = resp.getReturnValue();
return ((int[])refValue.getValue());
}
}

Listing 2: generated vb proxy
'------------------------------------------------------
'
' This code was generated by a tool.
' Runtime Version: 1.0.3328.4
'
' Changes to this file may cause incorrect behavior and will be
lost if
' the code is regenerated.
'

'------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.0.3328.4.
'
'
System.ComponentModel.DesignerCategoryAttribute("code"), _
System.Web.Services.WebServiceBindingAttribute(Name:=
"WorkOrderSequencer", [Namespace]:="http://tempuri.org/")> _
Public Class WorkOrderSequencer
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
'
Public Sub New()
MyBase.New
Me.Url = "http://localhost:8180/..."
End Sub
...
Public Function getWorkOrderSequenceForEmployee ...
Dim results() As Object =
Me.Invoke("getWorkOrderSequenceForEmployee", New Object() {...})
Return ...
End Function
...
End Class

Listing 3: c# proxy
//-----------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version: 1.0.3328.4
//
// Changes to this file may cause incorrect
behavior and will be lost if
// the code is regenerated.
//

//-----------------------------------------------------
using System.Diagnostics;
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.ComponentModel;
using System.Web.Services;
///
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute
(Name="WorkOrderSequencer", Namespace="http://tempuri.org/")]
public class WorkOrderSequencer:
System.Web.Services.Protocols.SoapHttpClientProtocol {
///
public WorkOrderSequencer () {
this.Url = "://localhost:8180/...";
}
...
public ... getWorkOrderSequenceForEmployee (...) {
object[] results = this.Invoke("getWorkOrderSequenceForEmployee ",
new object[] {
...});
return ...
}
...
}