My (cxf, aegis) webservice can be called successfully from .net.

Using something like
    ClientProxyFactoryBean sf = new JaxWsProxyFactoryBean();
    sf.setServiceClass(IInstallerService.class);

    AegisDatabinding db = new AegisDatabinding();
    sf.getServiceFactory().setDataBinding(db);
   
    sf.setAddress(url);
    IInstallerService service = (IInstallerService) sf.create();

    service.someMethod("asdf", ...)

Gets null parameters. The SOAP message that CXF sends is :

<soap:Body>
<ns1:executeCommand
xmlns:ns1="http://interfaces.installer.services.commons.cswgroup.com/";>
<ns1:arg0>woot</ns1:arg0><ns1:arg1 />
</ns1:executeCommand>
</soap:Body>

The .net (working) version is

<soap:Body>
<executeCommand
xmlns="http://interfaces.installer.services.commons.cswgroup.com/";>
<arg0 xmlns="">abc</arg0>
<arg1 xmlns="" />
</executeCommand>
</soap:Body>

The key being the xmlns="" parts. Is there some configuration option that
I've missed ?

-- 
View this message in context: 
http://www.nabble.com/CXF-client-sending-wrong-namespaces-tp18612764p18612764.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to