Title: Accessing the XML in the SOAP message body directly
  hi,
I did an example of a clinet attach a document, then receive the same document back from the server. what showld be different in the code if a client want to receive the document from the the service only. 
 
this is the piece of  code to add an attachment:  what showld be different if it is only receiving a file instead of attaching and receiving?
 
if(doTheDIME)
            call.setProperty(call.ATTACHMENT_ENCAPSULATION_FORMAT,
              call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME);
 

        Object ret = call.invoke( new Object[] {
                    dhSource
                }
            ); //Add the attachment.
 
 
thanks,
Aria

Reply via email to