americommerce-api 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,6 @@ Gem::Specification.new do |s|
11
11
  s.has_rdoc = false
12
12
  s.require_paths = ['lib']
13
13
  s.authors = ["Yotpo/avichay@yotpo"]
14
- s.files = ["README.md", "americommerce-api.gemspec"] + Dir['**/*.rb'] + Dir['**/*.crt']
14
+ s.files = ["README.md", "americommerce-api.gemspec"] + Dir['**/*.rb'] + Dir['**/*.crt'] + Dir['**/*.wsdl']
15
15
  s.add_dependency 'savon'
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Americommerce
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -0,0 +1,94 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <wsdl:definitions xmlns:s='http://www.w3.org/2001/XMLSchema' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/' xmlns:tns='http://www.americommerce.com' xmlns:s1='http://microsoft.com/wsdl/types/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tm='http://microsoft.com/wsdl/mime/textMatching/' xmlns:http='http://schemas.xmlsoap.org/wsdl/http/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' targetNamespace='http://www.americommerce.com' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>
3
+ <wsdl:documentation xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>Raw access to the AmeriCommerce database, all tables, relationships and collections supported. This web service will return XML responses for each of the methods, however, you can incorporate and reference the AmeriCommerce Interface DLL in your code and it will provide you with an object oriented way to use this XML in your code. It contains Transport objects with a property for each of the properties returned from this web service.</wsdl:documentation>
4
+ <wsdl:types>
5
+ <s:schema elementFormDefault='qualified' targetNamespace='http://www.americommerce.com'>
6
+ <s:import namespace='http://microsoft.com/wsdl/types/' />
7
+ <s:element name='Authenticate'>
8
+ <s:complexType />
9
+ </s:element>
10
+ <s:element name='AuthenticateResponse'>
11
+ <s:complexType>
12
+ <s:sequence>
13
+ <s:element minOccurs='1' maxOccurs='1' name='AuthenticateResult' type='s:boolean' />
14
+ </s:sequence>
15
+ </s:complexType>
16
+ </s:element>
17
+ <s:complexType name='Dictionary'>
18
+ <s:sequence>
19
+ <s:element minOccurs='1' maxOccurs='1' name='Items' type='tns:Items' />
20
+ </s:sequence>
21
+ </s:complexType>
22
+ <s:complexType name='Items'>
23
+ <s:sequence>
24
+ <s:element minOccurs='0' maxOccurs='unbounded' name='Item' type='tns:DictionaryItem' />
25
+ </s:sequence>
26
+ </s:complexType>
27
+ <s:complexType name='DictionaryItem'>
28
+ <s:sequence>
29
+ <s:element minOccurs='1' maxOccurs='1' name='Key' type='s:anyType' />
30
+ <s:element minOccurs='1' maxOccurs='1' name='Value' type='s:anyType' />
31
+ </s:sequence>
32
+ </s:complexType>
33
+ <s:element name='Dictionary' type='tns:Dictionary' />
34
+ </s:schema>
35
+ <s:schema elementFormDefault='qualified' targetNamespace='http://microsoft.com/wsdl/types/'>
36
+ <s:simpleType name='guid'>
37
+ <s:restriction base='s:string'>
38
+ <s:pattern value='[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}' />
39
+ </s:restriction>
40
+ </s:simpleType>
41
+ </s:schema>
42
+ </wsdl:types>
43
+ <wsdl:message name='AuthenticateSoapIn'>
44
+ <wsdl:part name='parameters' element='tns:Authenticate' />
45
+ </wsdl:message>
46
+ <wsdl:message name='AuthenticateSoapOut'>
47
+ <wsdl:part name='parameters' element='tns:AuthenticateResponse' />
48
+ </wsdl:message>
49
+ <wsdl:message name='AuthenticateAmeriCommerceHeaderInfo'>
50
+ <wsdl:part name='AmeriCommerceHeaderInfo' element='tns:AmeriCommerceHeaderInfo' />
51
+ </wsdl:message>
52
+ <wsdl:portType name='AmeriCommerceDatabaseIOSoap'>
53
+ <wsdl:operation name='Authenticate'>
54
+ <wsdl:documentation xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>Pass in the security header (like on other methods) and just get a simple authenticate return or in the event of failure a login exception with proper message.</wsdl:documentation>
55
+ <wsdl:input message='tns:AuthenticateSoapIn' />
56
+ <wsdl:output message='tns:AuthenticateSoapOut' />
57
+ </wsdl:operation>
58
+ </wsdl:portType>
59
+ <wsdl:binding name='AmeriCommerceDatabaseIOSoap' type='tns:AmeriCommerceDatabaseIOSoap'>
60
+ <soap:binding transport='http://schemas.xmlsoap.org/soap/http' />
61
+ <wsdl:operation name='Authenticate'>
62
+ <soap:operation soapAction='http://www.americommerce.com/Authenticate' style='document' />
63
+ <wsdl:input>
64
+ <soap:body use='literal' />
65
+ <soap:header message='tns:AuthenticateAmeriCommerceHeaderInfo' part='AmeriCommerceHeaderInfo' use='literal' />
66
+ </wsdl:input>
67
+ <wsdl:output>
68
+ <soap:body use='literal' />
69
+ </wsdl:output>
70
+ </wsdl:operation>
71
+ </wsdl:binding>
72
+ <wsdl:binding name='AmeriCommerceDatabaseIOSoap12' type='tns:AmeriCommerceDatabaseIOSoap'>
73
+ <soap12:binding transport='http://schemas.xmlsoap.org/soap/http' />
74
+ <wsdl:operation name='Authenticate'>
75
+ <soap12:operation soapAction='http://www.americommerce.com/Authenticate' style='document' />
76
+ <wsdl:input>
77
+ <soap12:body use='literal' />
78
+ <soap12:header message='tns:AuthenticateAmeriCommerceHeaderInfo' part='AmeriCommerceHeaderInfo' use='literal' />
79
+ </wsdl:input>
80
+ <wsdl:output>
81
+ <soap12:body use='literal' />
82
+ </wsdl:output>
83
+ </wsdl:operation>
84
+ </wsdl:binding>
85
+ <wsdl:service name='AmeriCommerceDatabaseIO'>
86
+ <wsdl:documentation xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>Raw access to the AmeriCommerce database, all tables, relationships and collections supported. This web service will return XML responses for each of the methods, however, you can incorporate and reference the AmeriCommerce Interface DLL in your code and it will provide you with an object oriented way to use this XML in your code. It contains Transport objects with a property for each of the properties returned from this web service.</wsdl:documentation>
87
+ <wsdl:port name='AmeriCommerceDatabaseIOSoap' binding='tns:AmeriCommerceDatabaseIOSoap'>
88
+ <soap:address location='%{store_domain}/store/ws/americommercedb.asmx' />
89
+ </wsdl:port>
90
+ <wsdl:port name='AmeriCommerceDatabaseIOSoap12' binding='tns:AmeriCommerceDatabaseIOSoap12'>
91
+ <soap12:address location='%{store_domain}/store/ws/americommercedb.asmx' />
92
+ </wsdl:port>
93
+ </wsdl:service>
94
+ </wsdl:definitions>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: americommerce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -41,6 +41,7 @@ files:
41
41
  - lib/americommerce/response.rb
42
42
  - lib/americommerce/version.rb
43
43
  - lib/americommerce-api.rb
44
+ - lib/americommerce/wsdl/americommercedb.asmx.wsdl
44
45
  homepage: https://github.com/YotpoLtd/americommerce-api
45
46
  licenses: []
46
47
  post_install_message: