Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » strange problem generating webservice client(strange problem generating webservice client)
strange problem generating webservice client [message #489134] Thu, 01 October 2009 11:20 Go to next message
Eclipse UserFriend
I'm seeing a rather strange but serious problem trying to create a web service client. I have seen this problem on both ganymede and galileo. I have a normal JEE eclipse. I've updated to the latest of everything.

Here's what I'm seeing: I create a web service client using New/Other/WebServices/WebServiceClient, enter the URL of the WSDL and click "Finish". All is fine - lots of nice client classes are generated. Then I install the Subclipse subversion plugin and do the exact same steps to generate ws client and I get this error:

IWAB0503E Unable to update Java build path. Please check your system environment.
java.io.FileNotFoundException: /lib/saaj.jar
at org.eclipse.osgi.framework.internal.protocol.bundleentry.Han dler.findBundleEntry(Handler.java:44)
at org.eclipse.osgi.framework.internal.core.BundleResourceHandl er.openConnection(BundleResourceHandler.java:175)
at java.net.URL.openConnection(URL.java:945)
at org.eclipse.core.runtime.internal.adaptor.URLConverterImpl.t oFileURL(URLConverterImpl.java:32)
at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.j ava:206)
at org.eclipse.core.runtime.Platform.asLocalURL(Platform.java:5 59)
at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.getTheJarPath(CopyAxisJarCommand.java:411)
at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.addAxisJarsToBuildPath(CopyAxisJarCommand.java:2 99)
at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi sJarCommand.execute(CopyAxisJarCommand.java:114)
at org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC odeGenOperation$ClientWSModifyOperation.execute(ClientCodeGe nOperation.java:93)
at org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC odeGenOperation.execute(ClientCodeGenOperation.java:64)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:419)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:359)
at org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:254)
at org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$6.run(SimpleCommandEngineManager.java:294)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:464)

I have searched far and wide for an explanation, but have not found anything. Please help - any idea what's going on or how to workaround it or fix it?

Thanks,

Lee

