/* staticTT.p */
DEFINE INPUT-OUTPUT PARAMETER TABLE FOR ttEmp. |
Public Class staticTT_ttEmpRow Public Name As String
Public Number As Integer End Class Public Sub staticTT(ByRef ttEmp( ) As staticTT_ttEmpRow) |
Dim myTempTable(1) as webService.staticTT_ttEmpRow
Dim myRow1 as webService.staticTT_ttEmpRow = New webService.staticTT_ttEmpRow( ) Dim myRow2 as webService.staticTT_ttEmpRow = New webService.staticTT_ttEmpRow( ) myRow1.Name = "Fred" myRow1.Number = 1 myRow2.Name = "Barney" myRow2.Number = 2 myTempTable(0) = myRow1 myTempTable(1) = myRow2 webService.staticTT(myTempTable) |
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope namespaces defined here...> <soap:Header> <EmployeeID xmlns="urn:EmployeeSrvc:Employee"> <UUID>2e62cab6b81150d5:-1380e8e:f27fb934f4: -8000;<Employee|PX-000004|AO>;5REiR9inxXQi4s6ghRWkfg==</UUID> </EmployeeID> </soap:Header> <soap:Body> <staticTT xmlns="urn:EmployeeSrvc:Employee"> <ttEmp> <ttEmpRow> <Name>Fred</Name> <Number>1</Number> </ttEmpRow> <ttEmpRow> <Name>Barney</Name> <Number>2</Number> </ttEmpRow> </ttEmp> </staticTT> </soap:Body> </soap:Envelope> |
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope namespaces defined here...> <soap:Header> <q1:EmployeeID id="h_id1" xmlns:q1="urn:EmployeeSrvc:Employee"> <UUID xsi:type="xsd:string">2e62cab6b81150d5:-1380e8e:f27fb934f4: -8000;<Employee|PX-000004|AO>;5REiR9inxXQi4s6ghRWkfg==</UUID> </q1:EmployeeID> </soap:Header> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <q1:staticTT xmlns:q1="urn:EmployeeSrvc:Employee"> <ttEmp href="#id1" /> </q1:staticTT> <soapenc:Array id="id1" xmlns:q2="urn:EmployeeSrvc:Employee" soapenc:arrayType="q2:staticTT_ttEmpRow[2]"> <Item href="#id2" /> <Item href="#id3" /> </soapenc:Array> <q3:staticTT_ttEmpRow id="id2" xsi:type="q3:staticTT_ttEmpRow" xmlns:q3="urn:EmployeeSrvc:Employee"> <Name xsi:type="xsd:string">Fred</Name> <Number xsi:type="xsd:int">1</Number> </q3:staticTT_ttEmpRow> <q4:staticTT_ttEmpRow id="id3" xsi:type="q4:staticTT_ttEmpRow" xmlns:q4="urn:EmployeeSrvc:Employee"> <Name xsi:type="xsd:string">Barney</Name> <Number xsi:type="xsd:int">2</Number> </q4:staticTT_ttEmpRow> </soap:Body> </soap:Envelope> |