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 09:40:26 GMT
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 
> <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265>
> (and love to hate): Yahoo! TV's Guilty Pleasures list. 
> <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265> 




---------------------------------------------------------------------
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