I tried sending byte codes to server application (deployed as a Web Service) as a method argument which returned SAXParserException. I believe wrapping up the class file into a String object would require Base64 encoding which I am looking into. My question is whether encoding will the right way or I must try sending byte codes as an attachment? Or something else?
My goal is to load the bytecode on a server which is deployed as a Web Service. This dynamically loaded bytecode will be then invoked from another client.
Thanks. Base64 worked fine and .class file is now able to download on the server site. Infact, I am using AXIS where encoding and decoding part is taken care by the underlying system. I just had to specify the argument as XSD_BASE64 and everything was taken care of.