[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-dev] how to get a wsdl document element in my action class that extends IObjectActionDelegate and is added to wsdl editor.
|
Thank you very much, Valentin!
I have resolved this issue!
Grid
2009/11/17 Valentin Baciu
<vbaciu@xxxxxxxxxx>
Grid, assuming I understood your question correctly, how about this:
ASDMultiPageEditor wsdlEditor = (ASDMultiPageEditor)getWorkbenchPart();
W11Description description = (W11Description) wsdlEditor.getModel();
Definition definition = (Definition) description.getTarget();
Element element = definition.getElement();
Regards,
Valentin Baciu
Rational XML Web Services Tools
grid qian ---11/13/2009 02:59:37 AM---Hi all, I create a action that extend the IObjectActionDelegate to do something on aTo: wtp-dev@xxxxxxxxxxx
Date: 11/13/2009 02:59 AM
Subject: [wtp-dev] how to get a wsdl document element in my action class that extends IObjectActionDelegate and is added to wsdl editor.
Hi all,
I create a action that extend the IObjectActionDelegate to do something on a porttype.
In the action, I need to get the wsdl document element. If the porttype is in the wsdl
directly, it is ok. But if the porttype is from other wsdl file that is imported into this wsdl
file, I do not know how to get the wsdl document.
That is to say:
a.wsdl import b.wsdl. In the b.wsdl, there is a porttype, b-porttype. I use wsdl editor to open
a.wsdl, I can get the b.wsdl information in the wsdl editor because a.wsdl import b.wsdl.
right-click on the b-porttype, myAction is displayed, click it. I want to get the a.wsdl document
element in myAction class.
How to do this?_______________________________________________
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
