Source Code Cross Referenced for DocLitWrap.java in  » Web-Services-AXIS2 » jax-ws » org » apache » axis2 » jaxws » sample » wrap » sei » 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 » Web Services AXIS2 » jax ws » org.apache.axis2.jaxws.sample.wrap.sei 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Licensed to the Apache Software Foundation (ASF) under one
003:         * or more contributor license agreements. See the NOTICE file
004:         * distributed with this work for additional information
005:         * regarding copyright ownership. The ASF licenses this file
006:         * to you under the Apache License, Version 2.0 (the
007:         * "License"); you may not use this file except in compliance
008:         * with the License. You may obtain a copy of the License at
009:         *
010:         * http://www.apache.org/licenses/LICENSE-2.0
011:         *
012:         * Unless required by applicable law or agreed to in writing,
013:         * software distributed under the License is distributed on an
014:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015:         * KIND, either express or implied. See the License for the
016:         * specific language governing permissions and limitations
017:         * under the License.
018:         */
019:        package org.apache.axis2.jaxws.sample.wrap.sei;
020:
021:        import javax.jws.Oneway;
022:        import javax.jws.WebMethod;
023:        import javax.jws.WebParam;
024:        import javax.jws.WebParam.Mode;
025:        import javax.jws.WebResult;
026:        import javax.jws.WebService;
027:        import javax.jws.soap.SOAPBinding;
028:        import javax.jws.soap.SOAPBinding.ParameterStyle;
029:        import javax.xml.ws.Holder;
030:        import javax.xml.ws.RequestWrapper;
031:        import javax.xml.ws.ResponseWrapper;
032:
033:        import org.test.sample.wrap.FinancialOperation;
034:        import org.test.sample.wrap.Header;
035:        import org.test.sample.wrap.HeaderPart0;
036:        import org.test.sample.wrap.HeaderPart1;
037:        import org.test.sample.wrap.HeaderResponse;
038:
039:        /**
040:         * This class was generated by the JAXWS SI.
041:         * JAX-WS RI 2.0_01-b15-fcs
042:         * Generated source version: 2.0
043:         * 
044:         */
045:        @WebService(name="DocLitWrap",targetNamespace="http://wrap.sample.test.org")
046:        public interface DocLitWrap {
047:
048:            /**
049:             * 
050:             */
051:            @WebMethod(action="http://wrap.sample.test.org/twoWayReturn")
052:            @Oneway
053:            @RequestWrapper(localName="oneWayVoid",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.OneWayVoid")
054:            public void oneWayVoid();
055:
056:            /**
057:             * 
058:             * @param onewayStr
059:             */
060:            @WebMethod(action="http://wrap.sample.test.org/twoWayReturn")
061:            @Oneway
062:            @RequestWrapper(localName="oneWay",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.OneWay")
063:            public void oneWay(
064:                    @WebParam(name="oneway_str",targetNamespace="")
065:                    String onewayStr);
066:
067:            /**
068:             * 
069:             * @param twoWayHolderInt
070:             * @param twoWayHolderStr
071:             */
072:            @WebMethod(action="http://wrap.sample.test.org/twoWayReturn")
073:            @RequestWrapper(localName="twoWayHolder",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.TwoWayHolder")
074:            @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.TwoWayHolder")
075:            public void twoWayHolder(
076:                    @WebParam(name="twoWayHolder_str",targetNamespace="",mode=Mode.INOUT)
077:                    Holder<String> twoWayHolderStr,
078:                    @WebParam(name="twoWayHolder_int",targetNamespace="",mode=Mode.INOUT)
079:                    Holder<Integer> twoWayHolderInt);
080:
081:            /**
082:             * 
083:             * @param twowayStr
084:             * @return
085:             *     returns java.lang.String
086:             */
087:            @WebMethod(action="http://wrap.sample.test.org/twoWayReturn")
088:            @WebResult(name="return_str",targetNamespace="")
089:            @RequestWrapper(localName="twoWay",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.TwoWay")
090:            @ResponseWrapper(localName="ReturnType",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.ReturnType")
091:            public String twoWay(
092:                    @WebParam(name="twoway_str",targetNamespace="")
093:                    String twowayStr);
094:
095:            /**
096:             * 
097:             * @param invokeStr
098:             * @return
099:             *     returns java.lang.String
100:             */
101:            @WebMethod(action="http://wrap.sample.test.org/twoWayReturn")
102:            @WebResult(name="return_str",targetNamespace="")
103:            @RequestWrapper(localName="invoke",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.Invoke")
104:            @ResponseWrapper(localName="ReturnType",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.ReturnType")
105:            public String invoke(
106:                    @WebParam(name="invoke_str",targetNamespace="")
107:                    String invokeStr);
108:
109:            /**
110:             * 
111:             * @param op
112:             * @return
113:             *     returns org.test.sample.wrap.FinancialOperation
114:             */
115:            @WebMethod(action="http://wrap.sample.test.org/finOp")
116:            @WebResult(name="response",targetNamespace="")
117:            @RequestWrapper(localName="finOp",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.FinOp")
118:            @ResponseWrapper(localName="finOpResponse",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.FinOpResponse")
119:            public FinancialOperation finOp(
120:                    @WebParam(name="op",targetNamespace="")
121:                    FinancialOperation op);
122:
123:            /**
124:             * 
125:             * @param header1
126:             * @param header0
127:             * @param payload
128:             * @return
129:             *     returns org.test.sample.wrap.HeaderResponse
130:             */
131:            @WebMethod(action="http://addheaders.sample.test.org/header")
132:            @WebResult(name="headerResponse",targetNamespace="http://wrap.sample.test.org",partName="payload")
133:            @SOAPBinding(parameterStyle=ParameterStyle.BARE)
134:            public HeaderResponse header(
135:                    @WebParam(name="header",targetNamespace="http://wrap.sample.test.org",partName="payload")
136:                    Header payload,
137:                    @WebParam(name="headerPart0",targetNamespace="http://wrap.sample.test.org",header=true,mode=Mode.INOUT,partName="header0")
138:                    Holder<HeaderPart0> header0,
139:                    @WebParam(name="headerPart1",targetNamespace="http://wrap.sample.test.org",header=true,partName="header1")
140:                    HeaderPart1 header1);
141:
142:            /**
143:             * The SOAPBinding for this method will default to wrapped.  Yes Wrapped !
144:             * However the parameter is a header parameter...which violates wrapped rules.
145:             * Unfortunately WSGEN can produce this kind of situation...thus we need to 
146:             * handle it
147:             * @param headerValue
148:             * @return
149:             *     returns String
150:             */
151:            @WebMethod(action="http://addheaders.sample.test.org/echoStringWSGEN1")
152:            @RequestWrapper(localName="echoStringWSGEN1",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.EchoStringWSGEN1")
153:            @ResponseWrapper(localName="echoStringWSGEN1Response",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.EchoStringWSGEN1Response")
154:            public String echoStringWSGEN1(
155:                    @WebParam(name="headerValue",targetNamespace="http://wrap.sample.test.org",header=true)
156:                    String headerValue);
157:
158:            /**
159:             * The same as echoStringWSGEN1 except that the return String is in the header
160:             * @param data
161:             * @return
162:             *     returns String
163:             */
164:
165:            @WebMethod(action="http://addheaders.sample.test.org/echoStringWSGEN2")
166:            @RequestWrapper(localName="echoStringWSGEN2",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.EchoStringWSGEN2")
167:            @ResponseWrapper(localName="echoStringWSGEN2Response",targetNamespace="http://wrap.sample.test.org",className="org.test.sample.wrap.EchoStringWSGEN2Response")
168:            @WebResult(name="headerValue",targetNamespace="http://wrap.sample.test.org",header=true)
169:            public String echoStringWSGEN2(
170:                    @WebParam(name="data",targetNamespace="")
171:                    String data);
172:
173:        }
w_w__w.ja__va2___s__.___co___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.