On 6/14/07, robert lazarski <[EMAIL PROTECTED]> wrote:
Rick, to send a byte array is easy. Try the following:
ArrayList args = new ArrayList();
String hello = "hello";
args.add(hello.getBytes());
OMElement response = sender.invokeBlocking(operationName, args.toArray());
Hint: POJO's use the RPCMessageReceiver. There are unit tests for all the
receivers. So 'use the source' ;-) .
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java?revision=526324&view=markup
Thanks Robert (and others) for the help. So am I too assume you can't
just use wsdl2java to create client stubs that will work for sending a
byte[]? I was assuming I could take the easy way out of simply
generating easy to use stubs - apparently I now have to learn more
about what's really going on 'behind the scenes' and send it in a more
low-level way?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]