On Monday 28 April 2008, heyhero wrote: > Hi, > > Is there any possibility that i can write the client code using CXF > Generated artifacts. > > Without providing the WSDL file to the client at runtime, only by > using the generated artifcats, can i send a request?
Yes. In general, if you supply "null" for the wsdl location for the constructor of the Service object, we won't have a wsdl to use and we'll just use the annotations. That said, you WILL need to set an address to send the request to: ((BindingProvider)proxy).getRequestContext().put( BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url); Normally, that is pulled from the WSDL, but without a wsdl, you'll need to specify it. Dan > Please let me know. > > Thanks, > NARENDRA -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
