application to use SAP adaptor

I have an web application, which i want to send a SAP IDoc file to webMethod, and let webMethod to validate the IDoc file and do some processing, finally webMethod should return the processed data, in XML file format, back to my application.

Currently, I have installed webMethod 6.1 and SAP adapter.

What should i do to achieve my goal?

I have tried the pub.sap.idoc:decodeString. But since i don’t have a SAP server, i can’t use this api to validate the inbound IDoc file. Does anyone know there is another way to solve it?