hg merge release-3.1 (merge release3.1 into development)
This commit is contained in:
commit
344afd3bed
|
@ -9,6 +9,6 @@ update ad_migrationscript set name='201509280947_IDEMPIERE-1820.sql' where name=
|
|||
|
||||
update ad_system set lastmigrationscriptapplied='201509280947_IDEMPIERE-1820.sql' where lastmigrationscriptapplied='210509280947_IDEMPIERE-1820.sql'
|
||||
;
|
||||
SELECT register_migration_script('201510161110_FixWrongNameScripts.sql') FROM dual
|
||||
SELECT register_migration_script('201507140000_FixWrongNameScripts.sql') FROM dual
|
||||
;
|
||||
|
||||
|
|
|
@ -9,6 +9,6 @@ update ad_migrationscript set name='201509280947_IDEMPIERE-1820.sql' where name=
|
|||
|
||||
update ad_system set lastmigrationscriptapplied='201509280947_IDEMPIERE-1820.sql' where lastmigrationscriptapplied='210509280947_IDEMPIERE-1820.sql'
|
||||
;
|
||||
SELECT register_migration_script('201510161110_FixWrongNameScripts.sql') FROM dual
|
||||
SELECT register_migration_script('201507140000_FixWrongNameScripts.sql') FROM dual
|
||||
;
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
update ad_migrationscript set name='201507140000_FixWrongNameScripts.sql' where name='201510161110_FixWrongNameScripts.sql'
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201511181041_FixWrongRegister.sql') FROM dual
|
||||
;
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
update ad_migrationscript set name='201507140000_FixWrongNameScripts.sql' where name='201510161110_FixWrongNameScripts.sql'
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201511181041_FixWrongRegister.sql') FROM dual
|
||||
;
|
||||
|
|
@ -5,6 +5,6 @@
|
|||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="lib" path="postgresql-9.4-1204.jdbc41.jar"/>
|
||||
<classpathentry kind="lib" path="postgresql-9.4-1206.jdbc41.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
|
|
@ -5,7 +5,7 @@ Bundle-SymbolicName: org.compiere.db.postgresql.provider;singleton:=true
|
|||
Bundle-Version: 3.1.0.qualifier
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||
Bundle-ClassPath: .,
|
||||
postgresql-9.4-1204.jdbc41.jar,
|
||||
postgresql-9.4-1206.jdbc41.jar,
|
||||
c3p0-0.9.5.jar,
|
||||
mchange-commons-java-0.2.9.jar
|
||||
Require-Bundle: org.adempiere.base;bundle-version="3.1.0",
|
||||
|
|
|
@ -4,7 +4,7 @@ bin.includes = META-INF/,\
|
|||
plugin.xml,\
|
||||
OSGI-INF/pgprovider.xml,\
|
||||
OSGI-INF/,\
|
||||
postgresql-9.4-1204.jdbc41.jar,\
|
||||
postgresql-9.4-1206.jdbc41.jar,\
|
||||
c3p0-0.9.5.jar,\
|
||||
mchange-commons-java-0.2.9.jar
|
||||
source.. = src/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<project name="zklibrary" basedir="." default="copy">
|
||||
<target name="copy">
|
||||
<get src="http://central.maven.org/maven2/org/postgresql/postgresql/9.4-1204-jdbc41/postgresql-9.4-1204-jdbc41.jar" dest="postgresql-9.4-1204.jdbc41.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/org/postgresql/postgresql/9.4-1206-jdbc41/postgresql-9.4-1206-jdbc41.jar" dest="postgresql-9.4-1206.jdbc41.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/com/mchange/c3p0/0.9.5/c3p0-0.9.5.jar" dest="c3p0-0.9.5.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/com/mchange/mchange-commons-java/0.2.9/mchange-commons-java-0.2.9.jar" dest="mchange-commons-java-0.2.9.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
</target>
|
||||
|
|
|
@ -16,13 +16,9 @@ import java.sql.ResultSet;
|
|||
import java.sql.SQLException;
|
||||
import java.sql.Timestamp;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.adempiere.util.ServerContext;
|
||||
import org.compiere.model.MSession;
|
||||
import org.compiere.model.MUser;
|
||||
|
@ -33,7 +29,6 @@ import org.compiere.util.Env;
|
|||
import org.compiere.util.KeyNamePair;
|
||||
import org.compiere.util.Language;
|
||||
import org.compiere.util.Login;
|
||||
import org.idempiere.adInterface.x10.ADLoginRequest;
|
||||
|
||||
/**
|
||||
* @author deepak
|
||||
|
@ -51,12 +46,6 @@ public class CompiereService {
|
|||
private int m_M_Warehouse_ID;
|
||||
private String m_locale;
|
||||
private String m_userName;
|
||||
private String m_password;
|
||||
private int m_expiryMinutes;
|
||||
private long m_lastAuthorizationTime;
|
||||
private String m_IPAddress;
|
||||
private static Map<String,CompiereService> csMap = new HashMap<String, CompiereService>();
|
||||
private static Map<String,Properties> ctxMap = new HashMap<String, Properties>();
|
||||
|
||||
private boolean m_loggedin = false;
|
||||
|
||||
|
@ -79,7 +68,7 @@ public class CompiereService {
|
|||
public final String dateFormatOnlyForCtx = "yyyy-MM-dd";
|
||||
|
||||
private boolean m_connected;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @return AD_Client_ID of current request
|
||||
|
@ -142,23 +131,12 @@ public class CompiereService {
|
|||
*/
|
||||
public void disconnect()
|
||||
{
|
||||
// TODO: create a thread that checks expired connected compiereservices and log them out
|
||||
if (! isExpired()) {
|
||||
// do not close, save session in cache
|
||||
if (! csMap.containsValue(this)) {
|
||||
String key = getKey(m_AD_Client_ID,
|
||||
m_AD_Org_ID,
|
||||
m_userName,
|
||||
m_AD_Role_ID,
|
||||
m_M_Warehouse_ID,
|
||||
m_locale,
|
||||
m_password,
|
||||
m_IPAddress);
|
||||
csMap.put(key.toString(), this);
|
||||
Properties savedCache = new Properties();
|
||||
savedCache.putAll(Env.getCtx());
|
||||
ctxMap.put(key.toString(), savedCache);
|
||||
}
|
||||
if (m_connected)
|
||||
{
|
||||
Env.logout();
|
||||
ServerContext.dispose();
|
||||
m_loggedin = false;
|
||||
m_connected = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -350,101 +328,4 @@ public class CompiereService {
|
|||
return m_userName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return set password
|
||||
*/
|
||||
public void setPassword(String pass) {
|
||||
m_password = pass;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return logged in password of current request
|
||||
*/
|
||||
public String getPassword() {
|
||||
return m_password;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return set expiry minutes
|
||||
*/
|
||||
public void setExpiryMinutes(int expiryMinutes) {
|
||||
m_expiryMinutes = expiryMinutes;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return logged in expiry minutes of current request
|
||||
*/
|
||||
public int getExpiryMinutes() {
|
||||
return m_expiryMinutes;
|
||||
}
|
||||
|
||||
public void refreshLastAuthorizationTime() {
|
||||
m_lastAuthorizationTime = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public void setIPAddress(String remoteAddr) {
|
||||
m_IPAddress = remoteAddr;
|
||||
}
|
||||
|
||||
public static CompiereService get(HttpServletRequest req, ADLoginRequest loginRequest) {
|
||||
String key = getKey(loginRequest.getClientID(),
|
||||
loginRequest.getOrgID(),
|
||||
loginRequest.getUser(),
|
||||
loginRequest.getRoleID(),
|
||||
loginRequest.getWarehouseID(),
|
||||
loginRequest.getLang(),
|
||||
loginRequest.getPass(),
|
||||
req.getRemoteAddr());
|
||||
CompiereService l_cs = null;
|
||||
if (csMap.containsKey(key)) {
|
||||
l_cs = csMap.get(key);
|
||||
if (l_cs != null) {
|
||||
if (l_cs.isExpired()) {
|
||||
l_cs = null;
|
||||
} else {
|
||||
Properties cachedCtx = ctxMap.get(key);
|
||||
Env.getCtx().putAll(cachedCtx);
|
||||
}
|
||||
}
|
||||
}
|
||||
return l_cs;
|
||||
}
|
||||
|
||||
private static String getKey(
|
||||
int aD_Client_ID,
|
||||
int aD_Org_ID,
|
||||
String userName,
|
||||
int aD_Role_ID,
|
||||
int m_Warehouse_ID,
|
||||
String locale,
|
||||
String password,
|
||||
String iPAddress) {
|
||||
StringBuilder key = new StringBuilder()
|
||||
.append(aD_Client_ID).append("|")
|
||||
.append(aD_Org_ID).append("|")
|
||||
.append(userName).append("|")
|
||||
.append(aD_Role_ID).append("|")
|
||||
.append(m_Warehouse_ID).append("|")
|
||||
.append(locale).append("|")
|
||||
.append(password).append("|")
|
||||
.append(iPAddress);
|
||||
return key.toString();
|
||||
}
|
||||
|
||||
private boolean isExpired() {
|
||||
boolean expired =
|
||||
(
|
||||
(getExpiryMinutes() <= 0)
|
||||
|| (m_lastAuthorizationTime + (getExpiryMinutes() * 60000) <= System.currentTimeMillis())
|
||||
);
|
||||
if (m_connected && expired)
|
||||
{
|
||||
Env.logout();
|
||||
ServerContext.dispose();
|
||||
m_loggedin = false;
|
||||
m_connected = false;
|
||||
}
|
||||
return expired;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -85,16 +85,6 @@ public class AbstractService {
|
|||
protected String login(ADLoginRequest loginRequest, String webService, String method, String serviceType) {
|
||||
|
||||
CompiereService m_cs = getCompiereService();
|
||||
if (m_cs.getUserName() == null) {
|
||||
HttpServletRequest req = getHttpServletRequest();
|
||||
// search for a non-expired CompiereService with same login data
|
||||
CompiereService cachedCs = CompiereService.get(req, loginRequest);
|
||||
if (cachedCs != null) {
|
||||
m_cs = cachedCs;
|
||||
req.setAttribute(COMPIERE_SERVICE, cachedCs);
|
||||
return authenticate(webService, method, serviceType, cachedCs); // already logged with same data
|
||||
}
|
||||
}
|
||||
|
||||
if (m_cs.isLoggedIn() && m_cs.getAD_Client_ID() == loginRequest.getClientID() && loginRequest.getClientID() == Env.getAD_Client_ID(Env.getCtx())
|
||||
&& m_cs.getAD_Org_ID() == loginRequest.getOrgID() && m_cs.getAD_Role_ID() == loginRequest.getRoleID()
|
||||
|
@ -109,9 +99,6 @@ public class AbstractService {
|
|||
KeyNamePair[] clients = login.getClients(loginRequest.getUser(), loginRequest.getPass());
|
||||
if (clients == null)
|
||||
return "Error login - User invalid";
|
||||
m_cs.setPassword(loginRequest.getPass());
|
||||
m_cs.setExpiryMinutes(loginRequest.getStage());
|
||||
m_cs.setIPAddress(getHttpServletRequest().getRemoteAddr());
|
||||
|
||||
boolean okclient = false;
|
||||
KeyNamePair selectedClient = null;
|
||||
|
@ -261,9 +248,7 @@ public class AbstractService {
|
|||
String ret=invokeLoginValidator(null, m_cs.getCtx(), m_webservicetype, IWSValidator.TIMING_ON_AUTHORIZATION);
|
||||
if(ret!=null && ret.length()>0)
|
||||
return ret;
|
||||
|
||||
m_cs.refreshLastAuthorizationTime();
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<get src="http://central.maven.org/maven2/org/apache/neethi/neethi/3.0.2/neethi-3.0.2.jar" dest="WEB-INF/lib/neethi-3.0.2.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/org/apache/ws/xmlschema/xmlschema-core/2.0.3/xmlschema-core-2.0.3.jar" dest="WEB-INF/lib/xmlschema-core-2.0.3.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/org/apache/cxf/cxf-rt-frontend-jaxws/2.6.1/cxf-rt-frontend-jaxws-2.6.1.jar" dest="WEB-INF/lib/cxf-rt-frontend-jaxws-2.6.1.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/org/apache/xmlbeans/xmlbeans/2.5.0/xmlbeans-2.5.0.jar" dest="WEB-INF/lib/xmlbeans-2.5.0.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="https://bitbucket.org/idempiere/idempiere-experimental/downloads/xmlbeans-2.5.0.jar" dest="WEB-INF/lib/xmlbeans-2.5.0.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" dest="WEB-INF/lib/aopalliance-1.0.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="https://bitbucket.org/idempiere/idempiere-experimental/downloads/idempiere-xmlbeans-1.0.jar" dest="WEB-INF/lib/idempiere-xmlbeans-1.0.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
<get src="http://central.maven.org/maven2/org/apache/axis/axis/1.4/axis-1.4.jar" dest="WEB-INF/lib/axis.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<con:soapui-project activeEnvironment="Default" name="iDempiereWebServices" resourceRoot="" soapui-version="5.2.0" id="c74e8d3a-4667-448a-b934-57e47e02b513" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="ModelADServiceSoapBinding" type="wsdl" bindingName="{http://idempiere.org/ADInterface/1_0}ModelADServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="https://localhost:8443/ADInterface/services/ModelADService?wsdl" id="636ca04b-14ca-4f21-a33f-d6db380eb889" 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 name="ModelADService" targetNamespace="http://idempiere.org/ADInterface/1_0" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://idempiere.org/ADInterface/1_0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<con:soapui-project activeEnvironment="Default" name="iDempiereWebServices" resourceRoot="" soapui-version="4.5.1" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="ModelADServiceSoapBinding" type="wsdl" bindingName="{http://idempiere.org/ADInterface/1_0}ModelADServiceSoapBinding" 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 name="ModelADService" targetNamespace="http://idempiere.org/ADInterface/1_0" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://idempiere.org/ADInterface/1_0" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<wsdl:types>
|
||||
<xsd:schema elementFormDefault="qualified" targetNamespace="http://idempiere.org/ADInterface/1_0">
|
||||
<xsd:element name="WindowTabData" type="tns:WindowTabData"/>
|
||||
|
@ -461,7 +461,7 @@
|
|||
<soap: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="createData" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="b1a8aa17-872b-480c-82c5-b7eb52461448"><con:settings/><con:call name="Sample Create BP GlobalQSS (GW Working)" id="79a381a1-28bd-4b82-bff4-0e11ca9ec485"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</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="createData" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Create BP GlobalQSS (GW Working)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:createData>
|
||||
|
@ -473,7 +473,7 @@
|
|||
<_0:Action>Create</_0:Action>
|
||||
<_0:DataRow>
|
||||
<_0:field column="Value">
|
||||
<_0:val>GlobalQSS3</_0:val>
|
||||
<_0:val>GlobalQSS</_0:val>
|
||||
</_0:field>
|
||||
<_0:field column="Name">
|
||||
<_0:val>Quality Systems & Solutions</_0:val>
|
||||
|
@ -511,7 +511,7 @@
|
|||
</_0:ModelCRUDRequest>
|
||||
</_0:createData>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:selectedAuthProfile>Basic</con:selectedAuthProfile><con:addedBasicAuthenticationTypes>Basic</con:addedBasicAuthenticationTypes><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/createData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="createUpdateData" bindingOperationName="createUpdateData" type="Request-Response" outputName="createUpdateDataResponse" inputName="createUpdateData" receivesAttachments="false" sendsAttachments="false" id="74f22761-09da-4e08-a6d7-07895193a4b4"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="deleteData" bindingOperationName="deleteData" type="Request-Response" outputName="deleteDataResponse" inputName="deleteData" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="260aa155-2bd4-49ca-b090-9ee544ae3448"><con:settings/><con:call name="Sample Delete BP TreeFarm (must fail)" id="ae9dfb1d-829f-4aa8-b7c1-1e456e1febdf"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/createData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="createUpdateData" bindingOperationName="createUpdateData" type="Request-Response" outputName="createUpdateDataResponse" inputName="createUpdateData" receivesAttachments="false" sendsAttachments="false"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="deleteData" bindingOperationName="deleteData" type="Request-Response" outputName="deleteDataResponse" inputName="deleteData" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Delete BP TreeFarm (must fail)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:deleteData>
|
||||
|
@ -535,7 +535,7 @@
|
|||
</_0:ModelCRUDRequest>
|
||||
</_0:deleteData>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/deleteData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getList" bindingOperationName="getList" type="Request-Response" outputName="getListResponse" inputName="getList" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="114ae40e-bd46-43f7-ba67-90d8ce910a09"><con:settings/><con:call name="Sample Get List Sales Region" id="fb1227c9-40ec-40df-a69a-7303b6ef060c"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/deleteData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getList" bindingOperationName="getList" type="Request-Response" outputName="getListResponse" inputName="getList" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Get List Sales Region"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:getList>
|
||||
|
@ -558,7 +558,7 @@
|
|||
</_0:ModelGetListRequest>
|
||||
</_0:getList>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/getList"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="queryData" bindingOperationName="queryData" type="Request-Response" outputName="queryDataResponse" inputName="queryData" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="89241412-dbae-4e50-900f-1bbf15a2cdc1"><con:settings/><con:call name="Sample get BP Standard < S" id="86238272-82d6-4633-abf7-3331fe49924f"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/getList"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="queryData" bindingOperationName="queryData" type="Request-Response" outputName="queryDataResponse" inputName="queryData" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample get BP Standard < S"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:queryData>
|
||||
|
@ -587,7 +587,7 @@
|
|||
</_0:ModelCRUDRequest>
|
||||
</_0:queryData>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/queryData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="readData" bindingOperationName="readData" type="Request-Response" outputName="readDataResponse" inputName="readData" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="cf8588aa-2f6a-403a-bf4e-d25366e6ceaf"><con:settings/><con:call name="Sample Read TreeFarm" id="bc8c007f-6a26-4e27-9ccb-72f1e71ac020"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/queryData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="readData" bindingOperationName="readData" type="Request-Response" outputName="readDataResponse" inputName="readData" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Read TreeFarm"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:readData>
|
||||
|
@ -611,7 +611,7 @@
|
|||
</_0:ModelCRUDRequest>
|
||||
</_0:readData>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/readData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runProcess" bindingOperationName="runProcess" type="Request-Response" outputName="runProcessResponse" inputName="runProcess" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="c2828880-9129-4974-a3d9-011669bf30a4"><con:settings/><con:call name="Run Storage Detail" id="74fe3335-0fd2-4dc0-89e6-d36c42f84cc2"><con:description>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. </con:description><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/readData"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="runProcess" bindingOperationName="runProcess" type="Request-Response" outputName="runProcessResponse" inputName="runProcess" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Run Storage Detail"><con:description>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. </con:description><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:runProcess>
|
||||
|
@ -637,7 +637,7 @@
|
|||
</_0:ModelRunProcessRequest>
|
||||
</_0:runProcess>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/runProcess"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Sample Process Invoice (GW Working)" id="12dd32a2-b4e1-4e35-ae3c-3b8d30a8afcc"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/runProcess"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Sample Process Invoice (GW Working)"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:runProcess>
|
||||
|
@ -658,7 +658,7 @@
|
|||
</_0:ModelRunProcessRequest>
|
||||
</_0:runProcess>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/runProcess"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="setDocAction" bindingOperationName="setDocAction" type="Request-Response" outputName="setDocActionResponse" inputName="setDocAction" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="f8129fb1-59dd-4e74-92ff-5533874f0ce9"><con:settings/><con:call name="Sample Complete Order" id="8533047e-0377-4554-b16d-12bdd921a3c0"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/runProcess"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="setDocAction" bindingOperationName="setDocAction" type="Request-Response" outputName="setDocActionResponse" inputName="setDocAction" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Complete Order"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:setDocAction>
|
||||
|
@ -682,7 +682,7 @@
|
|||
</_0:ModelSetDocActionRequest>
|
||||
</_0:setDocAction>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/setDocAction"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="updateData" bindingOperationName="updateData" type="Request-Response" outputName="updateDataResponse" inputName="updateData" receivesAttachments="false" sendsAttachments="false" anonymous="optional" id="92fe010b-2d30-4570-ab35-d98712b65de6"><con:settings/><con:call name="Sample Update TreeFarm URL" id="f11f6c58-a293-4eb5-ba04-55f6f3d035fd"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/setDocAction"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="updateData" bindingOperationName="updateData" type="Request-Response" outputName="updateDataResponse" inputName="updateData" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Sample Update TreeFarm URL"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></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:_0="http://idempiere.org/ADInterface/1_0">
|
||||
<soapenv:Header/>
|
||||
<soapenv:Body>
|
||||
<_0:updateData>
|
||||
|
@ -711,4 +711,4 @@
|
|||
</_0:ModelCRUDRequest>
|
||||
</_0:updateData>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/updateData"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/><con:sensitiveInformation/></con:soapui-project>
|
||||
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://idempiere.org/ADInterface/1_0/ModelADService/updateData"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue