You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by "Zager, Scott" <sc...@merck.com> on 2003/12/30 23:44:39 UTC
Runtime Error
I'm getting the following error when trying to call the
WSIFServiceFactory.getService method:
java.lang.AbstractMethodError:
org.apache.wsif.wsdl.WSIFWSDLLocatorImpl.getBaseInputSource()Lorg/xml/sax/In
putSource;
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)
at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown
Source)
I don't get any errors at runtime, so this seems like it should be a problem
with the version of org.xml.sax.InputSource that is in my classpath. I
noticed that there is a xmlParserAPIs-2_2_1.jar that comes with the
distribution of wsif that contains this class. I tried using that with no
success.
My environment is Apache Tomcat 4.0.6 (running in NetBeans 3.5.1).
Any suggestions?
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA), and/or
its affiliates (which may be known outside the United States as Merck Frosst,
Merck Sharp & Dohme or MSD) that may be confidential, proprietary copyrighted
and/or legally privileged, and is intended solely for the use of the
individual or entity named on this message. If you are not the intended
recipient, and have received this message in error, please immediately return
this by e-mail and then delete it.
------------------------------------------------------------------------------
Re: Runtime Error
Posted by Aleksander Slominski <as...@cs.indiana.edu>.
Zager, Scott wrote:
>I'm getting the following error when trying to call the
>WSIFServiceFactory.getService method:
>
>java.lang.AbstractMethodError:
>org.apache.wsif.wsdl.WSIFWSDLLocatorImpl.getBaseInputSource()Lorg/xml/sax/In
>putSource;
> at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> at org.apache.wsif.util.WSIFUtils.readWSDL(Unknown Source)
> at org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)
> at org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown
>Source)
>
>I don't get any errors at runtime, so this seems like it should be a problem
>with the version of org.xml.sax.InputSource that is in my classpath. I
>noticed that there is a xmlParserAPIs-2_2_1.jar that comes with the
>distribution of wsif that contains this class. I tried using that with no
>success.
>
>My environment is Apache Tomcat 4.0.6 (running in NetBeans 3.5.1).
>
>
hi,
it looks like you may have incompatible version of WSIF/WSDL4J somewhere
on classpath when tomcat is running. unfortunately this is not easy to
debug problem, for example (google "AbstractMethodError" for more):
http://www.cookienest.com/forums/mobile/thread.php?topic_id=559
and i would suggest to start with clean tomcat installation (outside
netbeans) and keep adding piece by piece to see what happens.
good luck!
alek
--
The best way to predict the future is to invent it - Alan Kay