mirror of
https://github.com/iminet/xmlrpcwsc-dotnet.git
synced 2025-07-21 19:35:54 +02:00
Initial develop commit
Initial develop commit
This commit is contained in:
29
documents/example fault.txt
Normal file
29
documents/example fault.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodResponse>
|
||||
<fault>
|
||||
<value>
|
||||
<struct>
|
||||
<member>
|
||||
<name>faultCode</name>
|
||||
<value>
|
||||
<int>1</int>
|
||||
</value>
|
||||
</member>
|
||||
<member>
|
||||
<name>faultString</name>
|
||||
<value>
|
||||
<string>Traceback (most recent call last):
|
||||
File "/home/spina/Workspace/odoo/odoo/openerp/service/wsgi_server.py", line 56, in xmlrpc_return
|
||||
result = openerp.http.dispatch_rpc(service, method, params)
|
||||
File "/home/spina/Workspace/odoo/odoo/openerp/http.py", line 114, in dispatch_rpc
|
||||
result = dispatch(method, params)
|
||||
File "/home/spina/Workspace/odoo/odoo/openerp/service/model.py", line 23, in dispatch
|
||||
(db, uid, passwd ) = params[0:3]
|
||||
ValueError: need more than 0 values to unpack
|
||||
</string>
|
||||
</value>
|
||||
</member>
|
||||
</struct>
|
||||
</value>
|
||||
</fault>
|
||||
</methodResponse>
|
270
documents/example request response.txt
Normal file
270
documents/example request response.txt
Normal file
@@ -0,0 +1,270 @@
|
||||
authenticate
|
||||
REQUEST:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodCall>
|
||||
<methodName>authenticate</methodName>
|
||||
<params>
|
||||
<param>
|
||||
<value>
|
||||
<string>odoo</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>admin</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>admin</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<struct />
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
</methodCall>
|
||||
|
||||
RESPONSE:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodResponse>
|
||||
<params>
|
||||
<param>
|
||||
<value>
|
||||
<int>1</int>
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
</methodResponse>
|
||||
|
||||
search
|
||||
REQUEST:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodCall>
|
||||
<methodName>execute_kw</methodName>
|
||||
<params>
|
||||
<param>
|
||||
<value>
|
||||
<string>odoo</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<int>1</int>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>admin</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>res.partner</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>search</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<string>is_company</string>
|
||||
</value>
|
||||
<value>
|
||||
<string>=</string>
|
||||
</value>
|
||||
<value>
|
||||
<boolean>1</boolean>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<string>customer</string>
|
||||
</value>
|
||||
<value>
|
||||
<string>=</string>
|
||||
</value>
|
||||
<value>
|
||||
<boolean>1</boolean>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
</methodCall>
|
||||
|
||||
RESPONSE:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodResponse>
|
||||
<params>
|
||||
<param>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<int>7</int>
|
||||
</value>
|
||||
<value>
|
||||
<int>11</int>
|
||||
</value>
|
||||
<value>
|
||||
<int>8</int>
|
||||
</value>
|
||||
<value>
|
||||
<int>44</int>
|
||||
</value>
|
||||
<value>
|
||||
<int>10</int>
|
||||
</value>
|
||||
<value>
|
||||
<int>12</int>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
</methodResponse>
|
||||
|
||||
read
|
||||
REQUEST:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodCall>
|
||||
<methodName>execute_kw</methodName>
|
||||
<params>
|
||||
<param>
|
||||
<value>
|
||||
<string>odoo</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<int>1</int>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>admin</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>res.partner</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<string>read</string>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<int>7</int>
|
||||
</value>
|
||||
<value>
|
||||
<int>11</int>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</param>
|
||||
<param>
|
||||
<value>
|
||||
<struct>
|
||||
<member>
|
||||
<name>fields</name>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<string>name</string>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</member>
|
||||
</struct>
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
</methodCall>
|
||||
|
||||
RESPONSE:
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<methodResponse>
|
||||
<params>
|
||||
<param>
|
||||
<value>
|
||||
<array>
|
||||
<data>
|
||||
<value>
|
||||
<struct>
|
||||
<member>
|
||||
<name>id</name>
|
||||
<value>
|
||||
<int>7</int>
|
||||
</value>
|
||||
</member>
|
||||
<member>
|
||||
<name>name</name>
|
||||
<value>
|
||||
<string>Agrolait</string>
|
||||
</value>
|
||||
</member>
|
||||
</struct>
|
||||
</value>
|
||||
<value>
|
||||
<struct>
|
||||
<member>
|
||||
<name>id</name>
|
||||
<value>
|
||||
<int>11</int>
|
||||
</value>
|
||||
</member>
|
||||
<member>
|
||||
<name>name</name>
|
||||
<value>
|
||||
<string>Camptocamp</string>
|
||||
</value>
|
||||
</member>
|
||||
</struct>
|
||||
</value>
|
||||
</data>
|
||||
</array>
|
||||
</value>
|
||||
</param>
|
||||
</params>
|
||||
</methodResponse>
|
18
documents/license template header.txt
Normal file
18
documents/license template header.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
////
|
||||
/// Copyright (c) 2016 Saúl Piña <sauljabin@gmail.com>.
|
||||
///
|
||||
/// This file is part of xmlrpcwsc.
|
||||
///
|
||||
/// xmlrpcwsc is free software: you can redistribute it and/or modify
|
||||
/// it under the terms of the GNU Lesser General Public License as published by
|
||||
/// the Free Software Foundation, either version 3 of the License, or
|
||||
/// (at your option) any later version.
|
||||
///
|
||||
/// xmlrpcwsc is distributed in the hope that it will be useful,
|
||||
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
/// GNU Lesser General Public License for more details.
|
||||
///
|
||||
/// You should have received a copy of the GNU Lesser General Public License
|
||||
/// along with xmlrpcwsc. If not, see <http://www.gnu.org/licenses/>.
|
||||
////
|
12
documents/release.txt
Normal file
12
documents/release.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
- In branch develop
|
||||
- Change Version in ComponentInfo
|
||||
- Change Version in AssemblyInfo
|
||||
- Make dll
|
||||
- Commit
|
||||
- In branch master
|
||||
- Merge with develop
|
||||
- Change Version Tag in README
|
||||
- Commit in branch master
|
||||
- Update to develop
|
||||
- Add tag of master
|
||||
- Push
|
Reference in New Issue
Block a user