After a bit of research I can now better ask my question:
How do I obtain the MessageContext object from on the client stub.
I have seen some documentation about using:
*
stub._getServiceContext().getCurrentOperationContext().getMessageContext("In");
*
but this does not apply for axis version 1.5.3
Anyone have any other suggestions ?
Thanks,
..Chris
On Wed, Dec 8, 2010 at 12:28 PM, Christopher Johnson <[email protected]>wrote:
> All -
>
> I've used WSDL2Java to create a client to a service that accepts
> attachments.
>
> How do I go about adding attachments to the message using the API generated
> to the service made with WSDL2Java -uri xxx
>
> Are their hooks in the build api's to access the Message Context for this
> type of thing, or do I have to hand edit the API to support these operations
> ?
>
> Thanks,
>
> ..Chris
>