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.
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
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.
v.