如何在Mule ESB中的拦截器中获取SOAP Body?

时间:2016-11-30 13:23:12

标签: soap mule jax-ws esb mule-esb

ClientSide

var something = RO.hits.hits[0]._source.Biz.Rel[cnt_I].org[cnt_III].mem[cnt_IV].attributter;
var somethingElse = RO.hits.hits[0]._source.Biz.Rel[cnt_I].mem[cnt_III].xsData[cnt_IV].attributes;
for (var cnt_V = 0; cnt_V < something.Count(); ++cnt_V)
{
    if (Convert.ToString(somethingElse[cnt_V].type) == "KEY_VALUES")
    {
        LS_ande = "" + Convert.ToString(somethingElse[cnt_V].values[0].value);
    }
    cnt_V++; 
}

如何从下面的Interceptor中的SOAP响应中获取SOAPBody?

 <cxf:jaxws-client
                        serviceClass="org.example.MyService"
                        port="MyServicePort"
                        operation="MyOperation">
                    <cxf:inInterceptors>
                        <spring:bean class="org.example.MyInInterceptor"/>
                    </cxf:inInterceptors>
                </cxf:jaxws-client>

}

0 个答案:

没有答案