tags:

views:

385

answers:

0

Hi All,

I have designed a service to upload a file, based upon the MTOM - Axis-2 support And it works currectly. But now I have to send one more parameter [string data type] to the service but not able to do so.

Code snippet is:

public org.apache.ws.axis2.mtomsample.AttachmentResponse attachment(
  org.apache.ws.axis2.mtomsample.AttachmentRequest param0)
  throws Exception

{

}

here I want to modify the attachment method to take two params like:

public org.apache.ws.axis2.mtomsample.AttachmentResponse attachment( org.apache.ws.axis2.mtomsample.AttachmentRequest param0, String param1) throws Exception

{

} But it doesnt work.

Pelase help...

---Rajneesh