KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > stringposervice_wrapped > SubmitPO


1 // This class is supposed to be generated by the JAXRPC SI,
2

3 // However, we need to overwrite it to fix a bug in the JAXRPC.
4

5 // The problem is that the WSDL defines the property as String_1
6

7 // whereas the wscompile generates this class naming the variable
8

9 // as string_1. The solution is to manually modify this class file
10

11 // and compile it to overwrite the file generated by wscompile.
12

13
14
15 package com.sun.j2ee.blueprints.stringposervice_wrapped;
16
17
18
19 public class SubmitPO {
20
21     protected java.lang.String JavaDoc String_1;
22
23     
24
25     public SubmitPO() {
26
27     }
28
29     
30
31     public SubmitPO(java.lang.String JavaDoc string_1) {
32
33         this.String_1 = string_1;
34
35     }
36
37     
38
39     public java.lang.String JavaDoc getString_1() {
40
41         return String_1;
42
43     }
44
45     
46
47     public void setString_1(java.lang.String JavaDoc string_1) {
48
49         this.String_1 = string_1;
50
51     }
52
53 }
54
55
Popular Tags