To deploy the SOA bundle with ant:

See How to Use ant to Deploy a SOA Composite Application.