axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charitha Kankanamge <chari...@wso2.com>
Subject Re: axis2 pojo example not working
Date Tue, 26 Jun 2007 15:57:16 GMT
Shiv,
I tried it with axis2server. However as far as I can remember, it worked 
perfectly with tomcat5.*. Will you be able to check it with tomcat or 
standalone axis2server so that the issue can be isolated?

regards
Charitha

Shiv wrote:

> Hi Charitha
>  
> I am also using axis2-1.2.zip. Which servlet container are you using? 
> I am using resin-2.1.10 (yes, the version is  a little old) and we 
> have other apps also running on resin.
>  
> Shiv
>
> */Charitha Kankanamge <charitha@wso2.com>/* wrote:
>
>     Hi Shiv,
>     Which version of axis2 are you running? I just unzipped axis2-1.2.zip
>     and ran pojo sample without such an issue.
>
>     regards
>     Charitha
>
>     Shiv wrote:
>
>     > The out-of-box example of pojo is not working. It's giving runtime
>     > exception when running the client:
>     >
>     > adb.client.jar:
>     > [jar] Building jar:
>     > C:\axis\axis2-1.2\samples\pojo\build\lib\adb-client.ja
>     > r
>     > adb.client.run:
>     > [java] java.lang.RuntimeException: java.lang.RuntimeException:
>     > Unexpected s
>     > ubelement name
>     > [java] at
>     > sample.addressbook.stub.AddressBookServiceAddressBookServiceS
>     > OAP11Port_httpStub.fromOM(Unknown Source)
>     > [java] at
>     > sample.addressbook.stub.AddressBookServiceAddressBookServiceS
>     > OAP11Port_httpStub.findEntry(Unknown Source)
>     > [java] at
>     > sample.addressbook.adbclient.AddressBookADBClient.main(Unknow
>     > n Source)
>     > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>     > Method)
>     > [java] at
>     > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
>     > sorImpl.java:39)
>     > [java] at
>     > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
>     > hodAccessorImpl.java:25)
>     > [java] at java.lang.reflect.Method.invoke(Method.java:324)
>     > [java] at
>     > org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.jav
>     > a:193)
>     > [java] at
>     > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
>     > .java:130)
>     > [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:705)
>     > [java] at
>     > org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177)
>     > [java] at
>     > org.apache.tools.ant.taskdefs.Java.execute(Java.java:83)
>     > [java] at
>     > org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>     > va:275)
>     > [java] at org.apache.tools.ant.Task.perform(Task.java:364)
>     > [java] at org.apache.tools.ant.Target.execute(Target.java:341)
>     > [java] at
>     > org.apache.tools.ant.Target.performTasks(Target.java:369)
>     > [java] at
>     > org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>     > [java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
>     > [java] at
>     > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
>     > ava:106)
>     > [java] at
>     > org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
>     > va:275)
>     > [java] at org.apache.tools.ant.Task.perform(Task.java:364)
>     > [java] at org.apache.tools.ant.Target.execute(Target.java:341)
>     > [java] at
>     > org.apache.tools.ant.Target.performTasks(Target.java:369)
>     > [java] at
>     > org.apache.tools.ant.Project.executeTarget(Project.java:1214)
>     > [java] at
>     > org.apache.tools.ant.Project.executeTargets(Project.java:1062
>     > )
>     > [java] at org.apache.tools.ant.Main.runBuild(Main.java:673)
>     > [java] at org.apache.tools.ant.Main.startAnt(Main.java:188)
>     > [java] at
>     > org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
>     > [java] at
>     > org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
>     > [java] Caused by: java.lang.RuntimeException: Unexpected
>     > subelement name
>     > [java] at
>     > sample.addressbook.stub.AddressBookServiceAddressBookServiceS
>     > OAP11Port_httpStub$Entry$Factory.parse(Unknown Source)
>     > [java] at
>     > sample.addressbook.stub.AddressBookServiceAddressBookServiceS
>     > OAP11Port_httpStub$FindEntryResponse$Factory.parse(Unknown Source)
>     > [java] ... 29 more
>     > BUILD SUCCESSFUL
>     > Total time: 14 seconds
>     >
>     >
>     ------------------------------------------------------------------------
>     > We won't tell. Get more on shows you hate to love
>     >
>     > (and love to hate): Yahoo! TV's Guilty Pleasures list.
>     >
>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>     For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ------------------------------------------------------------------------
> You snooze, you lose. Get messages ASAP with AutoCheck 
> <http://us.rd.yahoo.com/evt=47959/*http://advision.webevents.yahoo.com/mailbeta/newmail_html.html>
> in the all-new Yahoo! Mail Beta. 




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message