849 lines
47 KiB
XML
849 lines
47 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<con:soapui-project name="AdempiereWebServices" resourceRoot="" soapui-version="2.5" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="ProjectSettings@projectRoot">/home/carlos/srcAdempiere/branches/3E_WebServices/testScripts</con:setting></con:settings><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="ModelADServiceHttpBinding" type="wsdl" bindingName="{http://3e.pl/ADInterface}ModelADServiceHttpBinding" soapVersion="1_1" anonymous="optional" definition="https://localhost:8443/ADInterface/services/ModelADService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="https://localhost:8443/ADInterface/services/ModelADService?wsdl"><con:part><con:url>https://localhost:8443/ADInterface/services/ModelADService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions targetNamespace="http://3e.pl/ADInterface" xmlns:tns="http://3e.pl/ADInterface" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
|
<wsdl:types>
|
|
<xsd:schema elementFormDefault="qualified" targetNamespace="http://3e.pl/ADInterface">
|
|
<xsd:element name="Window" type="tns:Window"/>
|
|
<xsd:complexType name="Window">
|
|
<xsd:sequence>
|
|
<xsd:element name="Description" type="xsd:string"/>
|
|
<xsd:element name="Help" type="xsd:string"/>
|
|
<xsd:element name="Tabs" type="tns:TabList"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="Name" type="xsd:string"/>
|
|
<xsd:attribute name="IsSoTrx" type="xsd:boolean"/>
|
|
<xsd:attribute name="WindowNo" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Table_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Window_ID" type="xsd:int"/>
|
|
<xsd:attribute name="WindowType" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Image_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Color_ID" type="xsd:int"/>
|
|
<xsd:attribute name="IsReadWrite" type="xsd:boolean"/>
|
|
<xsd:attribute name="WinWidth" type="xsd:int"/>
|
|
<xsd:attribute name="WinHeight" type="xsd:int"/>
|
|
<xsd:attribute name="IsError" type="xsd:boolean"/>
|
|
<xsd:attribute name="Error" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="Tab">
|
|
<xsd:sequence>
|
|
<xsd:element name="Description" type="xsd:string"/>
|
|
<xsd:element name="Help" type="xsd:string"/>
|
|
<xsd:element name="ReadOnlyLogic" type="xsd:string"/>
|
|
<xsd:element name="DisplayLogic" type="xsd:string"/>
|
|
<xsd:element name="Fields" type="tns:FieldList"/>
|
|
<xsd:element name="CommitWarning" type="xsd:string"/>
|
|
<xsd:element name="WhereClause" type="xsd:string"/>
|
|
<xsd:element name="OrderByClause" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="Name" type="xsd:string"/>
|
|
<xsd:attribute name="IsSoTrx" type="xsd:boolean"/>
|
|
<xsd:attribute name="TabNo" type="xsd:int"/>
|
|
<xsd:attribute name="WindowNo" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Table_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Window_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Tab_ID" type="xsd:int"/>
|
|
<xsd:attribute name="IsSingleRow" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsReadOnly" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsInsertRecord" type="xsd:boolean"/>
|
|
<xsd:attribute name="HasTree" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsView" type="xsd:boolean"/>
|
|
<xsd:attribute name="AD_Column_ID" type="xsd:int"/>
|
|
<xsd:attribute name="TableName" type="xsd:string"/>
|
|
<xsd:attribute name="AccessLevel" type="xsd:string"/>
|
|
<xsd:attribute name="IsSecurityEnabled" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsDeleteable" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsHighVolume" type="xsd:boolean"/>
|
|
<xsd:attribute name="AD_Process_ID" type="xsd:int"/>
|
|
<xsd:attribute name="TabLevel" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Image_ID" type="xsd:int"/>
|
|
<xsd:attribute name="Included_Tab_ID" type="xsd:int"/>
|
|
<xsd:attribute name="ReplicationType" type="xsd:string"/>
|
|
<xsd:attribute name="IsSortTab" type="xsd:boolean"/>
|
|
<xsd:attribute name="AD_ColumnSortOrder_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_ColumnSortYesNo_ID" type="xsd:int"/>
|
|
<xsd:attribute name="onlyCurrentRows" type="xsd:boolean"/>
|
|
<xsd:attribute name="onlyCurrentDays" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="TabList">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="1" name="Tab" type="tns:Tab"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="FieldList">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="1" name="Field" type="tns:Field"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="Field">
|
|
<xsd:sequence>
|
|
<xsd:element name="Tab" type="tns:Tab"/>
|
|
<xsd:element name="lookupInfo" type="tns:LookupInfo"/>
|
|
<xsd:element name="Description" type="xsd:string"/>
|
|
<xsd:element name="Help" type="xsd:string"/>
|
|
<xsd:element name="ColumnSQL" type="xsd:string"/>
|
|
<xsd:element name="DisplayLogic" type="xsd:string"/>
|
|
<xsd:element name="ReadOnlyLogic" type="xsd:string"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="lookup" type="tns:LookupValues"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="Name" type="xsd:string"/>
|
|
<xsd:attribute name="WindowNo" type="xsd:int"/>
|
|
<xsd:attribute name="TabNo" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Window_ID" type="xsd:int"/>
|
|
<xsd:attribute name="tabReadOnly" type="xsd:boolean"/>
|
|
<xsd:attribute name="isProcess" type="xsd:boolean"/>
|
|
<xsd:attribute name="ColumnName" type="xsd:string"/>
|
|
<xsd:attribute name="Header" type="xsd:string"/>
|
|
<xsd:attribute name="displayType" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Column_ID" type="xsd:int"/>
|
|
<xsd:attribute name="DisplayLength" type="xsd:int"/>
|
|
<xsd:attribute name="IsSameLine" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsDisplayed" type="xsd:boolean"/>
|
|
<xsd:attribute name="DefaultValue" type="xsd:string"/>
|
|
<xsd:attribute name="IsMandatory" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsReadOnly" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsUpdateable" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsAlwaysUpdateable" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsHeading" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsFieldOnly" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsEncryptedField" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsEncryptedColumn" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsSelectionColumn" type="xsd:boolean"/>
|
|
<xsd:attribute name="SortNo" type="xsd:int"/>
|
|
<xsd:attribute name="FieldLength" type="xsd:int"/>
|
|
<xsd:attribute name="VFormat" type="xsd:string"/>
|
|
<xsd:attribute name="ValueMin" type="xsd:string"/>
|
|
<xsd:attribute name="ValueMax" type="xsd:string"/>
|
|
<xsd:attribute name="FieldGroup" type="xsd:string"/>
|
|
<xsd:attribute name="IsKey" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsParent" type="xsd:boolean"/>
|
|
<xsd:attribute name="Callout" type="xsd:string"/>
|
|
<xsd:attribute name="AD_Process_ID" type="xsd:int"/>
|
|
<xsd:attribute name="ObscureType" type="xsd:string"/>
|
|
<xsd:attribute name="ValidationCode" type="xsd:string"/>
|
|
<xsd:attribute name="AD_Reference_Value_ID" type="xsd:int"/>
|
|
<xsd:attribute name="isRange" type="xsd:boolean"/>
|
|
<xsd:attribute name="DefaultValue2" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="LookupInfo">
|
|
<xsd:sequence>
|
|
<!--<xsd:element name="Tab" type="tns:Tab"/>
|
|
<xsd:element name="lookupInfo" type="tns:LookupInfo"/>-->
|
|
<xsd:element name="ZoomWindow" type="xsd:int"/>
|
|
<xsd:element name="ZoomWindowPO" type="xsd:int"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:element name="WindowTabData" type="tns:WindowTabData"/>
|
|
<xsd:complexType name="WindowTabData">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="DataSet" type="tns:DataSet"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="RowCount" type="xsd:int"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="Success" type="xsd:boolean"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="Error" type="xsd:string"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="ErrorInfo" type="xsd:string"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="Status" type="xsd:string"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="StatusError" type="xsd:boolean"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="NumRows" type="xsd:int"/>
|
|
<xsd:attribute name="TotalRows" type="xsd:int"/>
|
|
<xsd:attribute name="StartRow" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="DataSet">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="0" name="DataRow" type="tns:DataRow"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="DataRow">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="0" name="field" type="tns:DataField"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="DataField">
|
|
<xsd:sequence>
|
|
<xsd:element name="val" type="xsd:string"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="lookup" type="tns:LookupValues"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="type" type="xsd:string" use="optional"/>
|
|
<xsd:attribute name="column" type="xsd:string"/>
|
|
<xsd:attribute name="lval" type="xsd:string" use="optional"/>
|
|
<xsd:attribute name="disp" type="xsd:boolean" use="optional"/>
|
|
<xsd:attribute name="edit" type="xsd:boolean" use="optional"/>
|
|
<xsd:attribute name="error" type="xsd:boolean" use="optional"/>
|
|
<xsd:attribute name="errorVal" type="xsd:string" use="optional"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="LookupValues">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="0" name="lv" type="tns:LookupValue"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="LookupValue">
|
|
<xsd:sequence></xsd:sequence>
|
|
<xsd:attribute name="val" type="xsd:string"/>
|
|
<xsd:attribute name="key" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:element name="GetProcessParams" type="tns:GetProcessParams"/>
|
|
<xsd:element name="ProcessParams" type="tns:ProcessParams"/>
|
|
<xsd:element name="RunProcess" type="tns:RunProcess"/>
|
|
<xsd:element name="RunProcessResponse" type="tns:RunProcessResponse"/>
|
|
<xsd:complexType name="ProcessParams">
|
|
<xsd:sequence>
|
|
<xsd:element name="Params" type="tns:ProcessParamList"/>
|
|
<xsd:element name="Description" type="xsd:string"/>
|
|
<xsd:element name="Name" type="xsd:string"/>
|
|
<xsd:element name="Help" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="AD_Process_ID" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="GetProcessParams">
|
|
<xsd:sequence></xsd:sequence>
|
|
<xsd:attribute name="AD_Process_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Menu_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Record_ID" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="RunProcess">
|
|
<xsd:sequence>
|
|
<xsd:element name="ParamValues" type="tns:DataRow"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="AD_Process_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Menu_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Record_ID" type="xsd:int"/>
|
|
<xsd:attribute name="DocAction" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="RunProcessResponse">
|
|
<xsd:sequence>
|
|
<xsd:element name="Error" type="xsd:string"/>
|
|
<xsd:element name="Summary" type="xsd:string"/>
|
|
<xsd:element name="LogInfo" type="xsd:string"/>
|
|
<xsd:element name="Data" type="xsd:hexBinary"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="IsError" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsReport" type="xsd:boolean"/>
|
|
<xsd:attribute name="ReportFormat" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ProcessParamList">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Param" type="tns:ProcessParam"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ProcessParam">
|
|
<xsd:sequence>
|
|
<xsd:element name="Description" type="xsd:string"/>
|
|
<xsd:element name="Help" type="xsd:string"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="lookup" type="tns:LookupValues"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="Name" type="xsd:string"/>
|
|
<xsd:attribute name="DefaultValue" type="xsd:string"/>
|
|
<xsd:attribute name="DefaultValue2" type="xsd:string"/>
|
|
<xsd:attribute name="IsMandatory" type="xsd:boolean"/>
|
|
<xsd:attribute name="IsRange" type="xsd:boolean"/>
|
|
<xsd:attribute name="FieldLength" type="xsd:int"/>
|
|
<xsd:attribute name="DisplayType" type="xsd:int"/>
|
|
<xsd:attribute name="ColumnName" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<!--int WindowNo, int AD_Window_ID, int AD_Menu_ID, int TabNo, int PrevTabNo, int PrevRecNo, boolean getData, int RowStart, int RowCount)-->
|
|
<xsd:element name="WindowTabDataReq" type="tns:WindowTabDataReq"/>
|
|
<xsd:complexType name="WindowTabDataReq">
|
|
<xsd:sequence>
|
|
<xsd:element name="FindCriteria" type="tns:DataRow"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="WindowNo" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Window_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Menu_ID" type="xsd:int"/>
|
|
<xsd:attribute name="TabNo" type="xsd:int"/>
|
|
<xsd:attribute name="PrevTabNo" type="xsd:int"/>
|
|
<xsd:attribute name="PrevRecNo" type="xsd:int"/>
|
|
<xsd:attribute name="getData" type="xsd:boolean"/>
|
|
<xsd:attribute name="RowStart" type="xsd:int"/>
|
|
<xsd:attribute name="RowCount" type="xsd:int"/>
|
|
<xsd:attribute name="fromZoom" type="xsd:boolean"/>
|
|
<xsd:attribute name="fromZoom_Window_ID" type="xsd:int"/>
|
|
<xsd:attribute name="fromZoom_Tab_ID" type="xsd:int"/>
|
|
<xsd:attribute name="fromZoom_Row_ID" type="xsd:int"/>
|
|
<xsd:attribute name="fromZoom_ColumnName" type="xsd:string"/>
|
|
<xsd:attribute name="fromZoom_ColumnValue" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:element name="ADMenu" type="tns:ADMenuItem"/>
|
|
<xsd:complexType name="ADMenuItemList">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="unbounded" minOccurs="0" name="Item" type="tns:ADMenuItem"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ADMenuItem">
|
|
<xsd:sequence>
|
|
<xsd:element name="items" type="tns:ADMenuItemList"/>
|
|
<xsd:element name="description" type="xsd:string"/>
|
|
<xsd:element name="url" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="AD_Menu_ID" type="xsd:int"/>
|
|
<xsd:attribute name="type" type="xsd:string"/>
|
|
<xsd:attribute name="name" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:element name="ADLoginRequest" type="tns:ADLoginRequest"/>
|
|
<xsd:element name="ADLoginResponse" type="tns:ADLoginResponse"/>
|
|
<xsd:complexType name="ADLoginRequest">
|
|
<xsd:sequence>
|
|
<xsd:element name="user" type="xsd:string"/>
|
|
<xsd:element name="pass" type="xsd:string"/>
|
|
<xsd:element name="lang" type="xsd:string"/>
|
|
<xsd:element name="ClientID" type="xsd:int"/>
|
|
<xsd:element name="RoleID" type="xsd:int"/>
|
|
<xsd:element name="OrgID" type="xsd:int"/>
|
|
<xsd:element name="WarehouseID" type="xsd:int"/>
|
|
<xsd:element name="stage" type="xsd:int"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ADLoginResponse">
|
|
<xsd:sequence>
|
|
<xsd:element name="status" type="xsd:int"/>
|
|
<xsd:element name="roles" type="tns:LookupValues"/>
|
|
<xsd:element name="langs" type="tns:LookupValues"/>
|
|
<xsd:element name="orgs" type="tns:LookupValues"/>
|
|
<xsd:element name="clients" type="tns:LookupValues"/>
|
|
<xsd:element name="warehouses" type="tns:LookupValues"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="Location">
|
|
<xsd:sequence>
|
|
<xsd:element name="C_Location_ID" type="xsd:int"/>
|
|
<xsd:element name="Name" type="xsd:string"/>
|
|
<xsd:element name="Address1" type="xsd:string"/>
|
|
<xsd:element name="Address2" type="xsd:string"/>
|
|
<xsd:element name="City" type="xsd:string"/>
|
|
<xsd:element name="PostalCode" type="xsd:string"/>
|
|
<xsd:element name="C_Country_ID" type="xsd:int"/>
|
|
<xsd:element name="C_Region_ID" type="xsd:int"/>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="Countries" type="tns:LookupValues"/>
|
|
<!--<xsd:element name="Regions" type="tns:LookupValues" minOccurs="0" maxOccurs="1" />-->
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="StandardResponse">
|
|
<xsd:sequence>
|
|
<xsd:element name="Error" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="IsError" type="xsd:boolean"/>
|
|
<xsd:attribute name="RecordID" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:element name="Location" type="tns:Location"/>
|
|
<xsd:element name="StandardResponse" type="tns:StandardResponse"/>
|
|
<xsd:element name="DocAction" type="tns:DocAction"/>
|
|
<xsd:complexType name="DocAction">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="Action" type="tns:LookupValues"/>
|
|
<xsd:element name="Error" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="IsError" type="xsd:boolean"/>
|
|
<xsd:attribute name="RecordID" type="xsd:int"/>
|
|
</xsd:complexType>
|
|
<xsd:element name="getLookupSearchDataReq" type="tns:getLookupSearchDataReq"/>
|
|
<xsd:complexType name="getLookupSearchDataReq">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="Params" type="tns:DataRow"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="WindowNo" type="xsd:int"/>
|
|
<xsd:attribute name="TabNo" type="xsd:int"/>
|
|
<xsd:attribute name="RowNo" type="xsd:int"/>
|
|
<xsd:attribute name="ColumnName" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<!--Elements added for model web services-->
|
|
<xsd:element name="ModelSetDocActionRequest" type="tns:ModelSetDocActionRequest"/>
|
|
<xsd:complexType name="ModelSetDocAction">
|
|
<xsd:sequence>
|
|
<xsd:element name="serviceType" type="xsd:string"/>
|
|
<xsd:element name="tableName" type="xsd:string"/>
|
|
<xsd:element name="recordID" type="xsd:int"/>
|
|
<xsd:element name="docAction" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ModelSetDocActionRequest">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ModelSetDocAction" type="tns:ModelSetDocAction"/>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ADLoginRequest" type="tns:ADLoginRequest"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:element name="ModelRunProcess" type="tns:ModelRunProcess"/>
|
|
<xsd:complexType name="ModelRunProcess">
|
|
<xsd:sequence>
|
|
<xsd:element name="serviceType" type="xsd:string"/>
|
|
<xsd:element name="ParamValues" type="tns:DataRow"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="AD_Process_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Menu_ID" type="xsd:int"/>
|
|
<xsd:attribute name="AD_Record_ID" type="xsd:int"/>
|
|
<xsd:attribute name="DocAction" type="xsd:string"/>
|
|
</xsd:complexType>
|
|
<xsd:element name="ModelRunProcessRequest" type="tns:ModelRunProcessRequest"/>
|
|
<xsd:complexType name="ModelRunProcessRequest">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ModelRunProcess" type="tns:ModelRunProcess"/>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ADLoginRequest" type="tns:ADLoginRequest"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:element name="ModelGetListRequest" type="tns:ModelGetListRequest"/>
|
|
<xsd:complexType name="ModelGetList">
|
|
<xsd:sequence>
|
|
<xsd:element name="serviceType" type="xsd:string"/>
|
|
<xsd:element name="AD_Reference_ID" type="xsd:int"/>
|
|
<xsd:element name="Filter" type="xsd:string"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ModelGetListRequest">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ModelGetList" type="tns:ModelGetList"/>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ADLoginRequest" type="tns:ADLoginRequest"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:element name="ModelCRUDRequest" type="tns:ModelCRUDRequest"/>
|
|
<xsd:complexType name="ModelCRUD">
|
|
<xsd:sequence>
|
|
<xsd:element name="serviceType" type="xsd:string"/>
|
|
<xsd:element name="TableName" type="xsd:string"/>
|
|
<xsd:element name="RecordID" type="xsd:int"/>
|
|
<xsd:element name="Filter" type="xsd:string"/>
|
|
<xsd:element name="Action">
|
|
<xsd:simpleType>
|
|
<xsd:restriction base="xsd:string">
|
|
<xsd:enumeration value="Create"/>
|
|
<xsd:enumeration value="Read"/>
|
|
<xsd:enumeration value="Update"/>
|
|
<xsd:enumeration value="Delete"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
</xsd:element>
|
|
<xsd:element maxOccurs="1" minOccurs="0" name="DataRow" type="tns:DataRow"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ModelCRUDRequest">
|
|
<xsd:sequence>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ModelCRUD" type="tns:ModelCRUD"/>
|
|
<xsd:element maxOccurs="1" minOccurs="1" name="ADLoginRequest" type="tns:ADLoginRequest"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:schema>
|
|
</wsdl:types>
|
|
<wsdl:message name="queryDataResponse">
|
|
<wsdl:part name="WindowTabData" element="tns:WindowTabData"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="runProcessResponse">
|
|
<wsdl:part name="RunProcessResponse" element="tns:RunProcessResponse"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="getListResponse">
|
|
<wsdl:part name="WindowTabData" element="tns:WindowTabData"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="getListRequest">
|
|
<wsdl:part name="ModelGetListRequest" element="tns:ModelGetListRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="setDocActionResponse">
|
|
<wsdl:part name="StandardResponse" element="tns:StandardResponse"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="readDataRequest">
|
|
<wsdl:part name="ModelCRUDRequest" element="tns:ModelCRUDRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="createDataRequest">
|
|
<wsdl:part name="ModelCRUDRequest" element="tns:ModelCRUDRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="updateDataResponse">
|
|
<wsdl:part name="StandardResponse" element="tns:StandardResponse"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="setDocActionRequest">
|
|
<wsdl:part name="ModelSetDocActionRequest" element="tns:ModelSetDocActionRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="queryDataRequest">
|
|
<wsdl:part name="ModelCRUDRequest" element="tns:ModelCRUDRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="deleteDataResponse">
|
|
<wsdl:part name="StandardResponse" element="tns:StandardResponse"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="deleteDataRequest">
|
|
<wsdl:part name="ModelCRUDRequest" element="tns:ModelCRUDRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="createDataResponse">
|
|
<wsdl:part name="StandardResponse" element="tns:StandardResponse"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="readDataResponse">
|
|
<wsdl:part name="WindowTabData" element="tns:WindowTabData"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="runProcessRequest">
|
|
<wsdl:part name="ModelRunProcessRequest" element="tns:ModelRunProcessRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:message name="updateDataRequest">
|
|
<wsdl:part name="ModelCRUDRequest" element="tns:ModelCRUDRequest"/>
|
|
</wsdl:message>
|
|
<wsdl:portType name="ModelADServicePortType">
|
|
<wsdl:operation name="runProcess">
|
|
<wsdl:input name="runProcessRequest" message="tns:runProcessRequest"/>
|
|
<wsdl:output name="runProcessResponse" message="tns:runProcessResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="createData">
|
|
<wsdl:input name="createDataRequest" message="tns:createDataRequest"/>
|
|
<wsdl:output name="createDataResponse" message="tns:createDataResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="updateData">
|
|
<wsdl:input name="updateDataRequest" message="tns:updateDataRequest"/>
|
|
<wsdl:output name="updateDataResponse" message="tns:updateDataResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="readData">
|
|
<wsdl:input name="readDataRequest" message="tns:readDataRequest"/>
|
|
<wsdl:output name="readDataResponse" message="tns:readDataResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="getList">
|
|
<wsdl:input name="getListRequest" message="tns:getListRequest"/>
|
|
<wsdl:output name="getListResponse" message="tns:getListResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="setDocAction">
|
|
<wsdl:input name="setDocActionRequest" message="tns:setDocActionRequest"/>
|
|
<wsdl:output name="setDocActionResponse" message="tns:setDocActionResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="deleteData">
|
|
<wsdl:input name="deleteDataRequest" message="tns:deleteDataRequest"/>
|
|
<wsdl:output name="deleteDataResponse" message="tns:deleteDataResponse"/>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="queryData">
|
|
<wsdl:input name="queryDataRequest" message="tns:queryDataRequest"/>
|
|
<wsdl:output name="queryDataResponse" message="tns:queryDataResponse"/>
|
|
</wsdl:operation>
|
|
</wsdl:portType>
|
|
<wsdl:binding name="ModelADServiceHttpBinding" type="tns:ModelADServicePortType">
|
|
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
<wsdl:operation name="runProcess">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="runProcessRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="runProcessResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="createData">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="createDataRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="createDataResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="updateData">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="updateDataRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="updateDataResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="readData">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="readDataRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="readDataResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="getList">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="getListRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="getListResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="setDocAction">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="setDocActionRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="setDocActionResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="deleteData">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="deleteDataRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="deleteDataResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
<wsdl:operation name="queryData">
|
|
<wsdlsoap:operation soapAction=""/>
|
|
<wsdl:input name="queryDataRequest">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:input>
|
|
<wsdl:output name="queryDataResponse">
|
|
<wsdlsoap:body use="literal" namespace="http://3e.pl/ADInterface"/>
|
|
</wsdl:output>
|
|
</wsdl:operation>
|
|
</wsdl:binding>
|
|
<wsdl:service name="ModelADService">
|
|
<wsdl:port name="ModelADServiceHttpPort" binding="tns:ModelADServiceHttpBinding">
|
|
<wsdlsoap:address location="https://localhost:8443/ADInterface/services/ModelADService"/>
|
|
</wsdl:port>
|
|
</wsdl:service>
|
|
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="createData" bindingOperationName="createData" type="Request-Response" outputName="createDataResponse" inputName="createDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Create BP GlobalQSS (GW Working)"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:createData>
|
|
<adin:ModelCRUDRequest>
|
|
<adin:ModelCRUD>
|
|
<adin:serviceType>CreateBPartner</adin:serviceType>
|
|
<adin:TableName>C_BPartner</adin:TableName>
|
|
<adin:RecordID>0</adin:RecordID>
|
|
<adin:Action>Create</adin:Action>
|
|
<adin:DataRow>
|
|
<adin:field column="Value">
|
|
<adin:val>GlobalQSS</adin:val>
|
|
</adin:field>
|
|
<adin:field column="Name">
|
|
<adin:val>Quality Systems & Solutions</adin:val>
|
|
</adin:field>
|
|
<adin:field column="TaxID">
|
|
<adin:val>830.085.359-4</adin:val>
|
|
</adin:field>
|
|
<adin:field column="IsVendor">
|
|
<adin:val>Y</adin:val>
|
|
</adin:field>
|
|
<adin:field column="IsCustomer">
|
|
<adin:val>N</adin:val>
|
|
</adin:field>
|
|
<adin:field column="IsTaxExempt">
|
|
<adin:val>N</adin:val>
|
|
</adin:field>
|
|
<adin:field column="Name2">
|
|
<adin:val>QSS Ltda. - http://www.globalqss.com</adin:val>
|
|
</adin:field>
|
|
<adin:field column="C_BP_Group_ID">
|
|
<adin:val>104</adin:val>
|
|
</adin:field>
|
|
</adin:DataRow>
|
|
</adin:ModelCRUD>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelCRUDRequest>
|
|
</adin:createData>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/createDataRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="deleteData" bindingOperationName="deleteData" type="Request-Response" outputName="deleteDataResponse" inputName="deleteDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Delete BP TreeFarm (must fail)"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:deleteData>
|
|
<adin:ModelCRUDRequest>
|
|
<adin:ModelCRUD>
|
|
<adin:serviceType>DeleteBPartner</adin:serviceType>
|
|
<adin:TableName>C_BPartner</adin:TableName>
|
|
<adin:RecordID>114</adin:RecordID>
|
|
<adin:Action>Delete</adin:Action>
|
|
</adin:ModelCRUD>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelCRUDRequest>
|
|
</adin:deleteData>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/deleteDataRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getList" bindingOperationName="getList" type="Request-Response" outputName="getListResponse" inputName="getListRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Get List Sales Region"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:getList>
|
|
<adin:ModelGetListRequest>
|
|
<adin:ModelGetList>
|
|
<adin:serviceType>GetListSalesRegions</adin:serviceType>
|
|
<adin:AD_Reference_ID>144</adin:AD_Reference_ID>
|
|
<adin:Filter></adin:Filter>
|
|
</adin:ModelGetList>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelGetListRequest>
|
|
</adin:getList>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/getListRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="queryData" bindingOperationName="queryData" type="Request-Response" outputName="queryDataResponse" inputName="queryDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample get BP Standard < S"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:queryData>
|
|
<adin:ModelCRUDRequest>
|
|
<adin:ModelCRUD>
|
|
<adin:serviceType>QueryBPartner</adin:serviceType>
|
|
<adin:TableName>C_BPartner</adin:TableName>
|
|
<adin:Filter>name<'S'</adin:Filter>
|
|
<adin:Action>Read</adin:Action>
|
|
<adin:DataRow>
|
|
<adin:field column="C_BP_Group_ID">
|
|
<adin:val>103</adin:val>
|
|
</adin:field>
|
|
</adin:DataRow>
|
|
</adin:ModelCRUD>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelCRUDRequest>
|
|
</adin:queryData>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/queryDataRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="readData" bindingOperationName="readData" type="Request-Response" outputName="readDataResponse" inputName="readDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Read TreeFarm"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:readData>
|
|
<adin:ModelCRUDRequest>
|
|
<adin:ModelCRUD>
|
|
<adin:serviceType>ReadBPartner</adin:serviceType>
|
|
<adin:TableName>C_BPartner</adin:TableName>
|
|
<adin:RecordID>114</adin:RecordID>
|
|
<adin:Action>Read</adin:Action>
|
|
</adin:ModelCRUD>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelCRUDRequest>
|
|
</adin:readData>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/readDataRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runProcess" bindingOperationName="runProcess" type="Request-Response" outputName="runProcessResponse" inputName="runProcessRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Process Invoice (GW Working)"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:runProcess>
|
|
<adin:ModelRunProcessRequest>
|
|
<adin:ModelRunProcess AD_Process_ID="111" AD_Menu_ID="0" AD_Record_ID="103" DocAction="CO">
|
|
<adin:serviceType>ProcessInvoice</adin:serviceType>
|
|
<adin:ParamValues>
|
|
</adin:ParamValues>
|
|
</adin:ModelRunProcess>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelRunProcessRequest>
|
|
</adin:runProcess>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/runProcessRequest"/></con:call><con:call name="Run Storage Detail"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<!--
|
|
Example on how to run report Storage Detail with HQ Warehouse and Patio Chair as parameters
|
|
You need to define web service security for:
|
|
Web Service Type: RunStorageDetail
|
|
Web Service Parameters:
|
|
AD_Process_ID Constant 236
|
|
AD_Menu_ID Constant 0
|
|
AD_Record_ID Constant 0
|
|
And allow execution to the WebService role on the report.
|
|
-->
|
|
|
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:runProcess>
|
|
<adin:ModelRunProcessRequest>
|
|
<adin:ModelRunProcess AD_Process_ID="236">
|
|
<adin:serviceType>RunStorageDetail</adin:serviceType>
|
|
<adin:ParamValues>
|
|
<adin:field column="M_Warehouse_ID">
|
|
<adin:val>103</adin:val>
|
|
</adin:field>
|
|
<adin:field column="M_Product_ID">
|
|
<adin:val>133</adin:val>
|
|
</adin:field>
|
|
</adin:ParamValues>
|
|
</adin:ModelRunProcess>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelRunProcessRequest>
|
|
</adin:runProcess>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/runProcessRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="setDocAction" bindingOperationName="setDocAction" type="Request-Response" outputName="setDocActionResponse" inputName="setDocActionRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Complete Order"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:setDocAction>
|
|
<adin:ModelSetDocActionRequest>
|
|
<adin:ModelSetDocAction>
|
|
<adin:serviceType>ActionCompleteOrder</adin:serviceType>
|
|
<adin:tableName>C_Order</adin:tableName>
|
|
<adin:recordID>102</adin:recordID>
|
|
<adin:docAction>CO</adin:docAction>
|
|
</adin:ModelSetDocAction>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelSetDocActionRequest>
|
|
</adin:setDocAction>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/setDocActionRequest"/></con:call></con:operation><con:operation isOneWay="false" action="" name="updateData" bindingOperationName="updateData" type="Request-Response" outputName="updateDataResponse" inputName="updateDataRequest" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Update TreeFarm URL"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://localhost:8443/ADInterface/services/ModelADService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:adin="http://3e.pl/ADInterface">
|
|
<soapenv:Header/>
|
|
<soapenv:Body>
|
|
<adin:updateData>
|
|
<adin:ModelCRUDRequest>
|
|
<adin:ModelCRUD>
|
|
<adin:serviceType>UpdateBPartner</adin:serviceType>
|
|
<adin:TableName>C_BPartner</adin:TableName>
|
|
<adin:RecordID>114</adin:RecordID>
|
|
<adin:Action>Update</adin:Action>
|
|
<adin:DataRow>
|
|
<adin:field column="URL">
|
|
<adin:val>http://www.treefarm.com</adin:val>
|
|
</adin:field>
|
|
</adin:DataRow>
|
|
</adin:ModelCRUD>
|
|
<adin:ADLoginRequest>
|
|
<adin:user>WebService</adin:user>
|
|
<adin:pass>WebService</adin:pass>
|
|
<adin:lang>en_US</adin:lang>
|
|
<adin:ClientID>11</adin:ClientID>
|
|
<adin:RoleID>50004</adin:RoleID>
|
|
<adin:OrgID>11</adin:OrgID>
|
|
<adin:WarehouseID>103</adin:WarehouseID>
|
|
<adin:stage>9</adin:stage>
|
|
</adin:ADLoginRequest>
|
|
</adin:ModelCRUDRequest>
|
|
</adin:updateData>
|
|
</soapenv:Body>
|
|
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://3e.pl/ADInterface/ModelADServicePortType/updateDataRequest"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project> |