- This topic has 11 replies, 4 voices, and was last updated 16 years, 8 months ago by R.Karthic.
-
AuthorPosts
-
supertaffMemberHi All,
Trying out the Example Web Service Project and have been unable to get it to run on either on my PC’s.
I’m running a Tomcat 5.5 server and have set it up as described in the correct chapter of the help.
The HelloWorld App deploys correctyl, but when I try to run it via the Web Service Explorer I get the following error
IWAB0379E Unable to open http://localhost:8080/HelloWorld/services/HelloWorldService?.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: Unexpected end of file from serverI also can’t run it from I.E.
Thanks for any help.
Mark Thomas
The installation info for my PC is
*** Date: Wed Jul 26 22:10:08 BST 2006
*** Platform Details:
*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
catalina.base=/T:/eclipse-SDK-3.2-win32/eclipse/plugins/org.eclipse.tomcat_4.1.130.v20060601/
catalina.home=/T:/eclipse-SDK-3.2-win32/eclipse/plugins/org.eclipse.tomcat_4.1.130.v20060601/
catalina.useNaming=true
eclipse.buildId=M20060629-1905
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-launcher
T:\eclipse-SDK-3.2-win32\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
155c_b8
-vm
C:\WINDOWS\system32\javaw.exe
eclipse.ee.install.verify=false
eclipse.product=org.eclipse.sdk.ide
eclipse.startTime=1153947013328
eclipse.vm=C:\WINDOWS\system32\javaw.exe
eclipse.vmargs=-Xms40m
-Xmx256m
-jar
T:\eclipse-SDK-3.2-win32\eclipse\startup.jar
eof=eof
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=T:\eclipse-SDK-3.2-win32\eclipse\startup.jar
java.class.version=49.0
java.endorsed.dirs=C:\Program Files\Java\jre1.5.0_06\lib\endorsed
java.ext.dirs=C:\Program Files\Java\jre1.5.0_06\lib\ext
java.home=C:\Program Files\Java\jre1.5.0_06
java.io.tmpdir=C:\DOCUME~1\Mark\LOCALS~1\Temp\
java.library.path=C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Ulead Systems\MPEG;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\ATI Technologies\ATI.ACE\;T:\Program Files\K-Lite Codec Pack\QuickTime\QTSystem\;”C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier”;C:\Program Files\Common Files\Ulead Systems\MPEG
java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory
java.naming.factory.url.pkgs=org.apache.naming
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_06-b05
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.5.0_06
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.5.0_06-b05
line.separator=org.osgi.framework.bootdelegation=*
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5
org.osgi.framework.language=en
org.osgi.framework.os.name=WindowsXP
org.osgi.framework.os.version=5.1
org.osgi.framework.processor=x86
org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.3.0
org.osgi.supports.framework.extension=true
os.arch=x86
os.name=Windows XP
os.version=5.1
osgi.arch=x86
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
osgi.bundlestore=T:\eclipse-SDK-3.2-win32\eclipse\configuration\org.eclipse.osgi\bundles
osgi.configuration.area=file:/T:/eclipse-SDK-3.2-win32/eclipse/configuration/
osgi.framework=file:/t:/eclipse-SDK-3.2-win32/eclipse/plugins/org.eclipse.osgi_3.2.0.v20060601.jar
osgi.framework.beginningstartlevel=1
osgi.framework.shape=jar
osgi.framework.version=3.2.0.v20060601
osgi.install.area=file:/T:/eclipse-SDK-3.2-win32/eclipse/
osgi.instance.area=file:/T:/Eclipse3.2/
osgi.instance.area.default=file:/C:/Documents and Settings/Mark/workspace/
osgi.logfile=T:\Eclipse3.2\.metadata\.log
osgi.manifest.cache=T:\eclipse-SDK-3.2-win32\eclipse\configuration\org.eclipse.osgi\manifests
osgi.nl=en_GB
osgi.os=win32
osgi.splashLocation=t:\eclipse-SDK-3.2-win32\eclipse\plugins\org.eclipse.platform_3.2.0.v20060601\splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=t:\eclipse-SDK-3.2-win32\eclipse\plugins
osgi.ws=win32
path.separator=;
sun.arch.data.model=32
sun.boot.class.path=C:\Program Files\Java\jre1.5.0_06\lib\rt.jar;C:\Program Files\Java\jre1.5.0_06\lib\i18n.jar;C:\Program Files\Java\jre1.5.0_06\lib\sunrsasign.jar;C:\Program Files\Java\jre1.5.0_06\lib\jsse.jar;C:\Program Files\Java\jre1.5.0_06\lib\jce.jar;C:\Program Files\Java\jre1.5.0_06\lib\charsets.jar;C:\Program Files\Java\jre1.5.0_06\classes
sun.boot.library.path=C:\Program Files\Java\jre1.5.0_06\bin
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=Service Pack 2
user.country=GB
user.dir=T:\eclipse-SDK-3.2-win32\eclipse
user.home=C:\Documents and Settings\Mark
user.language=en
user.name=Mark
user.timezone=Europe/London
user.variant=
wtp.autotest.noninteractive=true
supertaffMemberHave just realised I made one mistake with this, in that my Tomcat server is running on 8090 not 8080.
So changed this in the Web Service explorer so that the WSDL URL is now – http://localhost:8090/HelloWorld/services/HelloWorldService?
Still get an error but this time it’s
IWAB0379E Unable to open http://localhost:8090/HelloWorld/services/HelloWorldService?.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: http://localhost:8090/HelloWorld/services/HelloWorldService?I’m very inexperienced at this so foirgive my earlier error.
Thanks,
Mark
Roel De NijsMemberMark,
Din’t you simply forgot the wsdl at the end of your url
should be something like this
http://localhost:8090/HelloWorld/services/HelloWorldService?wsdl
supertaffMemberHi hysterio,
Your a star.
I’ve now got it to work. the reason I didn’t spot that myself is that on the the help page the WSDL is wrapped on the next line. Also in the screen shots it is off the page.
One other mistake I’d made was to have the Java classes in the default package which it didn’t seem to like. Once I’d move into into a real package com.guenuitec etc it all came together.
Thanks again for your help.
Mark
Roel De NijsMemberi’m glad to hear it solved your problem!
R.KarthicMemberHi All
IWAB0379E Unable to open http://localhost:8090/HelloWorld/services/HelloWorldService?.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: http://localhost:8090/HelloWorld/services/HelloWorldService?wsdli was trying to build the basic web services using the given instruction,but i couldn’t see any wsdl files generated after getting in to the web service explorer..
any body have any inputs??
Thanks in advance
Karthic
Loyal WaterMemberKarthic,
What tutorial were you going through and at what step did you face this issue ?Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
R.KarthicMemberThis message has not been recovered.
R.KarthicMemberThis message has not been recovered.
R.KarthicMemberThis message has not been recovered.
R.KarthicMemberThis message has not been recovered.
R.KarthicMemberThis message has not been recovered.
-
AuthorPosts