Re: strange problem generating webservice client [message #489207 is a reply to message #489134] Thu, 01 October 2009 16:18 Go to previous messageGo to next message
Eclipse UserFriend
I've never used the subclipse plugin before.

That saaj.jar comes from the javax.xml.soap plugin. When you installed
subclipse could it have added another version of this plugin?

Lee Breisacher wrote:
> I'm seeing a rather strange but serious problem trying to create a web
> service client. I have seen this problem on both ganymede and galileo. I
> have a normal JEE eclipse. I've updated to the latest of everything.
> Here's what I'm seeing: I create a web service client using
> New/Other/WebServices/WebServiceClient, enter the URL of the WSDL and
> click "Finish". All is fine - lots of nice client classes are
> generated. Then I install the Subclipse subversion plugin and do the
> exact same steps to generate ws client and I get this error:
>
> IWAB0503E Unable to update Java build path. Please check your system
> environment.
> java.io.FileNotFoundException: /lib/saaj.jar
> at org.eclipse.osgi.framework.internal.protocol.bundleentry.Han
> dler.findBundleEntry(Handler.java:44)
> at org.eclipse.osgi.framework.internal.core.BundleResourceHandl
> er.openConnection(BundleResourceHandler.java:175)
> at java.net.URL.openConnection(URL.java:945)
> at org.eclipse.core.runtime.internal.adaptor.URLConverterImpl.t
> oFileURL(URLConverterImpl.java:32)
> at org.eclipse.core.runtime.FileLocator.toFileURL(FileLocator.j
> ava:206)
> at org.eclipse.core.runtime.Platform.asLocalURL(Platform.java:5 59)
> at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi
> sJarCommand.getTheJarPath(CopyAxisJarCommand.java:411)
> at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi
> sJarCommand.addAxisJarsToBuildPath(CopyAxisJarCommand.java:2 99)
> at org.eclipse.jst.ws.internal.axis.consumption.ui.task.CopyAxi
> sJarCommand.execute(CopyAxisJarCommand.java:114)
> at org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC
> odeGenOperation$ClientWSModifyOperation.execute(ClientCodeGe
> nOperation.java:93)
> at org.eclipse.jst.ws.internal.axis.consumption.ui.task.ClientC
> odeGenOperation.execute(ClientCodeGenOperation.java:64)
> at org.eclipse.wst.command.internal.env.core.fragment.CommandFr
> agmentEngine.runCommand(CommandFragmentEngine.java:419)
> at org.eclipse.wst.command.internal.env.core.fragment.CommandFr
> agmentEngine.visitTop(CommandFragmentEngine.java:359)
> at org.eclipse.wst.command.internal.env.core.fragment.CommandFr
> agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:254)
> at org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman
> dEngineManager$6.run(SimpleCommandEngineManager.java:294)
> at org.eclipse.jface.operation.ModalContext.runInCurrentThread(
> ModalContext.java:464)
>
> I have searched far and wide for an explanation, but have not found
> anything. Please help - any idea what's going on or how to workaround it
> or fix it?
> Thanks,
>
> Lee
>
Re: strange problem generating webservice client [message #489210 is a reply to message #489207] Thu, 01 October 2009 16:24 Go to previous messageGo to next message
Eclipse UserFriend
> That saaj.jar comes from the javax.xml.soap plugin.
> When you installed subclipse could it have added
> another version of this plugin?

No, there's still just the one saaj.jar in the same place it was before.

Lee
Re: strange problem generating webservice client [message #489218 is a reply to message #489210] Thu, 01 October 2009 18:09 Go to previous messageGo to next message
Eclipse UserFriend
Hmm, that is indeed a strange problem.

I did a bit of debugging, and it looks like that if the javax.xml.soap
plugin is missing then things would fail a lot sooner and you'd get a
null pointer exception. That's why I guessed that there might have been
another javax.xml.soap plugin added to your install when you added
subclipse.

If you look under help > about eclipse > plug in details is the
javax.xml.soap plugin in that list? (and is there only 1?)

One other thing I can think to check would be the file permissions on
saaj.jar

Lee Breisacher wrote:
>> That saaj.jar comes from the javax.xml.soap plugin. When you installed
>> subclipse could it have added another version of this plugin?
>
> No, there's still just the one saaj.jar in the same place it was before.
> Lee
Re: strange problem generating webservice client [message #489230 is a reply to message #489218] Thu, 01 October 2009 19:10 Go to previous messageGo to next message
Eclipse UserFriend
You're right - I realized the same thing and checked. There are indeed two javax.xml.soap plugins. One of them is a jar and the other is a folder. Also, I think I was wrong about the Subversion thing -- I have a copy of 3.5 without SVN and it has the same problem -- two javax.xml.soap plugins and the aforementioned bug.

I tried deleting the jar file plugin, but then I get a bunch of junit4-related errors. Perhaps that extra plugin is coming with junit4?

So confused. Any suggestions for working around this?

Thanks,

Lee
Re: strange problem generating webservice client [message #489382 is a reply to message #489230] Fri, 02 October 2009 13:31 Go to previous messageGo to next message
Eclipse UserFriend
I tried again to delete the jar file plugin and now all seems to be working. But previously, I saw that jar file plugin reappear mysteriously. Shrug.

Lee
Re: strange problem generating webservice client [message #518729 is a reply to message #489134] Thu, 04 March 2010 15:22 Go to previous messageGo to next message
Eclipse UserFriend
I'm using "springsource tool suite" (sts-2.3.0.RELEASE) and I have by default:
- javax.xml.soap_1.2.0.v200905122109 as folder
- javax.xml.soap_1.3.0.v200904281458.jar as a jar

I had the same problem, but after delete the jar it works ok.
Thank you very much
Re: strange problem generating webservice client [message #545571 is a reply to message #489134] Thu, 08 July 2010 05:42 Go to previous messageGo to next message
Eclipse UserFriend
I faced the same issue. After deleting the jar it works.
Thanks! Very Happy
Re: strange problem generating webservice client [message #652855 is a reply to message #489134] Mon, 07 February 2011 06:48 Go to previous messageGo to next message
Eclipse UserFriend
thanks for your help...
Re: strange problem generating webservice client [message #659122 is a reply to message #489134] Fri, 11 March 2011 02:37 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the help. Had this problem. Found javax.xml.soap under plugins (versions 1.2,1.3). One was a jar in my eclipse installation directory, the other in a folder javax.xml.soap_1.3.0.v201005080502 under ~/.eclipse/. Moved this plugin folder out and removed a reference to it in a bundles.info file and the error is gone.
Re: strange problem generating webservice client [message #825530 is a reply to message #518729] Tue, 20 March 2012 20:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi!! i'm a java newbie... i'm facing the same problem too... so where exactly is this jar? (I could run an exhaustive search, but thought you would know already)

javax.xml.soap_1.3.0.v200904281458.jar
Re: strange problem generating webservice client [message #840045 is a reply to message #825530] Mon, 09 April 2012 11:45 Go to previous message
Eclipse UserFriend
The folders are located in <your eclipse installation>/plugins/. Instead of deleting anything I just copied the "/lib" folder with its content from javax.xml.soap_1.2.0.* and placed it in javax.xml.soap_1.3.0.* . This should not change the behaviour of the 1.3.0 plugin since it should still load its classes from the javax folder and the failing "web service client" wizard will find a javax.xml.soap 1.2 JAR even if it is looking in the wrong location (the 1.3.0 folder).
Previous Topic:How to create a servlet 3.0 project with the web.xml file?
Next Topic:How to debug Javascript using JSDT & Maven?
Goto Forum:
  


Current Time: Fri Jul 11 21:34:34 EDT 2025

Powered by FUDForum. Page generated in 0.08458 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top