Bhaskerhari,

I got something simile issue when I moved my client code from CXF-2.3.5 to
2.7.8. ( Described here
<http://cxf.547215.n5.nabble.com/CXF-2-7-8-Not-recognize-substitutionGroup-Elements-td5744532.html>
 
)

I did all what you have described, but could not get it resolved. Finally I
found a way to disable validation:

JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
Map<String, Object> props = factory.getProperties();
if(null == props)
{
        props = new HashMap<String, Object>();
}
props.put("soap.no.validate.parts", true);
factory.setProperties(props);

This resolved my issue. 

Thanks,
Kalpa



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-client-with-JaxWsProxyFactoryBean-without-WSDL-is-throwing-ServiceConstructionException-tp5731490p5744544.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to