Miles to go ...

Arun Gupta is a Technology Evangelist for Web Services and Web 2.0 Apps at Sun. He was the spec lead for APIs in the Java platform, committer in multiple Open Source projects, participated in standard bodies and contributed to Java EE and SE releases.
« Nikon D80 firmware... | Main | Running Training... »

http://blogs.sun.com/arungupta/date/20070212 Monday February 12, 2007

Screencast #WS2: Invoking a Web service using NetBeans IDE

In the second part of the screen cast series (part 1), I show the various ways by which NetBeans IDE can invoke a Web service endpoint. The first part showed only the default way to invoke the endpoint, but this screen cast shows two additional ways.

Enjoy it here.

Feel free to post suggestions on what would you like to see in terms of Web services development using NetBeans.

Technorati: Web services NetBeans GlassFish WSIT JAX-WS screencast

del.icio.us | furl | simpy | slashdot | technorati | digg
Comments:

[Trackback] GlassFish v2 M4 and Windows Vista were released two weeks ago. I installed GlassFish M4 on my machine and Vista Enterprise on a different machine. In this blog, I explain the steps followed to invoke a Web service deployed on...

Posted by Arun Gupta's Blog on February 13, 2007 at 07:39 AM PST #

Would you consider producing a simple tutorial on utilising the bundled derby database within a web service built from jsp's? Thanks. Andy Webb BSc Hons Computing with Networks Sheffield Hallam University

Posted by Andy Webb on February 20, 2007 at 03:48 AM PST #

Excellent, short and to the point presentation - Thank you Arun.

Posted by Nader on February 20, 2007 at 07:58 AM PST #

Andy,

I'll post a list of screen casts that are planned for the next few weeks. I'll add the tutorial to use bundled derby database to the bottom of that list. It might get done sooner :)

Nader,

Glad that you liked the screencast. Feel free to leave comments if you would like to see any other screen casts.

-Arun

Posted by Arun on February 20, 2007 at 09:52 AM PST #

Evening gupta, I used your tutorial this evening to create a stub based on an DataSet returned from a .NET web service (System.Data.Dataset). It fell over. It apears there is a problem in the M$ generated WSDL. For something so popular and highly utilised in the .NET world as a DataSet, its a shame wsimport can't be in some way made aware of these types. If you have any comments on the matter I would be very interested in reading them. So far I have only been able to find: http://forums.java.net/jive/message.jspa?messageID=201229 Thanks Andy.

Posted by Andy on February 21, 2007 at 01:46 PM PST #

apologies! Arun.

Posted by 62.31.19.152 on February 21, 2007 at 02:03 PM PST #

Andy, I posted a new thread describing your problem. http://forums.java.net/jive/thread.jspa?threadID=23398 Please follow it there.

Posted by Arun on February 22, 2007 at 09:43 AM PST #

Andy, I'll work on a screencast that shows how bundled Derby database can be used. But in the meanwhile see the following article that shows how to use Derby database with NB 5.5: http://www.netbeans.org/kb/55/derby-demo.html -Arun

Posted by Arun on February 23, 2007 at 03:51 PM PST #

Arun, Would it be possible to create a screencast surrounding a Notification-based Web Service?

Posted by Marc on February 27, 2007 at 08:58 AM PST #

Marc, By notification-based Web service if you mean supporting http://www.w3.org/TR/wsdl#_notification style of operation, then JAX-WS does not support it. There is no support for WS-Eventing in WSIT as well.

Posted by Arun on March 01, 2007 at 08:52 AM PST #

[Trackback] I downloaded NetBeans 6.0 daily build from http://www.netbeans.info/downloads/dev.php. The installation went pretty smooth and so after every thing was done, I started the IDE. Before I could do anything in the IDE, an error message window popped up NP...

Posted by Arun Gupta's Blog on March 03, 2007 at 07:48 AM PST #

[Trackback] Web Services Interoperability Technology (WSIT, aka Project Tango), integrated in GlassFish V2 builds, provides a implementation of key enterprise Web services specifications and enables first-class interoperability with .NET 3.0 framework. However if...

