kay_angelica
2012-06-24 02:35:33 UTC
I tried to inject a custom transformer (Message ??? SoapMessage(xml)) as follows, and to take out Soap message to solve a problem, but a getter was not found.
<br /><br />
After all it seems to support only SOAP/HTTP and SOAP/HTTPS in present Mule.
<br /><br />
flow is:
<br />
<a href="Loading Image... rel="nofollow"><img alt="" src="Loading Image... /></a>
<br /><br />
code is:
<br />
<code>
<br />
package hoge;
<br /><br />
import org.mule.api.MuleMessage;
<br />
import org.mule.api.transformer.TransformerException;
<br />
import org.mule.module.xml.transformer.AbstractXStreamTransformer;
<br /><br />
public class TestTransformer extends AbstractXStreamTransformer {
<br /><br />
@Override
<br />
public Object transformMessage(MuleMessage src, String outputEncoding)
<br />
throws TransformerException {
<br />
// TODO: I cannot take out Soap-xml..
<br />
// src.getPayload() ??
<br />
return src;
<br />
}
<br />
}
<br />
</code>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
<br /><br />
After all it seems to support only SOAP/HTTP and SOAP/HTTPS in present Mule.
<br /><br />
flow is:
<br />
<a href="Loading Image... rel="nofollow"><img alt="" src="Loading Image... /></a>
<br /><br />
code is:
<br />
<code>
<br />
package hoge;
<br /><br />
import org.mule.api.MuleMessage;
<br />
import org.mule.api.transformer.TransformerException;
<br />
import org.mule.module.xml.transformer.AbstractXStreamTransformer;
<br /><br />
public class TestTransformer extends AbstractXStreamTransformer {
<br /><br />
@Override
<br />
public Object transformMessage(MuleMessage src, String outputEncoding)
<br />
throws TransformerException {
<br />
// TODO: I cannot take out Soap-xml..
<br />
// src.getPayload() ??
<br />
return src;
<br />
}
<br />
}
<br />
</code>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email