wsdl
Hi, I am new to the web services and so as to axis. Please help me. I have to show something this week. I have been working to sort this out since last 4 days. I am sorry to say this. I have an existing web application. To use axis in existing application, I have done : 1.copy all jars from axis.lib directory 2.copy axis's web.xml servlet params and mapping to to my web.xml I have got a wsdl url from an external application (to be integrated with my application) Now what should I do to use this wsdl to access the external application ? Please kind enough to me. Many Thanks, __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: wsdl
Thanks Paul for the quick reply. I have got axis-bin-1_4. In which directory I should run this ? I have done an advnced installation http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp Thank you very much, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 4:23 PM You need to run bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o directory\where\you\want\the\code\generated This will create a "stub" which is a class you can embed in your application. You simply need to create a new instance of this class and then call methods on it, those methods will call the remote service. Paul On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am new to the web services and so as to axis. Please help me. > > I have to show something this week. I have been working to sort this out > since last 4 days. > > I am sorry to say this. > > > > I have an existing web application. To use axis in existing application, > > I have done : > > 1.copy all jars from axis.lib directory > > 2.copy axis's web.xml servlet params and mapping to to my web.xml > > > > I have got a wsdl url from an external application (to be integrated with my > application) > > Now what should I do to use this wsdl to access the external application ? > > Please kind enough to me. > > > > Many Thanks, > > > > > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: wsdl
I am using netbeans with ant to build the web application. --- On Wed, 4/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org Date: Wednesday, 4 June, 2008, 4:56 PM Thanks Paul for the quick reply. I have got axis-bin-1_4. In which directory I should run this ? I have done an advnced installation http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp Thank you very much, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 4:23 PM You need to run bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o directory\where\you\want\the\code\generated This will create a "stub" which is a class you can embed in your application. You simply need to create a new instance of this class and then call methods on it, those methods will call the remote service. Paul On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > Hi, > > > > I am new to the web services and so as to axis. Please help me. > > I have to show something this week. I have been working to sort this out > since last 4 days. > > I am sorry to say this. > > > > I have an existing web application. To use axis in existing application, > > I have done : > > 1.copy all jars from axis.lib directory > > 2.copy axis's web.xml servlet params and mapping to to my web.xml > > > > I have got a wsdl url from an external application (to be integrated with my > application) > > Now what should I do to use this wsdl to access the external application ? > > Please kind enough to me. > > > > Many Thanks, > > > > > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: wsdl
Thanks Paul. I am downloading it. But I am not sure whether the external system accepts axis2. I will try. External system's documentation tells that it works with Axis 1.3. But it is an old documant. They must have updated it. Let me come back. --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: wsdl
Thank you. I run wsdl2java in Axis2 1.3 version. But I am getting error :- Caused by: javax.wsdl.WSDLException: WSDLException (at /html): faultCode=INVALID_WSDL: Expected element '{http://schemas .xmlsoap.org/wsdl/}definitions'. at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:286) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:105) ... 2 more I don't understand whats the cause of this error ? Is something missing in wsdl document? --- On Wed, 4/6/08, Martin Gainty <[EMAIL PROTECTED]> wrote: From: Martin Gainty <[EMAIL PROTECTED]> Subject: RE: wsdl To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Wednesday, 4 June, 2008, 5:20 PM #yiv112315369 .hmmessage P { margin:0px;padding:0px;} #yiv112315369 .hmmessage { FONT-SIZE:10pt;FONT-FAMILY:Tahoma;} There are many reasons to adopt Axis2 Ability to use Axis Object Model to represent all of your entities (Axiom) Ability to incorporate more databinding types ADB, XMLBEANS, JIBX, JAXBRI Ability to engage or disengage AOP modules security, addressing, logging Ability to upload services without disrupting other services Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Wed, 4 Jun 2008 11:37:09 + From: [EMAIL PROTECTED] Subject: Re: wsdl To: axis-user@ws.apache.org Thanks Paul. I am downloading it. But I am not sure whether the external system accepts axis2. I will try. External system's documentation tells that it works with Axis 1.3. But it is an old documant. They must have updated it. Let me come back. --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> &g
Re: wsdl
Thanks Paul. Now I think I am able to build stub classes. Thank you very much for your help. --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space
Hi, I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. Thanks, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space
I am using axis2 1.3 version with java-1.5 and tomcat-5.5.17 Please help me. --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 1:25 PM Hi, I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. Thanks, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
Thanks Sanjay for the reply. I hope this won't affect any other application running ... --- On Thu, 5/6/08, Sanjay Vivek <[EMAIL PROTECTED]> wrote: From: Sanjay Vivek <[EMAIL PROTECTED]> Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:00 PM You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: java -Xms128m -Xms256m Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. Thanks, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > Sent from Yahoo! Mail. > A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
I am getting the java.lang.OutOfMemoryError error when I compile the web application using ant . Why is it ? --- On Thu, 5/6/08, Sanjay Vivek <[EMAIL PROTECTED]> wrote: From: Sanjay Vivek <[EMAIL PROTECTED]> Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:27 PM You can set the heap size for a specific program in the following manner: java -Xms128m -Xms256m MyClassName Cheers Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 09:37 To: Sanjay Vivek; axis-user@ws.apache.org Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space Thanks Sanjay for the reply. I hope this won't affect any other application running ... --- On Thu, 5/6/08, Sanjay Vivek <[EMAIL PROTECTED]> wrote: From: Sanjay Vivek <[EMAIL PROTECTED]> Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:00 PM You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: java -Xms128m -Xms256m Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. Thanks, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
RE: [Resolved] wsdl2java - java.lang.OutOfMemoryError: Java heap space
I think I have solved this problem by increasing the heap size in netbeans (I am usinf netbeans) conf. Thank you for your support. --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 3:03 PM I am getting the java.lang.OutOfMemoryError error when I compile the web application using ant . Why is it ? --- On Thu, 5/6/08, Sanjay Vivek <[EMAIL PROTECTED]> wrote: From: Sanjay Vivek <[EMAIL PROTECTED]> Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:27 PM You can set the heap size for a specific program in the following manner: java -Xms128m -Xms256m MyClassName Cheers Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 09:37 To: Sanjay Vivek; axis-user@ws.apache.org Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space Thanks Sanjay for the reply. I hope this won't affect any other application running ... --- On Thu, 5/6/08, Sanjay Vivek <[EMAIL PROTECTED]> wrote: From: Sanjay Vivek <[EMAIL PROTECTED]> Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:00 PM You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: java -Xms128m -Xms256m Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. Thanks, --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: From: Paul Fremantle <[EMAIL PROTECTED]> Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: > > Thanks Paul for the quick reply. > > I have got axis-bin-1_4. In which directory I should run this ? I have done > an advnced installation > http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp > > > > Thank you very much, > > > > --- On Wed, 4/6/08, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > From: Paul Fremantle <[EMAIL PROTECTED]> > Subject: Re: wsdl > To: axis-user@ws.apache.org, [EMAIL PROTECTED] > Date: Wednesday, 4 June, 2008, 4:23 PM > > You need to run > > bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o > directory\where\you\want\the\code\generated > > This will create a "stub" which is a class you can embed in your > application. You simply need to create a new instance of this class > and then call methods on it, those methods will call the remote > service. > > Paul > > On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma <[EMAIL PROTECTED]> > wrote: >> Hi, >> >> >> >> I am new to the web services and so as to axis. Please help me. >> >> I have to show something this week. I have been working to sort this out >> since last 4 days. >> >> I am sorry to say this. >> >> >> >> I have an existing web application. To use axis in existing application, >> >> I have done : >> >> 1.copy all jars from axis.lib directory >> >> 2.copy axis's web.xml servlet params and mapping to to my web.xml >> >> >> >> I have got a wsdl url from an external application (to be integrated with > my >> application) >> >> Now what should I do to use this wsdl to access the external application ? >> >> Please kind enough to me. >> >> >> >> Many Thanks, >> >> >> >> >> >> >> Sent from Yahoo! Mail. >> A Smarter Email. > > > > -- > Paul Fremantle > Co-Founder and CTO,
org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. >From one of class I am trying to accesss the methods from stub class (just to >test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai <[EMAIL PROTECTED]> wrote: From: Perez Arbulu, Ibai <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
i am trying to attach the class, but failing... its a big one... let me try once more... --- On Thu, 5/6/08, Perez Arbulu, Ibai <[EMAIL PROTECTED]> wrote: From: Perez Arbulu, Ibai <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. >From one of class I am trying to accesss the methods from stub class (just to >test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai < [EMAIL PROTECTED] > wrote: From: Perez Arbulu, Ibai < [EMAIL PROTECTED] > Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Please anybody help me... How can I read data using the stub classes ? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 9:43 PM please find the attached stub class --- On Thu, 5/6/08, Perez Arbulu, Ibai <[EMAIL PROTECTED]> wrote: From: Perez Arbulu, Ibai <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. >From one of class I am trying to accesss the methods from stub class (just to >test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai < [EMAIL PROTECTED] > wrote: From: Perez Arbulu, Ibai < [EMAIL PROTECTED] > Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
stub class
Hi, Let me ask one more doubt... how many classes will be generated by the wsdl2java ? I got only 2 classes, one stub class and an handler class. I am using axis2 1.3 Sorry if its a stupid question Thanks, --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 9:43 PM please find the attached stub class --- On Thu, 5/6/08, Perez Arbulu, Ibai <[EMAIL PROTECTED]> wrote: From: Perez Arbulu, Ibai <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. >From one of class I am trying to accesss the methods from stub class (just to >test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai < [EMAIL PROTECTED] > wrote: From: Perez Arbulu, Ibai < [EMAIL PROTECTED] > Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: stub class
Please can you help me ? --- On Fri, 6/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: stub class To: axis-user@ws.apache.org Date: Friday, 6 June, 2008, 2:51 AM Hi, Let me ask one more doubt... how many classes will be generated by the wsdl2java ? I got only 2 classes, one stub class and an handler class. I am using axis2 1.3 Sorry if its a stupid question Thanks, --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 9:43 PM please find the attached stub class --- On Thu, 5/6/08, Perez Arbulu, Ibai <[EMAIL PROTECTED]> wrote: From: Perez Arbulu, Ibai <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. >From one of class I am trying to accesss the methods from stub class (just to >test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai < [EMAIL PROTECTED] > wrote: From: Perez Arbulu, Ibai < [EMAIL PROTECTED] > Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma <[EMAIL PROTECTED]> wrote: From: Jyotsna Varma <[EMAIL PROTECTED]> Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: unexpected sub element Code
Thanks Rushikesh for the response. I was trying to access XMLStreamReader xmlreader = q.getPullParser(new QName("qname")); One thing, to be honest I am not sure whether I am accessing the methods in a right way... the following is code I have (to test whether its working properly) DSTI_PROJECT_CLIENTSQueryServiceStub.Auth auth = new DSTI_PROJECT_CLIENTSQueryServiceStub.Auth (); auth.setUsername("60839"); auth.setPassword("letmein"); DSTI_PROJECT_CLIENTSQueryServiceStub stub = new DSTI_PROJECT_CLIENTSQueryServiceStub("http://nikuuat:8080/niku/wsdl/Query/DSTI_PROJECT_CLIENTS";); DSTI_PROJECT_CLIENTSQueryServiceStub.DSTI_PROJECT_CLIENTSQuery q = new DSTI_PROJECT_CLIENTSQueryServiceStub. DSTI_PROJECT_CLIENTSQuery(); q.setCode("1"); Logger.getLog().debug(" code: "); DSTI_PROJECT_CLIENTSQueryServiceStub.DSTI_PROJECT_CLIENTSFilter filt = new DSTI_PROJECT_CLIENTSQueryServiceStub.DSTI_PROJECT_CLIENTSFilter(); filt.setProj_ref("EQM_TEST"); q.setFilter(filt); Logger.getLog().debug(" ! !"+rs.getRecords().getRecord().length); XMLStreamReader xmlreader = q.getPullParser(new QName("qnameurl")); DSTI_PROJECT_CLIENTSQueryServiceStub. DSTI_PROJECT_CLIENTSRecord.isReaderMTOMAware(xmlreader); DSTI_PROJECT_CLIENTSQueryServiceStub. DSTI_PROJECT_CLIENTSRecord record = DSTI_PROJECT_CLIENTSQueryServiceStub. DSTI_PROJECT_CLIENTSRecord.Factory.parse(xmlreader); Logger.getLog().debug("proj ref: "+record.getProj_ref()); DSTI_PROJECT_CLIENTSQueryServiceStub.DSTI_PROJECT_CLIENTSRecords.Factory.parse(xmlreader); STI_PROJECT_CLIENTSQueryServiceCallbackHandler callback = new DSTI_PROJECT_CLIENTSQueryServiceCallbackHandler(){ public void receiveResultechoString (DSTI_PROJECT_CLIENTSQueryServiceStub.DSTI_PROJECT_CLIENTSRecord rlt) { Logger.getLog().debug("proj ref: "+rlt.getProj_ref()); //EXTClarityDao.getInstance().receiveResultQuery(rl); } }; stub.startQuery(q.getCode(), filt, auth, callback); --- On Mon, 9/6/08, Rushikesh Thakkar <[EMAIL PROTECTED]> wrote: From: Rushikesh Thakkar <[EMAIL PROTECTED]> Subject: Re: unexpected sub element Code To: axis-user@ws.apache.org Date: Monday, 9 June, 2008, 9:32 PM Can you tell me which operation were you invoking on your webservice while you got this error? This error usually comes when you generate stubs from a WSDL that has a type (defined in 'types 'section) which has not defined the *unexpected subelement*. regards, -Rushikesh On Mon, Jun 9, 2008 at 4:14 PM, Jyotsna Varma <[EMAIL PROTECTED]> wrote: Hi, I am getting the exception ADBException:Unexpected subelement Code. I am using Axis2 1.4 to generate wsdl stub and handler. I have attached stub and handler class that generated using wsdl and the wsdl xml representation. Can you please have a look where I am going wrong to get this exception ? Thanks, Sent from Yahoo! Mail. A Smarter Email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html