You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by RBrinkman <r....@vrijheidslaan.net> on 2006/10/12 13:09:58 UTC
Accessing SOAP attachments from jsr181 Pojo
At this moment we use the SM http component, the SM js181 component and a
POJO to handle a simple SOAP request. When we sent a Mime encoded soap
request with attachments the soap request is handled fine.
I'd like to know how to access the other parts of the soap request from my
POJO method:
package ddb.pojo;
import javax.jbi.component.*;
import javax.jbi.messaging.*;
import org.apache.servicemix.client.*;
public class SimpleService {
private ComponentContext context;
public String Echo(String str) {
// How to access the SOAP attachments here ?
return "Echo -> " + str;
}
public void setContext(javax.jbi.component.ComponentContext context)
{
this.context = context;
}
}
Thank you in advance,
Rob
--
View this message in context: http://www.nabble.com/Accessing-SOAP-attachments-from-jsr181-Pojo-tf2429608.html#a6774198
Sent from the ServiceMix - User mailing list archive at Nabble.com.