how to read a WSDL file without using internal classes? [message #179529] |
Thu, 21 September 2006 07:49  |
Eclipse User |
|
|
|
Hello,
I want to use WST to analyse WSDL files. The only way I found to read a WSDL file was adding
org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl to the ResourceSet's Resource.Factory.Registry.
Since this is an internal package name I was wondering if there are other ways to get it done.
Thanks,
Michael
|
|
|
|
|
|
Re: newbie: where default Tomcat web page gone? [message #179688 is a reply to message #179664] |
Fri, 22 September 2006 10:23   |
Eclipse User |
|
|
|
Yeah that solved it, thanks! perhaps default web page of Eclipse local
Tomcat instance should be text explaining the fact that it is separate
instance and what to un-check if you want to work with main Tomcat instance.
Regards,
Mirza
Larry Isaacs wrote:
> I believe the following recent post ("Re: problem loading localhost:8080
> in eclipse" on 9/20) would answer your question:
>
> http://dev.eclipse.org/newslists/news.eclipse.webtools/msg12 103.html
>
> Cheers,
> Larry
>
> mirza wrote:
>> Hello,
>>
>> I started developing Web services (Eclipse 3.2/Tomcat 5.0) using wst
>> plugin. Problem:
>>
>> When I start Tomcat from windows startup menu, I can admin Tomcat
>> using browser on:
>>
>> http://localhost:8080/
>>
>> But, if I start server from "servers view" in eclipse, web services I
>> created work fine, but browser pointed to http://localhost:8080/ shows
>> only "Directory Listing For /" page. Where is Tomcat admin page?
>>
>> Regards,
>>
>> Mirza
|
|
|
|
Re: how to read a WSDL file without using internal classes? [message #182214 is a reply to message #182209] |
Sat, 04 November 2006 07:49  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Saurabh,
Looking at the plugin.xml for org.eclipse.wst.wsdl I can see that it
already registered a parser for *.wsdl files:
<extension point="org.eclipse.emf.ecore.extension_parser">
<parser
type="wsdl"
class="org.eclipse.wst.wsdl.internal.util.WSDLResourceFactoryImpl ">
</parser>
</extension>
So loading a *.wsdl resource should use that registered factory
automatically and you can just use EMF's generic resource APIs to access
it once loaded, i.e., using resource.getContents().get(0) to access to
root object in the resource.
Saurabh Dravid wrote:
> Hi Ed,
>
> I also needed to load the WSDL file using WTP plugins, but my plugin
> works within eclipse environment. I don't want to use Internal
> WSDLResoruceFactoryImpl class directly, so is there any way to use
> this class by using any kind of plugin.xml registration. Where can I
> find more details for this registraion part. Any help in this regards
> will be much appreciated.
>
> Thanks
>
|
|
|
Powered by
FUDForum. Page generated in 0.69307 seconds