Raghu, I use the default databinding i.e. ADB. I typically build a service and expose it and let Axis2 generate my wsdl for me. This is actually working back.
I'll try it and let you know... Thanks a lot! Samir --- Raghu Upadhyayula <[EMAIL PROTECTED]> wrote: > Samir, > > Yes, it worked for me. > > I used the WSDL2Java with -sp option to generate the > server code. > > What data binding are you using? > > If you are using ADB, then you have to replace all > the request & > response classes. > > Thanks > Raghu > -----Original Message----- > From: samir shaikh [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 13, 2007 10:50 AM > To: axis-user@ws.apache.org > Subject: RE: [Axis2] trimming down the xml in axis2 > 1.3 > > Raghu, > > I see in the archives that you ran into the same > problem as this. Did wsdl2java with -sp work for > you? > > Samir > > --- Raghu Upadhyayula <[EMAIL PROTECTED]> > wrote: > > > Samir, > > > > WSDL2Java can also be used to generate serverside > > code. Check > > WSDL2Java options, to create serverside code you > > need to specify the > > options -ss -sd -ssi (check the description for > > these options in > > WSDL2Java) > > > > You can use -sp option with WSDL2Java when you > > generate the serverside > > code in which case the namespace is suppressed on > > the serverside. > > > > Thanks > > Raghu > > > > -----Original Message----- > > From: samir shaikh [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 12, 2007 5:31 PM > > To: axis-user@ws.apache.org > > Subject: Re: [Axis2] trimming down the xml in > axis2 > > 1.3 > > > > Martin, > > > > You mean using QName in the client code? > > > > I'm trying to tune my server to not send back > > excessive xml. I cannot change the xml I send back > > to > > my clients. the extra "ns:" is causing me trouble > > after upgrading from axis2 1.1.1 to axis2 1.3 e.g. > > <ns:fieldName>0</ns:fieldName>. My clients expect > > <fieldName>0</fieldName>. > > > > Samir > > > > --- Martin Gainty <[EMAIL PROTECTED]> wrote: > > > > > you can always use null..e.g. > > > QName paramQName = new QName("", paramName); > > > > > > M-- > > > ----- Original Message ----- > > > From: "samir shaikh" <[EMAIL PROTECTED]> > > > To: <axis-user@ws.apache.org> > > > Sent: Wednesday, December 12, 2007 7:20 PM > > > Subject: RE: [Axis2] trimming down the xml in > > axis2 > > > 1.3 > > > > > > > > > > Raghu, > > > > > > > > Thanks for your help. I tried that out but I > > want > > > to > > > > suppress it on the server. I think WSDL2Java > is > > > for > > > > generating a client, right? > > > > > > > > I'm hoping to find some configuration in > > > services.xml > > > > or axis2.xml... any idea? > > > > > > > > Samir > > > > > > > > > > > > --- Raghu Upadhyayula > > <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > Samir, > > > > > > > > > > Try WSDL2Java with -sp option to suppress > the > > > > > namespace prefix. > > > > > > > > > > Thanks > > > > > Raghu > > > > > > > > > > -----Original Message----- > > > > > From: samir shaikh > > [mailto:[EMAIL PROTECTED] > > > > > Sent: Wednesday, December 12, 2007 2:20 PM > > > > > To: axis-user@ws.apache.org > > > > > Subject: [Axis2] trimming down the xml in > > axis2 > > > 1.3 > > > > > > > > > > Hi, > > > > > > > > > > I'm trying to trim down the xml exchanged > when > > > using > > > > > a > > > > > axis2 client and server. Is there a way I > can > > > > > configure the serializer to not prefix > > namespace > > > > > with > > > > > every element e.g. > > > <ns:errorCode>0</ns:errorCode> > > > > > can > > > > > just be <errorCode>0<errorCode>. Also not > send > > > back > > > > > the additional headers and field types with > > each > > > > > call. > > > > > I was able to do that in Axis1.3 with the > wsdd > > > file. > > > > > Can someone point me to where that is done > in > > > Axis2. > > > > > > > > > > Thanks a lot. > > > > > > > > > > Samir > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > > > > ____________ > > > > > Be a better friend, newshound, and > > > > > know-it-all with Yahoo! Mobile. Try it now. > > > > > > > > > > > > > > > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > === message truncated === ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]