Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Apache Axis: Webservice with Attachment (server-side)

843833Jun 14 2005 — edited May 14 2006
hi, i am running a webservice on apache axis and trying to give a String and an attachment (jpeg image) as response.

for example a really simple webservice:
package testService;

public class Service {
	public String test() {	
		return "ok";
	}
}
how can i add an attachment when the test function is called? i found example code for soap clients adding attachments. but how does it work on the server side?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 11 2006
Added on Jun 14 2005
9 comments
1,389 views