Shashi, CXF should generate a portType in there, but it MAY be in an imported wsdl. Check the generated wsdl for any <import> tags and see if it's in one of those.
If you add targetNamespace attributes to any @WebService annotations, you can probably fix it to put everything in a single wsdl. Dan On Wednesday 08 October 2008, bhukum wrote: > Hi, > > I have exposed a spring pojo service as webservice using CXF. > > I am trying to create a BPEL process using Apache ODE and consume the > above service. However when I look at the samples given in ODE, I find > some differences in the WSDL which is autogenerated by CXF for my > service. To be precise the autogenerated WSDL doesn't contain the > portType element in it. > > However BPEL would require portType element for creating the > partnerLink. Am I going wrong somewhere. I would appreciate any help > in this regard. > > Thanks in advance, > Shashi -- J. Daniel Kulp [EMAIL PROTECTED] http://www.dankulp.com/blog
