How to write Sales order Header and Footer Text through web service

Hi,

I have a custom screen with a Create Sales Order button. As soon as user clicks on the button, I am calling a webservice to create Sales order.

How do I write the Header and Footer text from my Custom screen to Sales order screen using the web service.

Thank you!