RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Thanks for the response. nbsp; 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). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; 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…. nbsp; 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 nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; 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
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 http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email.
Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
I had experienced this in the past, but dint have the time to fully understand the issue. I was seeing this problem when one of the webservice methods were returning an object of class which extends another class. I had overcome it by making the parent class object a data member of the child class instead of the inheritance. Although this fixed and get me going forward with the class assignment, i wasnt fully happy with the solution. One of the other webservice methods also returned another class object, which also extended another class. In this case i dint see any problems, accessing it through the stubs. It was only in the case of the other. I had compared the WSDL file for differences in the defintion of the both complex types but couldnt find any difference. Im still not sure why it worked in one and dint work in theother. Both the classes had similar primitive types. Hopefully, someone else can shed some more light on this error. Jyotsna Varma [EMAIL PROTECTED] wrote: 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.
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 lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; 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. nbsp; 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 nbsp; Thanks for the response. nbsp; 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). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; wrote: From: Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; 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…. nbsp; 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 nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; 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 lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; 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 lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; 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. nbsp; 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 nbsp; Thanks for the response. nbsp; 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). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; wrote: From: Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; 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…. nbsp; 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 nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; 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: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Hi Jyotsna, Use tcpmon to see what request you are sending what is the response you are receiving back from the webservice and post it to the forum so that we can take a look at it and see if the request / response has any issue. Thanks Raghu From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 9:34 AM To: axis-user@ws.apache.org Subject: 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 http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email.