Hi,

I want to call(invoke) a cxfbc-provder which accesses external webservice
from my pojo which is deployed in bean.   The pojo looks something like

        InOut dsExchange1 = jbiClient.createInOutExchange();
        dsExchange1.setService(new
QName("http://www.webserviceX.NET","country";));
        dsExchange1.setInterfaceName(new
QName("http://www.webserviceX.NET","country";));
        dsExchange1.setOperation(new
QName("http://www.webserviceX.NET","GetGMTbyCountry";));
        dsExchange1.getInMessage().setContent(new StreamSource(new
StringReader(
         "<GetGMTbyCountry xmlns=\"http://www.webserviceX.NET";>  
        <CountryName>Canada</CountryName>    
        </GetGMTbyCountry>")));
     
        jbiClient.send(dsExchange1);

       AND HERE IS THE CXF xbean
      <cxfbc:provider
          wsdl="classpath:gmt.wsdl"
          locationURI="http://localhost:8192/GetGMTbyCountry";
          service="webservicex:country"
          endpoint="countrySoap12"
          interfaceName="webservicex:country"
          useJBIWrapper="false"
         />
  
I am getting NULL as a response. Can you PLEASE HELP?      
-- 
View this message in context: 
http://old.nabble.com/accessing-cxfbc-provider-from-a-POJO-tp27244693p27244693.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to