dear all:
i want to ignore soap namespace,

i receive a message from axis2 client :
<soapenv:Body>
<ns2:subscribeServCfm 
xmlns:ns2="http://www.chinamobile.com/vgop/serviceorder/v1_0";>
<ns2:subscribeServCfmReq>
<ns1:msgTransactionID 
xmlns:ns1="http://www.chinamobile.com/vgop/serviceorder/v1_0/common";>555</ns1:msgTransactionID>
<ns1:oprTime 
xmlns:ns1="http://www.chinamobile.com/vgop/serviceorder/v1_0/common";>20121011094323</ns1:oprTime>
<ns1:cfmResult 
xmlns:ns1="http://www.chinamobile.com/vgop/serviceorder/v1_0/common";>00</ns1:cfmResult>
</ns2:subscribeServCfmReq>
</ns2:subscribeServCfm>
</soapenv:Body>
then cxf thrwo exception 
 Interceptor for {http://main.ehealth.funo.com/}UserOrderServer#{http://mai
n.ehealth.funo.com/}subscribeServCfm has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Unexpected wrapper element {http://www.chinamo
bile.com/vgop/serviceorder/v1_0}subscribeServCfm found.   Expected {http://main.
ehealth.funo.com/}subscribeServCfm.

when i use cxf client, it works fine ,the message is that :
<ns3:subscribeServCfm 
xmlns:ns2="http://www.chinamobile.com/vgop/serviceorder/v1_0"; 
xmlns:ns3="http://main.ehealth.funo.com/";>
<subscribeServCfmReq>
<cfmResult>00</cfmResult>
<msgTransactionID>qq</msgTransactionID>
<oprTime>123</oprTime>
</subscribeServCfmReq>
</ns3:subscribeServCfm>



so i want to ignore the namespace , i have google the answer  , ti try 
@EndpointProperty(key = "soap.no.validate.parts", value = "true")  but it not 
work,
how could do to solve the problem?



cantalou89

Reply via email to