Posting against your Dotnetweblog using InfoPath

Tim Marman writes...

Is there anything particular we would need to do to post to our blogs here, or is it all stuff built-in to InfoPath? (source).

Access to the service's WSDL is all you need to submit/receive data against a web service with InfoPath.

To post to your dotnetweblog, create a new web service data source using the Data Source Setup Wizard.

Doing so will reveal that the InsertBlog service operation has some required fields (other than those which are immediately obvious) that need to be populated - ID, PTRCount and DateCreated.  The first two can have their default values set to 0, but setting the required DateCreated to the current date/time as a default requires that you set the node value via script in the OnLoad event.

Drag the Title, Text, Description, Key and Is Active fields to the form canvas.

Choose to fill out the form.

Submit.

Et voila - a new log entry.

No Comments