473,805 Members | 1,981 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

netbeans and web services error

14 New Member
hi,

I am developing a web services in netbeans 5.5.1 and using sun application server as my container .

i was able to run the application once....i mean i was able to see my servlet page which is my client but was gettin some exceptions...am not worried abt the exception at the moment...


i went back to the servlet code made some chnges ....and from then on i am gettin a deployment error in build-impl.xml file
here is my error as follows....


In-place deployment at D:\abhijeet_y\C alculatorWSAppl ication\build\w eb
Start registering the project's server resources
Finished registering server resources
moduleID=Calcul atorWSApplicati on
deployment started : 0%
D:\abhijeet_y\C alculatorWSAppl ication\nbproje ct\build-impl.xml:474: Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 3 minutes 19 seconds)
Sep 28 '07
12 4548
henrymania
14 New Member
Thanx a ton .....it works ...u saved a lot of time and certainly made my day.. i just had to install java webservice development pack....and add the xxx.jar in the project as u said....

actually am a starter at this as i said before...

i just need 3 more answers to my questions below

1)for every function do we have to mention @WebMethod
as it is in ur add method ...but was not in mine....i mean wat is the significance. of that is it a keyword or something.....i mean i was doin a sample eg...so didi not find that @webmethod thing......

2)can u provide me link where i can study the basics of web services..
actually am confused as to where to start of from

3)and wat are the pre-requirement for studying web services...

i am well verse with core java,servlets,j sp,
Oct 9 '07 #11
ak1dnar
1,584 Recognized Expert Top Contributor
Glad you got it working.

1)for every function do we have to mention @WebMethod
as it is in ur add method ...but was not in mine....i mean wat is the significance. of that is it a keyword or something.....i mean i was doin a sample eg...so didi not find that @webmethod thing......
For each and every "operation" there you have to set @WebMethod annotation. and "add" is the operation(metho d) name for my sample. you can use any name for this.
2)can u provide me link where i can study the basics of web services..
actually am confused as to where to start of from
Since your IDE is netbeans refer to netbeans docs.
3)and wat are the pre-requirement for studying web services...
ummm....may be one of our expert will be able to answer for this. read the documentation, that's enough if you know how to absorb 'em.
Oct 10 '07 #12
henrymania
14 New Member
thanx a ton once again for all that help...

Regards abhi
Oct 11 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3976
by: King W.Wang | last post by:
Hi all, I've installed NetBeans IDE 3.5 on Windows XP. But if I try to start it, a message box shows "cannot load jvm.dll". This library does exist in a subdirectory. My questions are: 1) Is NetBeans IDE 3.5 a stand-alone software, i.e. can it run without other software, or should a java SDK be installed? 2) If NetBeans can run without java SDK, maybe one must set the path for
0
2038
by: Federico | last post by:
Hi all, I don't know if this topic is perhaps a little bit off-topic, anyway I have a strange problem in transforming an XML file in an HTML file using XSLT form a Java program written with NetBeans. I utilize the javax.xml.transform class and in the computer where I wrote the program all function perfectly, calling the input XML file, the XSLT stylesheets and setting where to write the output HTML.
3
2914
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin;C:\Program...
1
6223
by: buzzko | last post by:
Hi! I hope someone can help me. I want to connect to a Microsoft SQL Server 2005 Express Edition database programming in C++. I am using Netbeans (with g++ compiler) platform over Windows because I develop Java applications too. I have tried to use some libraries (f.e. www.sqlapi.com) but I have a lot of problems because when I try to build the project it goes wrong, although I think I have imported all neccesary libraries. I donīt know...
0
2731
by: buk110 | last post by:
Hi everyone, I'm new to using JAVA and I'm trying to interact with a web service I wrote in C# I downloaded Netbeans & followed the instructions to point to the wsdl file I navigated to my WSDL file http://localhost/myService/myService.asmx?WSDL And Looking at the output of 'Web Services Manager' I see the following
0
3111
by: sokeefe | last post by:
I use NetBeans IDE to develop a Java application. In the past, I could use the Design Editor to edit my form for the GUI. Spontaneously, NetBeans is unable to open the form file, producing this pop-up message labled as "Information": "The form file format is not recognized. The form cannot be opened." This error was allegedly fixed in previous versions of NetBeans. I have the latest version of NetBeans and I am getting this error now,...
2
6667
myusernotyours
by: myusernotyours | last post by:
Hi All, Am working on a Java application in which I have to use the JNI to Interface with some native code for both windows and unix. Am using netbeans IDE with the C/C++ pack installed. Am also using Cygwin as my compiler (gcc), this is ostensibly because I hope this compiler will also compile the unix native libraries since I don't have a Linux installation. (I am working on a personal project from the office and can't get linux installed)....
1
3196
by: sokeefe | last post by:
I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerException when I try to add an Event to any given JButton (even ones that already exist) in my application using the Design Editor. I go about this by right-clicking on the JButton in the design editor, navigating to Events -> Action -> actionPerformed. The auto-generated code appears for a brief moment before it...
1
1821
by: uhdam | last post by:
HI... In netbeans, whenever i launch the app it loads up and then i get an empty pane where the gui would be. Initially i used Netbeans 6.5. Later i used Netbeans 5.0 and had the prob. so now i shifted to Netbeans 5.5. with jdk 1.6.7 and still the problem persists.
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10609
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10360
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10366
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10105
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5542
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3845
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.