axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vjeran Marcinko" <>
Subject Handling attachments on client side?
Date Wed, 19 Jan 2005 07:32:34 GMT

I don't know is it me, but I cannot find in user guide, or samples, some
example on how to handle attachments (client side)... And I don't want
handling on low-level (Call instance etc..), but on stubs generated by
Let's say that I generated following SendMessagePort from some publicly
available WSDL, and I use it in some method like :

public void myMethod() {
  SendMessageService service = new SendMessageServiceLocator();
  SendMessagePort sendMessagePort = service.getSendMessagePort(new
  ....somehow add request attachments ?
  // executing call...
  .....somehow read response attachments?

I tried to handle this attachments with through MessageContext instance, but
static method MessageContext.getCurrentMessageContext() returns null, so I
think it's not the way I guessed at first.

Any help?


No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17.1.2005

View raw message