This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 59144 - problem while creating web service
Summary: problem while creating web service
Status: CLOSED INVALID
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: issues@webservices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 12:07 UTC by rameshr
Modified: 2006-03-24 12:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rameshr 2005-05-21 12:07:50 UTC
Hi, 

I was following the folowing document..........

http://www.netbeans.org/kb/41/tutorial-webservice.html

Create the Web Service Client 
1.In the Source Editor, right-click within the processRequest operation in the 
HiServlet class. Choose Web Service Client Resources > Call Web Service 
Operation, select the sayHi operation, and click OK. Cut and paste the skeleton 
operation so that it is positioned above the out.close(); line. 

After performing this step, it will create two methods that private 
org.me.hi.HiWS getHiWS() and private org.me.hi.HiWSSEI getHiWSSEIPort() method. 
The problem is basically  the org.me.hi package is not recognized for some 
reason. 

I went through and continued with other steps

Then i got another error

doing the steps under
Packaging the Application
Deploy the J2EE Application
2.Right-click the HiApp project in the Projects window and choose Run Project. 
You might receive an error message that looks similar to the following:

   Deploying application in domain failed; Cannot deploy. Application already 
exists.
   Please select the redeploy option. ; requested operation cannot be completed 
 
I was expecting the above error msg but what i got is 
 
deployment started : 0%
> Deploying application in domain  failed; Error loading deployment 
> descriptors for hiapp Line 8 Column 22 -- cvc-complex-type.2.4.b: The 
> content of element 'enterprise-beans' is not complete. One of 
> '{"http://java.sun.com/xml/ns/j2ee":session 
> < http://java.sun.com/xml/ns/j2ee%22:session>, 
> "http://java.sun.com/xml/ns/j2ee ":entity 
> <http://java.sun.com/xml/ns/j2ee%22:entity >, 
> "http://java.sun.com/xml/ns/j2ee":message-driven}' 
> <http://java.sun.com/xml/ns/j2ee%22:message-driven%7D%27 > is expected.
> ; requested operation cannot be completed
> C:\development\java\webservices\HiApp\nbproject\build-impl.xml:233: 
> Deployment failed.
>  
> I am new to J2EE application and can not figure out how to reslove the 
> issue, Can someone help me as soon as Possible!!!

Thanks in advance,
Ramesh
Comment 1 _ pcw 2005-05-22 04:56:57 UTC
Please repost this question to the nbj2ee@netbeans.org mailing list along with
the specific errors or exceptions you received and the context in which you
received them.
Comment 2 Lukas Jungmann 2005-12-01 00:37:45 UTC
v.