Creating Shipping Method Programmatically-Collection of common programming errors

Open the Partner Services SDK, in there you will find the code to all the Business apps, just cut and past the block of code that they used to do it using the OrderServiceAgent.

If you can’t find the code, let me know and i’ll track it down for you.