Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 723 Bytes

File metadata and controls

16 lines (11 loc) · 723 Bytes

Ongoing

This package includes (php)-classes for Ongoing Warehouse's Soap-api.

The classes are generated with Wsdl2phpgenerator. When Ongoing updates their api the classes can be updated with php generate.php http://ongoingwsdlurl.tld/service.asmx?wsdl.

Install with composer

require starweb/ongoing

Example

$service = new \Ongoing\Service([], 'http://ongoingwsdlurl.tld/service.asmx?wsdl');
$getOrderByOrderNumber = new \Ongoing\GetOrderByOrderNumber($goodsOwnerCode, $username, $password, $orderNumber);
$order = $service->GetOrderByOrderNumber($getOrderByOrderNumber)->getGetOrderByOrderNumberResult();