Free Support Forum - aspose.com

Advice needed

I am using aspose.words to the conversion from a template to docx and pdf..

When i am trying to pass the converted doc in the form of byte array to another wcf service i am getting an error like "Bad Request". Can you please advice m like how i can pass byte arrays to a web service.

Hi there,

Thanks for your inquiry.

First please make sure you are serializing your document object using the same method as described here.

If that does not help, try enabling debugging and see if there is any exception or problem with the code.

Let us know how this goes for you.

Thanks,