Use the SOAP binding. The HttpGet stuff is not really supported by CXF at all.
Dan On Sat January 9 2010 7:49:11 am 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 > 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, > is the some thing wrong with the service? > -- Daniel Kulp [email protected] http://www.dankulp.com/blog
