java - wsimport : Service Interface with bean as method parameter -
wsimport(http://www.webservicex.com/globalweather.asmx?wsdl) creating source files. service interface(globalweathersoap) doesn't have methods accept bean arguments.
/** * major cities country name(full / part). * * @param countryname * @return * returns java.lang.string */ @webmethod(operationname = "getcitiesbycountry", action = "http://www.webservicex.net/getcitiesbycountry") @webresult(name = "getcitiesbycountryresult", targetnamespace = "http://www.webservicex.net") @requestwrapper(localname = "getcitiesbycountry", targetnamespace = "http://www.webservicex.net", classname = "com.x.test.getcitiesbycountry") @responsewrapper(localname = "getcitiesbycountryresponse", targetnamespace = "http://www.webservicex.net", classname = "com.x.test.getcitiesbycountryresponse") public string getcitiesbycountry(@webparam(name = "countryname", targetnamespace = "http://www.webservicex.net") string countryname);
i want create service interface methods takes bean argument(getcitiesbycountry). 1 please me this.
Comments
Post a Comment