Hello
Open the Infopath form in the Design View
From Tools-> DataConnections->Click on Add in the Dataconnections Window
Select Submit Radio Button and Click Next
Select To Webservice radio button and Click On Next
Enter a valid Webservice URL and continue thereof
Hope this helps
Kalyan G Reddy
Infopath MVP 2007 and 2008