axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsha Thirimanna <harsha.thirima...@gmail.com>
Subject Re: [AXIS2] wsdl2java code generate problem
Date Thu, 14 Jun 2012 05:35:16 GMT
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 <
sagara.gunathunga@gmail.com> wrote:

> Can you try with default ADB data binding ?
>
> Thanks !
>
> On Wed, Jun 13, 2012 at 11:32 AM, Harsha Thirimanna
> <harsha.thirimanna@gmail.com> 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: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

Mime
View raw message