Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problem with a wizard and a wsdl parser
Problem with a wizard and a wsdl parser [message #114170] Mon, 27 June 2005 13:53 Go to next message
Eclipse UserFriend
Originally posted by: andreas140983.libero.it

Hi! I'm working in the creation of a plugin for eclipse and in particular
I use as baseline of my work the Eclipse's new Plugin Project and I have
choosen the template "Multipage Editor". In the wizard that I create, I
want that the user insert the address of a file WSDL and when he push the
Finish button the plugin invoke a WSDL parser that I have already create
and pass to it the address inserted. The code of the wizard is the same of
the template and I have only inserted the creation of the WSDL parser'
object and the call to it's method that parse the file. The problem arrive
when I run my plugin with the Run time workbench. When I try to use my
plugin, I push on New->Other.. and I select my wizard but when I push on
Next button Eclipse return me this error:
"Unhandled event loop exception
Reason:"
Is the problem inherent with the WSDLException? I have insert the throw
clause but the error remain!

I have used the wsdl4j.jar and the qname.jar but I don't say if I have to
insert these in the plugin.xml file. Please can anyone help me?
Re: Problem with a wizard and a wsdl parser [message #114293 is a reply to message #114170] Tue, 28 June 2005 03:17 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
You do need to reference the required WSDL4J and QName jars in your plugin
manifest (plugin.xml or manifest.mf). The WTP project includes a WSDL4J
plugin. If you are building on top of WTP you can add this plugin as a
requirement. Otherwise you can bundle the required plugins in your plugin
and specify them in your plugin manifest.

Lawrence
Re: Problem with a wizard and a wsdl parser [message #114445 is a reply to message #114293] Tue, 28 June 2005 16:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andreas140983.libero.it

Thanks, I have insert the wsdl4j jar and the qname jar in the plugin.xml
with this code:
<library name="wsdl4j.jar">
<export name="*" />
<packages prefixes=the directory of my jar file />
</library>
<library name="qname.jar">
<export name="*" />
<packages prefixes=the directory of my jar file />
</library>

It is correct?
Now where I can find the WTP plugin that I have to add?

Excuse me for my english but I'm italian.
Thanks!
Re: Problem with a wizard and a wsdl parser [message #114503 is a reply to message #114445] Wed, 29 June 2005 16:32 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Your definitions looks good. Remember that you need the WSDL4J and QName
jars in the root of your plugin.

You do not have to reference the WTP WSDL4J plugin. As an alternate option
to including the WSDL4J and QName jars in your plugin you can require the
org.wsdl4j_1.0.0 plugin included in the WTP. This plugin contains the
WSDL4J and QName jars. Requiring this plugin will reduce the size of your
plugin if you depend on WTP.

Lawrence
Previous Topic:WEB-INF/lib & Maven
Next Topic:How parse the wsdl types?
Goto Forum:
  


Current Time: Fri Oct 18 12:19:44 GMT 2024

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

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

Back to the top