Java Doc for WsValidation.java in  » IDE-Netbeans » web.core » org » netbeans » modules » ws » qaf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » web.core » org.netbeans.modules.ws.qaf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.ws.qaf.WebServicesTestBase
   org.netbeans.modules.ws.qaf.WsValidation

All known Subclasses:   org.netbeans.modules.ws.qaf.wsdl.FromWSDLTSuite,  org.netbeans.modules.ws.qaf.JavaSEWsValidation,  org.netbeans.modules.ws.qaf.EjbWsValidation,
WsValidation
public class WsValidation extends WebServicesTestBase (Code)
Basic validation suite for web services support in the IDE
author:
   lukas.jungmann@sun.com

Inner Class :protected enum HandlerType

Field Summary
final protected static  StringWEB_SERVICES_NODE_NAME
    

Constructor Summary
public  WsValidation(String name)
    

Method Summary
protected  voidaddMethod(EditorOperator eo, String dlgTitle, String opName, String opRetVal)
    
protected  voidaddWsOperation(EditorOperator eo, String opName, String opRetVal)
    
protected  voidcallWsOperation(EditorOperator eo, String opName, int line)
    
protected  voidcheckNonJSR109Service()
    
protected  voidcreateHandler(String pkg, String name, HandlerType type)
    
protected  StringgetHandlersPackage()
    
public  StringgetProjectName()
    
protected  StringgetWsClientLookupCall()
    
protected  StringgetWsClientPackage()
    
protected  ProjectgetWsClientProject()
    
protected  StringgetWsClientProjectName()
    
protected  StringgetWsName()
    
protected  StringgetWsPackage()
    
protected  StringgetWsProjectName()
    
public static  voidmain(java.lang.String[] args)
    
public static  TestSuitesuite()
    
public  voidtestAddOperation()
    
public  voidtestCallWsOperationInJSP()
    
public  voidtestCallWsOperationInJavaClass()
    
public  voidtestCallWsOperationInServlet()
    
public  voidtestCreateNewWs()
    
public  voidtestCreateWsClient()
    
public  voidtestDeployWsClientProject()
    
public  voidtestDeployWsProject()
    
public  voidtestUndeployProjects()
    
public  voidtestWsClientHandlers()
    
public  voidtestWsHandlers()
    
protected  voidwaitForTextInEditor(EditorOperator eo, String text)
    
protected  voidwaitForWsImport(String targetName)
    

Field Detail
WEB_SERVICES_NODE_NAME
final protected static String WEB_SERVICES_NODE_NAME(Code)




Constructor Detail
WsValidation
public WsValidation(String name)(Code)
Creates a new instance of WsValidation




Method Detail
addMethod
protected void addMethod(EditorOperator eo, String dlgTitle, String opName, String opRetVal)(Code)



addWsOperation
protected void addWsOperation(EditorOperator eo, String opName, String opRetVal)(Code)



callWsOperation
protected void callWsOperation(EditorOperator eo, String opName, int line)(Code)



checkNonJSR109Service
protected void checkNonJSR109Service() throws IOException(Code)
Check non-JSR-109 service (web service DD, application DD)
throws:
  java.io.IOException -



createHandler
protected void createHandler(String pkg, String name, HandlerType type)(Code)



getHandlersPackage
protected String getHandlersPackage()(Code)



getProjectName
public String getProjectName()(Code)



getWsClientLookupCall
protected String getWsClientLookupCall()(Code)



getWsClientPackage
protected String getWsClientPackage()(Code)



getWsClientProject
protected Project getWsClientProject()(Code)



getWsClientProjectName
protected String getWsClientProjectName()(Code)



getWsName
protected String getWsName()(Code)



getWsPackage
protected String getWsPackage()(Code)



getWsProjectName
protected String getWsProjectName()(Code)



main
public static void main(java.lang.String[] args)(Code)



suite
public static TestSuite suite()(Code)



testAddOperation
public void testAddOperation()(Code)
Tests adding operation to webservice using - add operation action from editor's popup menu - add operation action from ws node's context menu



testCallWsOperationInJSP
public void testCallWsOperationInJSP()(Code)
Test Call Web Service Operation action in a JSP



testCallWsOperationInJavaClass
public void testCallWsOperationInJavaClass()(Code)
Test Call Web Service Operation action in a regular java file



testCallWsOperationInServlet
public void testCallWsOperationInServlet()(Code)
Tests Call Web Service Operation action in a servlet



testCreateNewWs
public void testCreateNewWs() throws IOException(Code)
Creates a new web service in a web project and checks whether web service node has been created in the project view and web service implementation class has been opened in the editor
throws:
  java.io.IOException -



testCreateWsClient
public void testCreateWsClient() throws IOException(Code)
Creates a new web service client in a web project and checks whether web service client node has been created in the project view
throws:
  java.io.IOException -



testDeployWsClientProject
public void testDeployWsClientProject() throws IOException(Code)



testDeployWsProject
public void testDeployWsProject() throws IOException(Code)



testUndeployProjects
public void testUndeployProjects() throws IOException(Code)
Cleanup method - undeploys projects deployed by this suite



testWsClientHandlers
public void testWsClientHandlers() throws IOException(Code)



testWsHandlers
public void testWsHandlers() throws IOException(Code)



waitForTextInEditor
protected void waitForTextInEditor(EditorOperator eo, String text)(Code)



waitForWsImport
protected void waitForWsImport(String targetName) throws IOException(Code)



Fields inherited from org.netbeans.modules.ws.qaf.WebServicesTestBase
final protected static ServerType REGISTERED_SERVER(Code)(Java Doc)

Methods inherited from org.netbeans.modules.ws.qaf.WebServicesTestBase
protected void createNewFile(Project p, String fileCategory, String fileType)(Code)(Java Doc)
protected void createNewWSFile(Project p, String fileType)(Code)(Java Doc)
protected Project createProject(String name, ProjectType type, JavaEEVersion javaeeVersion) throws IOException(Code)(Java Doc)
protected void deployProject(String projectName) throws IOException(Code)(Java Doc)
protected void dumpOutput() throws IOException(Code)(Java Doc)
protected JavaEEVersion getJavaEEversion()(Code)(Java Doc)
protected Project getProject()(Code)(Java Doc)
abstract protected String getProjectName()(Code)(Java Doc)
protected ProjectRootNode getProjectRootNode()(Code)(Java Doc)
protected ProjectType getProjectType()(Code)(Java Doc)
protected String getSamplesCategoryName()(Code)(Java Doc)
protected void runProject(String projectName) throws IOException(Code)(Java Doc)
public void setUp() throws Exception(Code)(Java Doc)
public void tearDown() throws Exception(Code)(Java Doc)
public void testStartServer() throws IOException(Code)(Java Doc)
public void testStopServer() throws IOException(Code)(Java Doc)
protected void undeployProject(String projectName) throws IOException(Code)(Java Doc)
protected void waitDialogClosed(String dialogTitle)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.