dkulp,thank you very much.
chengy wrote: > > Service > Description:http://www.webxml.com.cn/WebServices/RandomFontsWebService.asmx?wsdl > > My code like this: > > URL url = new > URL("http://www.webxml.com.cn/WebServices/RandomFontsWebService.asmx?wsdl"); > QName s = new QName("http://WebXml.com.cn/", "RandomFontsWebService"); > QName get = new QName("http://WebXml.com.cn/", > "RandomFontsWebServiceHttpGet");//soap binding is ok > > QName post = new QName("http://WebXml.com.cn/", > "RandomFontsWebServiceHttpPost");//return the same as get > > Client c = DynamicClientFactory.newInstance().createClient(url, s, get); > Object[] obj = c.invoke("getChineseFonts", new Object[] { "5" }); > > The content field of (cn.com.webxml.ArrayOfString)response obj[0] is > null.I find cxf use a XMLBindingFactory instead of HttpBindingFactory, In > my opinion,it should be a HttpBindingFactory,HttpBindingFactory can add > URIParameterOutInterceptor,then encode iri,but XMLBindingFactory cannt.Is > there something wrong with cxf? > -- View this message in context: http://old.nabble.com/Why-cxf-use-XMLBindingFactory%2Cbut-not-HttpBindingFactory--tp27088418p27121015.html Sent from the cxf-user mailing list archive at Nabble.com.
