I got this log in my transport factory on the getConduit()...
 
 targetInfo=BindingQName={http://services.xyz.acme.com/}XyzServiceSoapBinding, 
ServiceQName={http://services.xyz.acme.com/}XyzService, 
QName={http://services.xyz.acme.com/}XyzServicePort
 
The question is, where did that BindingQName came from?  How did CXF determine 
the BindingQName?
 
I use the below client-side code to create a simple front-end to the service:
 
            ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
            factory.setServiceClass(XyzService.class);
            factory.setAddress("Holala");
            factory.setDataBinding(new 
org.apache.cxf.aegis.databinding.AegisDatabinding());
            factory.setTransportId("http://acme.com/mytransports/abc";);
 
On the server-side, I use the following:
 
    <simple:server id="xyzWebService"
                   serviceClass="com.acme.xyz.services.XyzService"
                   address="/xyzService">
        <simple:serviceBean>
            <ref bean="xyzService"/>
        </simple:serviceBean>
        <simple:dataBinding>
            <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
        </simple:dataBinding>
    </simple:server>
 
Thanks...



Reply via email to