<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Paul Smith (SAMM) -->
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://new.webservice.namespace" targetNamespace="http://new.webservice.namespace">
	<wsdl:types>
		<xs:schema targetNamespace="http://new.webservice.namespace" elementFormDefault="qualified"/>
	</wsdl:types>
	<wsdl:message name="processShipmentRequest">
		<wsdl:part name="parameter" type="xs:string"/>
	</wsdl:message>
	<wsdl:message name="processShipmentResponse">
		<wsdl:part name="parameter" type="xs:string"/>
	</wsdl:message>
	<wsdl:message name="cancelShipmentRequest"/>
	<wsdl:message name="cancelShipmentResponse"/>
	<wsdl:message name="processShipmentFault"/>
	<wsdl:message name="shipmentPackedNotification"/>
	<wsdl:message name="shipmentPickedupNotification"/>
	<wsdl:message name="shipmentShipedNotification"/>
	<wsdl:message name="NewMessage"/>
	<wsdl:message name="NewMessage2"/>
	<wsdl:message name="shipmentClearNotification"/>
	<wsdl:portType name="ShipmentLifecycle">
		<wsdl:operation name="processShipment">
			<wsdl:input message="tns:processShipmentRequest"/>
			<wsdl:output message="tns:processShipmentResponse"/>
			<wsdl:fault name="processShipmentFault" message="tns:processShipmentFault"/>
		</wsdl:operation>
		<wsdl:operation name="cancelShipment">
			<wsdl:input message="tns:cancelShipmentRequest"/>
			<wsdl:output message="tns:cancelShipmentResponse"/>
		</wsdl:operation>
		<wsdl:operation name="shipmentPackedNotification">
			<wsdl:documentation>This is can be done via a human task or later automated via RFID</wsdl:documentation>
			<wsdl:input message="tns:shipmentPackedNotification"/>
		</wsdl:operation>
		<wsdl:operation name="shipmentPickedupNotification">
			<wsdl:input message="tns:shipmentPickedupNotification"/>
		</wsdl:operation>
		<wsdl:operation name="shipmentShipedEvent">
			<wsdl:documentation>This is wired to the shipmentShipedNotification in the Order Service</wsdl:documentation>
			<wsdl:output message="tns:shipmentShipedNotification"/>
		</wsdl:operation>
		<wsdl:operation name="shipmentDeliveredNotification">
			<wsdl:documentation>This is notified by the delivery truck</wsdl:documentation>
			<wsdl:input message="tns:NewMessage"/>
		</wsdl:operation>
		<wsdl:operation name="shipmentDeliveredEvent">
			<wsdl:documentation>The shipment service issues its event (wired to shipmentDeliveredNotification) </wsdl:documentation>
			<wsdl:output message="tns:NewMessage2"/>
		</wsdl:operation>
		<wsdl:operation name="shipmentClearNotification">
			<wsdl:documentation>this is where the orderPaidNotification is wired</wsdl:documentation>
			<wsdl:input message="tns:shipmentClearNotification"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="NewBinding" type="tns:ShipmentLifecycle">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="processShipment">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
			<wsdl:fault name="processShipmentFault"/>
		</wsdl:operation>
		<wsdl:operation name="cancelShipment">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="shipmentPackedNotification">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
		</wsdl:operation>
		<wsdl:operation name="shipmentPickedupNotification">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
		</wsdl:operation>
		<wsdl:operation name="shipmentShipedEvent">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="shipmentDeliveredNotification">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
		</wsdl:operation>
		<wsdl:operation name="shipmentDeliveredEvent">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="shipmentClearNotification">
			<soap:operation soapAction="urn:#NewOperation"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="ShipmentLifecycleService">
		<wsdl:port name="NewPort" binding="tns:NewBinding">
			<soap:address location="http://www.sherwoodforest.co.uk/shipment"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>