Posted by Arun Gupta's Blog on May 23, 2007 at 03:51 PM PDT #

[Trackback] A short tutorial from the community on how to develop Web services using NetBeans 6 M9 on Sun Java System Application Server 9.0. You can very well use the exact same steps to deploy this Web service on GlassFish V2....

Posted by Arun Gupta's Blog on June 14, 2007 at 06:17 AM PDT #

I have a .NET webservice that return Dataset. How can you call a webservice that return .NET DATASET from JAVA?

Posted by arif mahmood on June 14, 2007 at 10:15 PM PDT #

[Trackback] Fabian explained how WSIT features can be configured on Java SE 6 Endpoint API exposed as part of JAX-WS 2.1. In this blog, I start with a Reliable Messaging-enabled endpoint developed using NetBeans IDE 5.5.1 and WSIT plug-in and then...

Posted by Arun Gupta's Blog on June 18, 2007 at 05:29 PM PDT #

I understand your answer. But I am asking about the Dataset in .NET. .Net webservice can have Dataset as an argument but Dataset is not a type in Java. Then when Java read the .NET webservice how can it interpret .NET dataset to Java type. I need an example.

Posted by arif mahmood on June 18, 2007 at 06:45 PM PDT #

Arif, I started a new thread at and this might serve an answer for you: https://wsit.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1273

Posted by Arun on June 21, 2007 at 05:43 PM PDT #

[Trackback] GlassFish V2 beta3 is now available. I take this opportune moment for a follow up entry showing how a Reliable WSIT endpoint can be invoked from WCF client and vice versa. WSIT is already integrated in GlassFish V2. The first...

Posted by Arun Gupta's Blog on July 10, 2007 at 12:20 PM PDT #

[Trackback] Java API for XML Web Services (JAX-WS) provides a complete API to develop and invoke Web services over multiple transports (for example HTTP). NetBeans IDE provides first-class support for developing and invoking a JAX-WS based Web service. The missin...

Posted by Arun Gupta's Blog on July 16, 2007 at 03:07 PM PDT #

Screencast #WS2: Invoking a Web service using NetBeans IDE - not running throws error

Posted by Prashant on September 05, 2007 at 09:59 PM PDT #

Prashant, What error do you see ?

Posted by Arun Gupta on September 05, 2007 at 10:03 PM PDT #

Your screen cast are simple easy to understand, wonderful.
Will you please consider explaining in more detail how to return complex type dataset from webservice in netbeans invironment. it would be of great help for many netbeans user. I have not found solution to this problem in any blog.

thanking you

raj

Posted by Raj Gautam on December 29, 2007 at 03:06 PM PST #

Raj, By a complex data set you mean a JavaBean with multiple getter/setter where each could be a Bean ? The Tester app that comes with GlassFish support only primitive data types. You'll need to create a JSP/Servlet/JavaSE client as described at:

http://www.netbeans.org/kb/60/websvc/jax-ws.html

Posted by Arun Gupta on January 02, 2008 at 05:31 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
« Nikon D80 firmware... | Main | Running Training... »

Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.

--> ajax ajaxworld conf eclipse fitness gem glassfish glassfishday hyderabad india indigo interoperability javaone javaone2008 jax-ws jmaki jpa jruby mac marathon metro microsoft mysql netbeans phobos photography presos railsconf ruby rubyonrails running runninglog runsfm screencast siliconvalleymarathon sun suntechdays swdp tango theserverside totd training traveltips v3 vista wcf web2.0 webservices webtier windows wsaddressing wsit
Locations of visitors to this page

calendar

« July 2008
SunMonTueWedThuFriSat
  
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today

Stats

Today's Page Hits: 4039


Total # blog entries: 629
Total # comments: 1789

www.flickr.com
This is a Flickr badge showing public photos from ArunGupta. Make your own badge here.
Add to Technorati Favorites

Last 50