Thank you very much, Valentin!
I have resolved this issue!

Grid

2009/11/17 Valentin Baciu <vba...@ca.ibm.com>

> 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
>
> [image: Inactive hide details for grid qian ---11/13/2009 02:59:37 AM---Hi
> all, I create a action that extend the IObjectActionDelegate]grid qian
> ---11/13/2009 02:59:37 AM---Hi all, I create a action that extend the
> IObjectActionDelegate to do something on a
>
>
> From: grid qian <grid.q...@gmail.com>
> To: wtp-dev@eclipse.org
> 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.
>
> Sent by: wtp-dev-boun...@eclipse.org
> ------------------------------
>
>
>
> 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@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/wtp-dev
>
>
> _______________________________________________
> wtp-dev mailing list
> wtp-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/wtp-dev
>
>

<<graycol.gif>>

_______________________________________________
wtp-dev mailing list
wtp-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to