Creating multiple work orders - creating multiple work orders is useful because it illustrates how to create a single session on the server to process multiple requests.
SOAP Header Creation - the sample creates SOAP headers directly by casting the WSBindingProvider to the internal JAX-WS implementation. Since this approach involves using several classes in the com.sun namespace, it is not portable to other JVMs or to other JAX-WS implementations. An alternative portable approach (not illustrated here) is to create the SOAP headers in a SOAPHandler.