Yes , I tried , it was correct. But why it gives the problem when use jaxbri
On Wed, Jun 13, 2012 at 4:00 PM, Sagara Gunathunga < [email protected]> wrote: > Can you try with default ADB data binding ? > > Thanks ! > > On Wed, Jun 13, 2012 at 11:32 AM, Harsha Thirimanna > <[email protected]> wrote: > > hi > > When i generate Serverside code , with 'uw' option , it gave the wrong > java > > code for 'MessageReciveInOut' class. > > > > if("getHotelDetailForHotels".equals(methodName)){ > > > > lk.harsha.xsd.hoteldetail.response.HotelDetailResponse > > hotelDetailResponse18 = null; > > > > lk.harsha.xsd.hoteldetail.request.GetHotelDetailForHotels wrappedParam = > > > > (lk.harsha.xsd.hoteldetail.request.GetHotelDetailForHotels)fromOM( > > > > msgContext.getEnvelope().getBody().getFirstElement(), > > > > lk.harsha.xsd.hoteldetail.request.GetHotelDetailForHotels.class, > > > > getEnvelopeNamespaces(msgContext.getEnvelope())); > > > > hotelDetailResponse18 = > > > > > > > > wrapgetHotelDetailForHotels(); > > > > > > > > > > > > skel.getHotelDetailForHotels( > > > > > > getRequestBase(wrappedParam) > > , > > > > getHotels(wrappedParam) > > ) > > ; > > > > envelope = > > toEnvelope(getSOAPFactory(msgContext), hotelDetailResponse18, false, new > > javax.xml.namespace.QName("http://www.travco.co.uk/", > > > > "getHotelDetailForHotels")); > > } > > > > I have Attached Complete Source File Here. > > > > There are the compile error , we can see it , it is wrong code. > > > > I used this command to generate the codes > > > > > > wsdl2java -d jaxbri -ssi -R resources -s -sd -ss -uw -o ../ -uri > > HotelDetailService.wsdl > > > > > > what should i do for this ? > > > > Thanks > > Harsha > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > -- > Sagara Gunathunga > > Blog - http://ssagara.blogspot.com > Web - http://people.apache.org/~sagara/ > LinkedIn - http://www.linkedin.com/in/ssagara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
