On Friday, May 13, 2011 6:23:07 AM [email protected] wrote: > Hi, > Sorry for long gap between mails, but I was on holiday. > In the attachment you have sample created by me. > Obviously the real schema is much more complicated, but faces the same > problem: there is neither schema, nor link to schema in wsdl. I XFire > implementation, all schema files were published on the server. > I know, that this sample may contain some errors and misunderstandings of > CXF philosophy, because its my very beginning in apache CXF. > Thanks for your help
The schemas are actually in the wsdl, just in the secondary wsdl that the first wsdl imports. This is due to you not having the targetnamespace attribute on all the @WebService annotations. You need to put it on both the interface and the impl and make sure they match. This is per JAX-WS spec. Dan > Regards > Aleksander > > 2011/4/29 Daniel Kulp <[email protected]> > > > On Friday, April 29, 2011 9:20:14 AM [email protected] wrote: > > > Hi there, > > > I'm porting application from XFire to CXF (xmlbeans databinding) and I > > > > see, > > > > > that cxf, opposite to xfire, does not includes schemas in wsdl. Is > > > there any way to achieve xsd schema via webservice? Currently i get > > > only namespace. XFire gives me wsdl with port description and also > > > full schma of arguments and response. > > > Thanks in advance > > > > It should provide the full schema and we have a testcase that shows it > > working. Is there anyway you could create a small testcase? > > > > > > -- > > Daniel Kulp > > [email protected] > > http://dankulp.com/blog > > Talend - http://www.talend.com -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
