Issue while creating webservice

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

kanchana
Posts: 2
Joined: Fri Nov 29, 2013 5:50 am

Issue while creating webservice

Post by kanchana »

Hi
we installed openemm 2013 in ubuntu..while I am trying to create the wsdl file using the following command
./EmmCreateWSDL.sh -o ws2.wsdl -l "http://localhost:8080/emm_webservice" -n "http://localhost:8080/emm_webservice" -w ALL org.agnitas.webservice.EmmWebService_Port we are getting the following errors

Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/ExtensibilityElement
at org.apache.axis.wsdl.Java2WSDL.createEmitter(Java2WSDL.java:279)
at org.apache.axis.wsdl.Java2WSDL.<init>(Java2WSDL.java:270)
at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:680)
Caused by: java.lang.ClassNotFoundException: javax.wsdl.extensions.ExtensibilityElement
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more
since we are using openemm.class.php to connect to the openemm please let us know how to resolve this.

Regards
Kanchana
maschoff
Site Admin
Posts: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Issue while creating webservice

Post by maschoff »

Syntax according to documentation:

Code: Select all

./EmmCreateWSDL.sh -o ws.wsdl -l "http://yourdomain:8080/emm_webservice"  -n "urn:agnitas-webservice" -w ALL org.agnitas.webservice.EmmWebService_Port
OpenEMM Maintainer
kanchana
Posts: 2
Joined: Fri Nov 29, 2013 5:50 am

Re: Issue while creating webservice

Post by kanchana »

We Even used the above command but we are getting the same error. like

Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/ExtensibilityElement
at org.apache.axis.wsdl.Java2WSDL.createEmitter(Java2WSDL.java:279)
at org.apache.axis.wsdl.Java2WSDL.<init>(Java2WSDL.java:270)
at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:680)
Caused by: java.lang.ClassNotFoundException: javax.wsdl.extensions.ExtensibilityElement
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 3 more

Please help with the issue
Post Reply