|Re: Contributing a Web service CLIENT runtime with UI in WTP [message #222520 is a reply to message #221584]
||Tue, 30 September 2008 20:52
| Kathy Chan
Registered: July 2009
The doc you refer to is the right documentation to use for contributing Web
service service runtime and client runtime. You could look at the other
examples in the org.eclipse.jst.ws.axis.* and org.eclipse.jst.ws.axis2.*
plugins under the Webservices component for examples of how the client
runtimes are defined.
Nice to hear that you got it working with WTP 3.0. I assume you were having
trouble originally with WTP 2.0.x? If that's the case, I would suggest you
move to WTP 3.0.x since we had made quite a bit of fixes and enhancements in
"John Palof" <firstname.lastname@example.org> wrote in message
>I neglected to try this on ganymede prior to my post. It does work on 3.4.
>I will see if there are any updates available to 3.3 in hopes that I can
>offer the customization there too.
> Thank you,
>>I need to offer a web service runtime that influences the generation of
>> The "Contributing a Web service runtime with UI in WTP"
>> ( http://www.eclipse.org/webtools/jst/components/ws/documents/ ContributingWebServiceRTWithUI.html)
>> was very helpful but was limited to a discussion of extending the
>> org.eclipse.jst.ws.consumption.ui.serviceRuntimes. Regardless, it
>> seemed a very a good place to start in an attempt to extend
>> org.eclipse.jst.ws.consumption.ui.clientRuntimes. Unfortunately, I am
>> having a problem where the widgets are being created without the model
>> being retrieved from the command class identified by
>> DataMappingRegistry.addMapping. As a result, I have a null model in my
>> widgets, which isn't good.
>> I have added a clientRuntimes extension to this example and provide it as
>> an attachment to this posting. If you attempt to generate a client with
>> "Web service example runtime", you will encounter a nullpointer when the
>> contributed UI is built.
>> I have attempted to trace the underlying framework code but I am not well
>> acquainted with it and have been stuck longer than I want to admit.
>> Help would be greatly appreciated.
>> Changes to the sample:
>> 1) Created ExampleWebserviceClient.java which creates two pre-existing
>> 2) Modified ExampleRuntime.getWebServiceClient to return
>> 3) Added the org.eclipse.jst.ws.consumption.ui.clientRuntimes extension
>> in the plugin.xml
>> Thank you,
Powered by FUDForum
. Page generated in 0.03335 seconds