rex11 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.rvmrc +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +110 -0
- data/Rakefile +7 -0
- data/lib/rex11/client.rb +307 -0
- data/lib/rex11/version.rb +3 -0
- data/lib/rex11.rb +2 -5
- data/rex11.gemspec +25 -0
- data/spec/fixtures/authentication_token_get_request.xml +10 -0
- data/spec/fixtures/authentication_token_get_response_error.xml +9 -0
- data/spec/fixtures/authentication_token_get_response_success.xml +7 -0
- data/spec/fixtures/cancel_pick_ticket_request.xml +9 -0
- data/spec/fixtures/cancel_pick_ticket_response_error.xml +22 -0
- data/spec/fixtures/cancel_pick_ticket_response_success.xml +16 -0
- data/spec/fixtures/get_pick_ticket_object_by_bar_code_request.xml +9 -0
- data/spec/fixtures/get_pick_ticket_object_by_bar_code_response_error.xml +16 -0
- data/spec/fixtures/get_pick_ticket_object_by_bar_code_response_success.xml +106 -0
- data/spec/fixtures/pick_ticket_add_request.xml +52 -0
- data/spec/fixtures/pick_ticket_add_response_error.xml +27 -0
- data/spec/fixtures/pick_ticket_add_response_success.xml +16 -0
- data/spec/fixtures/receiving_ticket_add_request.xml +46 -0
- data/spec/fixtures/receiving_ticket_add_response_error.xml +22 -0
- data/spec/fixtures/receiving_ticket_add_response_success.xml +10 -0
- data/spec/fixtures/style_master_product_add_request.xml +20 -0
- data/spec/fixtures/style_master_product_add_response_error.xml +32 -0
- data/spec/fixtures/style_master_product_add_response_success.xml +16 -0
- data/spec/fixtures/text.xml +103 -0
- data/spec/lib/client_spec.rb +341 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/spec_helper_methods.rb +6 -0
- data/spec/test_run.rb +125 -0
- metadata +127 -7
@@ -0,0 +1,106 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<soap:Body>
|
4
|
+
<GetPickTicketObjectByBarCodeResponse xmlns="http://rex11.com/webmethods/">
|
5
|
+
<GetPickTicketObjectByBarCodeResult>
|
6
|
+
<Notifications />
|
7
|
+
<PickTicket>
|
8
|
+
<PickTicketNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">the_pick_ticket_id</PickTicketNumber>
|
9
|
+
<WareHouse xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">BERGEN LOGISTICS NJ</WareHouse>
|
10
|
+
<OrderDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">12/14/2011</OrderDate>
|
11
|
+
<StartDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
12
|
+
<CancelDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
13
|
+
<ShipDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">12/16/2011</ShipDate>
|
14
|
+
<ActualShipDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
15
|
+
<PaymentTerms xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">NET</PaymentTerms>
|
16
|
+
<CODAmount xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
17
|
+
<DepartmentDescription xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
18
|
+
<Store xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">321</Store>
|
19
|
+
<ShipVia xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">GALETRIANGLE</ShipVia>
|
20
|
+
<ShipViaAccountNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
21
|
+
<DVPercentage xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">100</DVPercentage>
|
22
|
+
<BillingOption xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">PREPAID</BillingOption>
|
23
|
+
<ShipService xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">GADQ</ShipService>
|
24
|
+
<SpecialInstructions xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
25
|
+
<CustomerPONumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">102000000</CustomerPONumber>
|
26
|
+
<AuthorizationNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
27
|
+
<OrderNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
28
|
+
<TakenBy xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
29
|
+
<DISTRIBUTIONCENTER xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">096</DISTRIBUTIONCENTER>
|
30
|
+
<DivisionCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
31
|
+
<DivisionDescription xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
32
|
+
<Department xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">123</Department>
|
33
|
+
<TRADINGPARTNER xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
34
|
+
<UseAccountUPS xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">false</UseAccountUPS>
|
35
|
+
<VendorNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
36
|
+
<BillToCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">Beverly Hills</BillToCode>
|
37
|
+
<BillToAddress xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
38
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
39
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
40
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Beverly Yoram</CompanyName>
|
41
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">123 Rodeo Drive</Address1>
|
42
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
43
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Beverly Hills</City>
|
44
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">CA</State>
|
45
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">90210</Zip>
|
46
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">United States</Country>
|
47
|
+
<Non_US_Region xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
48
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
49
|
+
<Fax xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
50
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
51
|
+
</BillToAddress>
|
52
|
+
<ShipToCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
53
|
+
<ShipToAddress xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
54
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
55
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
56
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Beverly Yoram</CompanyName>
|
57
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">123 Rodeo Drive</Address1>
|
58
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
59
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Beverly Hills</City>
|
60
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">CA</State>
|
61
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">90210</Zip>
|
62
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">United States</Country>
|
63
|
+
<Non_US_Region xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
64
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">(222) 1111111</Phone>
|
65
|
+
<Fax xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
66
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
67
|
+
</ShipToAddress>
|
68
|
+
<MarkForCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
69
|
+
<MarkForAddress xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
70
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
71
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
72
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
73
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
74
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
75
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
76
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
77
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
78
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
79
|
+
<Non_US_Region xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
80
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
81
|
+
<Fax xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
82
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd" />
|
83
|
+
</MarkForAddress>
|
84
|
+
<LineItems xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
85
|
+
<Season/>
|
86
|
+
<Style>a5492pin</Style>
|
87
|
+
<Description>3/4 SLV LANT</Description>
|
88
|
+
<Color>4PINK#2010/</Color>
|
89
|
+
<Size>S</Size>
|
90
|
+
<UPC>336440981</UPC>
|
91
|
+
<Quantity>1</Quantity>
|
92
|
+
<RequestedQuantity>1</RequestedQuantity>
|
93
|
+
<ShippedQuantity>1</ShippedQuantity>
|
94
|
+
<Comments />
|
95
|
+
</LineItems>
|
96
|
+
<Amount xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
97
|
+
<Totalshipmentqty xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">1</Totalshipmentqty>
|
98
|
+
<ShipmentStatus xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">the_pick_ticket_status</ShipmentStatus>
|
99
|
+
<ShipmentStatusCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">the_pick_ticket_status_code</ShipmentStatusCode>
|
100
|
+
<FreightCharge xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd" />
|
101
|
+
<TrackingNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">the_tracking_number</TrackingNumber>
|
102
|
+
</PickTicket>
|
103
|
+
</GetPickTicketObjectByBarCodeResult>
|
104
|
+
</GetPickTicketObjectByBarCodeResponse>
|
105
|
+
</soap:Body>
|
106
|
+
</soap:Envelope>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<soap:Body>
|
4
|
+
<PickTicketAdd xmlns="http://rex11.com/webmethods/">
|
5
|
+
<AuthenticationString>4vxVebc3D1zwsXjH9fkFpgpOhewauJbVu25WXjQ1gOo=</AuthenticationString>
|
6
|
+
<PickTicket xmlns="http://rex11.com/swpublicapi/PickTicket.xsd">
|
7
|
+
<PickTicketNumber>23022012012557</PickTicketNumber>
|
8
|
+
<WareHouse>the_warehouse</WareHouse>
|
9
|
+
<PaymentTerms>NET</PaymentTerms>
|
10
|
+
<UseAccountUPS>1</UseAccountUPS>
|
11
|
+
<ShipViaAccountNumber>1AB345</ShipViaAccountNumber>
|
12
|
+
<ShipVia>UPS</ShipVia>
|
13
|
+
<ShipService>UPS GROUND - Commercial</ShipService>
|
14
|
+
<BillingOption>PREPAID</BillingOption>
|
15
|
+
<BillToAddress>
|
16
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_first_name</FirstName>
|
17
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_last_name</LastName>
|
18
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_company_name</CompanyName>
|
19
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_address1</Address1>
|
20
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_address2</Address2>
|
21
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_city</City>
|
22
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_state</State>
|
23
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_zip</Zip>
|
24
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_country</Country>
|
25
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_phone</Phone>
|
26
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_bill_to_email</Email>
|
27
|
+
</BillToAddress>
|
28
|
+
<ShipToAddress>
|
29
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_first_name</FirstName>
|
30
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_last_name</LastName>
|
31
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_company_name</CompanyName>
|
32
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_address1</Address1>
|
33
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_address2</Address2>
|
34
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_city</City>
|
35
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_state</State>
|
36
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_zip</Zip>
|
37
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_country</Country>
|
38
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_phone</Phone>
|
39
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_ship_to_email</Email>
|
40
|
+
</ShipToAddress>
|
41
|
+
<LineItem>
|
42
|
+
<UPC xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">the_upc1</UPC>
|
43
|
+
<Quantity xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">1</Quantity>
|
44
|
+
</LineItem>
|
45
|
+
<LineItem>
|
46
|
+
<UPC xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">the_upc2</UPC>
|
47
|
+
<Quantity xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">2</Quantity>
|
48
|
+
</LineItem>
|
49
|
+
</PickTicket>
|
50
|
+
</PickTicketAdd>
|
51
|
+
</soap:Body>
|
52
|
+
</soap:Envelope>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<soap:Body>
|
4
|
+
<PickTicketAddResponse xmlns="http://rex11.com/webmethods/">
|
5
|
+
<PickTicketAddResult>
|
6
|
+
<Notifications>
|
7
|
+
<Notification>
|
8
|
+
<ErrorCode>56</ErrorCode>
|
9
|
+
<Severity>ShipViaError</Severity>
|
10
|
+
<Message>PickTicket/ShipVia is not valid</Message>
|
11
|
+
</Notification>
|
12
|
+
<Notification>
|
13
|
+
<ErrorCode>61</ErrorCode>
|
14
|
+
<Severity>ShipServiceError</Severity>
|
15
|
+
<Message>PickTicket/ShipService is not valid</Message>
|
16
|
+
</Notification>
|
17
|
+
<Notification>
|
18
|
+
<ErrorCode>10</ErrorCode>
|
19
|
+
<Severity>StateError</Severity>
|
20
|
+
<Message>State for ShipToAddress is required for USA</Message>
|
21
|
+
</Notification>
|
22
|
+
</Notifications>
|
23
|
+
<PickTicketId>0</PickTicketId>
|
24
|
+
</PickTicketAddResult>
|
25
|
+
</PickTicketAddResponse>
|
26
|
+
</soap:Body>
|
27
|
+
</soap:Envelope>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<soap:Body>
|
4
|
+
<PickTicketAddResponse xmlns="http://rex11.com/webmethods/">
|
5
|
+
<PickTicketAddResult>
|
6
|
+
<Notifications>
|
7
|
+
<Notification>
|
8
|
+
<ErrorCode>0</ErrorCode>
|
9
|
+
<Severity>Success</Severity>
|
10
|
+
<Message>Data saved successfully</Message>
|
11
|
+
</Notification>
|
12
|
+
</Notifications>
|
13
|
+
</PickTicketAddResult>
|
14
|
+
</PickTicketAddResponse>
|
15
|
+
</soap:Body>
|
16
|
+
</soap:Envelope>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<soap:Body>
|
4
|
+
<ReceivingTicketAdd xmlns="http://rex11.com/webmethods/">
|
5
|
+
<AuthenticationString>4vxVebc3D1zwsXjH9fkFpgpOhewauJbVu25WXjQ1gOo=</AuthenticationString>
|
6
|
+
<receivingTicket xmlns="http://rex11.com/swpublicapi/ReceivingTicket.xsd">
|
7
|
+
<Shipmentitemslist>
|
8
|
+
<Style xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_style1</Style>
|
9
|
+
<UPC xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_upc1</UPC>
|
10
|
+
<Size xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_size1</Size>
|
11
|
+
<Color xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_color1</Color>
|
12
|
+
<ProductDescription xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_description1</ProductDescription>
|
13
|
+
<ExpectedQuantity xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_quantity1</ExpectedQuantity>
|
14
|
+
<Comments xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_comments1</Comments>
|
15
|
+
<ShipmentType xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_shipment_type1</ShipmentType>
|
16
|
+
</Shipmentitemslist>
|
17
|
+
<ShipmentTypelist>the_shipment_type1</ShipmentTypelist>
|
18
|
+
<Shipmentitemslist>
|
19
|
+
<Style xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_style2</Style>
|
20
|
+
<UPC xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_upc2</UPC>
|
21
|
+
<Size xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_size2</Size>
|
22
|
+
<Color xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_color2</Color>
|
23
|
+
<ProductDescription xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_description2</ProductDescription>
|
24
|
+
<ExpectedQuantity xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_quantity2</ExpectedQuantity>
|
25
|
+
<Comments xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_comments2</Comments>
|
26
|
+
<ShipmentType xmlns="http://rex11.com/swpublicapi/ReceivingTicketItems.xsd">the_shipment_type2</ShipmentType>
|
27
|
+
</Shipmentitemslist>
|
28
|
+
<ShipmentTypelist>the_shipment_type2</ShipmentTypelist>
|
29
|
+
<Warehouse>the_warehouse</Warehouse>
|
30
|
+
<Memo>the_memo</Memo>
|
31
|
+
<Carrier>the_carrier</Carrier>
|
32
|
+
<SupplierDetails>
|
33
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_company_name</CompanyName>
|
34
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_address1</Address1>
|
35
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_address2</Address2>
|
36
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_city</City>
|
37
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_state</State>
|
38
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_zip</Zip>
|
39
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_country</Country>
|
40
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_phone</Phone>
|
41
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">the_supplier_email</Email>
|
42
|
+
</SupplierDetails>
|
43
|
+
</receivingTicket>
|
44
|
+
</ReceivingTicketAdd>
|
45
|
+
</soap:Body>
|
46
|
+
</soap:Envelope>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<soap:Body>
|
4
|
+
<ReceivingTicketAddResponse xmlns="http://rex11.com/webmethods/">
|
5
|
+
<ReceivingTicketAddResult>
|
6
|
+
<Notifications>
|
7
|
+
<Notification>
|
8
|
+
<ErrorCode>12</ErrorCode>
|
9
|
+
<Severity>DataNotValid</Severity>
|
10
|
+
<Message>ReceivingTicket/SupplierDetails/Country is not valid</Message>
|
11
|
+
</Notification>
|
12
|
+
<Notification>
|
13
|
+
<ErrorCode>32</ErrorCode>
|
14
|
+
<Severity>DataNotValid</Severity>
|
15
|
+
<Message>ReceivingTicket/Shipmentitemslist/Size[item 1] is not valid</Message>
|
16
|
+
</Notification>
|
17
|
+
</Notifications>
|
18
|
+
<ReceivingTicketId/>
|
19
|
+
</ReceivingTicketAddResult>
|
20
|
+
</ReceivingTicketAddResponse>
|
21
|
+
</soap:Body>
|
22
|
+
</soap:Envelope>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<soap:Body>
|
4
|
+
<ReceivingTicketAddResponse xmlns="http://rex11.com/webmethods/">
|
5
|
+
<ReceivingTicketAddResult>
|
6
|
+
<ReceivingTicketId>the_receiving_ticket_id</ReceivingTicketId>
|
7
|
+
</ReceivingTicketAddResult>
|
8
|
+
</ReceivingTicketAddResponse>
|
9
|
+
</soap:Body>
|
10
|
+
</soap:Envelope>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
4
|
+
<soap:Body>
|
5
|
+
<StyleMasterProductAdd xmlns="http://rex11.com/webmethods/">
|
6
|
+
<AuthenticationString>4vxVebc3D1zwsXjH9fkFpgpOhewauJbVu25WXjQ1gOo=</AuthenticationString>
|
7
|
+
<products>
|
8
|
+
<StyleMasterProduct>
|
9
|
+
<Style xmlns="http://rex11.com/swpublicapi/StyleMasterProduct.xsd">the_style</Style>
|
10
|
+
<UPC xmlns="http://rex11.com/swpublicapi/StyleMasterProduct.xsd">the_upc</UPC>
|
11
|
+
<Size xmlns="http://rex11.com/swpublicapi/StyleMasterProduct.xsd">the_size</Size>
|
12
|
+
<Color xmlns="http://rex11.com/swpublicapi/StyleMasterProduct.xsd">the_color</Color>
|
13
|
+
<Description
|
14
|
+
xmlns="http://rex11.com/swpublicapi/StyleMasterProduct.xsd">the_description</Description>
|
15
|
+
<Price xmlns="http://rex11.com/swpublicapi/StyleMasterProduct.xsd">the_price</Price>
|
16
|
+
</StyleMasterProduct>
|
17
|
+
</products>
|
18
|
+
</StyleMasterProductAdd>
|
19
|
+
</soap:Body>
|
20
|
+
</soap:Envelope>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
4
|
+
<soap:Body>
|
5
|
+
<StyleMasterProductAddResponse xmlns="http://rex11.com/webmethods/">
|
6
|
+
<StyleMasterProductAddResult>
|
7
|
+
<Notifications>
|
8
|
+
<Notification>
|
9
|
+
<ErrorCode>31</ErrorCode>
|
10
|
+
<Severity>ColorError</Severity>
|
11
|
+
<Message>COLOR[item 1] is not valid</Message>
|
12
|
+
</Notification>
|
13
|
+
<Notification>
|
14
|
+
<ErrorCode>43</ErrorCode>
|
15
|
+
<Severity>PriceError</Severity>
|
16
|
+
<Message>PRICE[item 1] is not valid</Message>
|
17
|
+
</Notification>
|
18
|
+
<Notification>
|
19
|
+
<ErrorCode>31</ErrorCode>
|
20
|
+
<Severity>ColorError</Severity>
|
21
|
+
<Message>COLOR[item 2] is not valid</Message>
|
22
|
+
</Notification>
|
23
|
+
<Notification>
|
24
|
+
<ErrorCode>31</ErrorCode>
|
25
|
+
<Severity>ColorError</Severity>
|
26
|
+
<Message>COLOR[item 4] is not valid</Message>
|
27
|
+
</Notification>
|
28
|
+
</Notifications>
|
29
|
+
</StyleMasterProductAddResult>
|
30
|
+
</StyleMasterProductAddResponse>
|
31
|
+
</soap:Body>
|
32
|
+
</soap:Envelope>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
3
|
+
<soap:Body>
|
4
|
+
<StyleMasterProductAddResponse xmlns="http://rex11.com/webmethods/">
|
5
|
+
<StyleMasterProductAddResult>
|
6
|
+
<Notifications>
|
7
|
+
<Notification>
|
8
|
+
<ErrorCode>0</ErrorCode>
|
9
|
+
<Severity>Success</Severity>
|
10
|
+
<Message>Data saved successfully</Message>
|
11
|
+
</Notification>
|
12
|
+
</Notifications>
|
13
|
+
</StyleMasterProductAddResult>
|
14
|
+
</StyleMasterProductAddResponse>
|
15
|
+
</soap:Body>
|
16
|
+
</soap:Envelope>
|
@@ -0,0 +1,103 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
4
|
+
<soap:Body>
|
5
|
+
<GetPickTicketObjectByBarCodeResponse xmlns="http://rex11.com/webmethods/">
|
6
|
+
<GetPickTicketObjectByBarCodeResult>
|
7
|
+
<Notifications/>
|
8
|
+
<PickTicket>
|
9
|
+
<PickTicketNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">YORA1A23022012012557</PickTicketNumber>
|
10
|
+
<WareHouse xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">BERGEN LOGISTICS NJ</WareHouse>
|
11
|
+
<OrderDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
12
|
+
<StartDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
13
|
+
<CancelDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
14
|
+
<ShipDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">03/06/2013</ShipDate>
|
15
|
+
<ActualShipDate xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
16
|
+
<PaymentTerms xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">NET</PaymentTerms>
|
17
|
+
<CODAmount xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
18
|
+
<DepartmentDescription xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
19
|
+
<Store xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
20
|
+
<ShipVia xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">UPS</ShipVia>
|
21
|
+
<ShipViaAccountNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
22
|
+
<DVPercentage xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">10</DVPercentage>
|
23
|
+
<BillingOption xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">THIRD PARTY</BillingOption>
|
24
|
+
<ShipService xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">UPSGROUND-Commercial</ShipService>
|
25
|
+
<SpecialInstructions xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
26
|
+
<CustomerPONumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
27
|
+
<AuthorizationNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
28
|
+
<OrderNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
29
|
+
<TakenBy xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
30
|
+
<DISTRIBUTIONCENTER xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
31
|
+
<DivisionCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
32
|
+
<DivisionDescription xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
33
|
+
<Department xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
34
|
+
<TRADINGPARTNER xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
35
|
+
<UseAccountUPS xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">false</UseAccountUPS>
|
36
|
+
<VendorNumber xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
37
|
+
<BillToCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
38
|
+
<BillToAddress xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
39
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
40
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
41
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Netaporter</CompanyName>
|
42
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">725 Darlington Avenue</Address1>
|
43
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
44
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Mahwah</City>
|
45
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">NJ</State>
|
46
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">07430</Zip>
|
47
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">United States</Country>
|
48
|
+
<Non_US_Region xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
49
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">212-522-1212</Phone>
|
50
|
+
<Fax xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
51
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">net@netaporter.com</Email>
|
52
|
+
</BillToAddress>
|
53
|
+
<ShipToCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
54
|
+
<ShipToAddress xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
55
|
+
<FirstName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
56
|
+
<LastName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
57
|
+
<CompanyName xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">Time Magazine</CompanyName>
|
58
|
+
<Address1 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">1271 Avenue of the Americas</Address1>
|
59
|
+
<Address2 xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
60
|
+
<City xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">New York</City>
|
61
|
+
<State xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">NY</State>
|
62
|
+
<Zip xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">10020</Zip>
|
63
|
+
<Country xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">United States</Country>
|
64
|
+
<Non_US_Region xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
65
|
+
<Phone xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">212-522-1212</Phone>
|
66
|
+
<Fax xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd"/>
|
67
|
+
<Email xmlns="http://rex11.com/swpublicapi/CustomerOrder.xsd">time@magazine.com</Email>
|
68
|
+
</ShipToAddress>
|
69
|
+
<MarkForCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
70
|
+
<LineItems xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
71
|
+
<Season></Season>
|
72
|
+
<Style>ABC123</Style>
|
73
|
+
<Description>Chanel Red Skirt</Description>
|
74
|
+
<Color>Black</Color>
|
75
|
+
<Size>LARGE</Size>
|
76
|
+
<UPC>ABC123</UPC>
|
77
|
+
<Quantity>1</Quantity>
|
78
|
+
<RequestedQuantity>1</RequestedQuantity>
|
79
|
+
<ShippedQuantity>1</ShippedQuantity>
|
80
|
+
<Comments/>
|
81
|
+
</LineItems>
|
82
|
+
<LineItems xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">
|
83
|
+
<Season></Season>
|
84
|
+
<Style>DEF123</Style>
|
85
|
+
<Description>Chanel Red Blouse</Description>
|
86
|
+
<Color>Purple</Color>
|
87
|
+
<Size>LARGE</Size>
|
88
|
+
<UPC>DEF123</UPC>
|
89
|
+
<Quantity>1</Quantity>
|
90
|
+
<RequestedQuantity>1</RequestedQuantity>
|
91
|
+
<ShippedQuantity>1</ShippedQuantity>
|
92
|
+
<Comments/>
|
93
|
+
</LineItems>
|
94
|
+
<Amount xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
95
|
+
<Totalshipmentqty xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">2</Totalshipmentqty>
|
96
|
+
<ShipmentStatus xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">CSR - No Stock</ShipmentStatus>
|
97
|
+
<ShipmentStatusCode xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd">370</ShipmentStatusCode>
|
98
|
+
<FreightCharge xmlns="http://rex11.com/swpublicapi/PickTicketDetails.xsd"/>
|
99
|
+
</PickTicket>
|
100
|
+
</GetPickTicketObjectByBarCodeResult>
|
101
|
+
</GetPickTicketObjectByBarCodeResponse>
|
102
|
+
</soap:Body>
|
103
|
+
</soap:Envelope>
|