@@ -60,34 +60,15 @@ namespace Spring.Ws.Samples.Mtom.Client.Wcf
6060 public interface ImageRepository
6161 {
6262
63- // CODEGEN: Generating message contract since the operation StoreImage is neither RPC nor document wrapped.
64- [ System . ServiceModel . OperationContractAttribute ( IsOneWay = true , Action = "" ) ]
65- [ System . ServiceModel . XmlSerializerFormatAttribute ( ) ]
66- void StoreImage ( Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest request ) ;
67-
6863 // CODEGEN: Generating message contract since the operation LoadImage is neither RPC nor document wrapped.
6964 [ System . ServiceModel . OperationContractAttribute ( Action = "" , ReplyAction = "*" ) ]
7065 [ System . ServiceModel . XmlSerializerFormatAttribute ( ) ]
7166 Spring . Ws . Samples . Mtom . Client . Wcf . LoadImageResponse LoadImage ( Spring . Ws . Samples . Mtom . Client . Wcf . LoadImageRequest request ) ;
72- }
73-
74- [ System . Diagnostics . DebuggerStepThroughAttribute ( ) ]
75- [ System . CodeDom . Compiler . GeneratedCodeAttribute ( "System.ServiceModel" , "3.0.0.0" ) ]
76- [ System . ServiceModel . MessageContractAttribute ( IsWrapped = false ) ]
77- public partial class StoreImageRequest
78- {
79-
80- [ System . ServiceModel . MessageBodyMemberAttribute ( Name = "StoreImageRequest" , Namespace = "http://www.springframework.org/spring-ws/samples/mtom" , Order = 0 ) ]
81- public Image StoreImageRequest1 ;
82-
83- public StoreImageRequest ( )
84- {
85- }
8667
87- public StoreImageRequest ( Image StoreImageRequest1 )
88- {
89- this . StoreImageRequest1 = StoreImageRequest1 ;
90- }
68+ // CODEGEN: Generating message contract since the operation StoreImage is neither RPC nor document wrapped.
69+ [ System . ServiceModel . OperationContractAttribute ( IsOneWay = true , Action = "" ) ]
70+ [ System . ServiceModel . XmlSerializerFormatAttribute ( ) ]
71+ void StoreImage ( Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest request ) ;
9172 }
9273
9374 [ System . Diagnostics . DebuggerStepThroughAttribute ( ) ]
@@ -128,6 +109,25 @@ public LoadImageResponse(Image LoadImageResponse1)
128109 }
129110 }
130111
112+ [ System . Diagnostics . DebuggerStepThroughAttribute ( ) ]
113+ [ System . CodeDom . Compiler . GeneratedCodeAttribute ( "System.ServiceModel" , "3.0.0.0" ) ]
114+ [ System . ServiceModel . MessageContractAttribute ( IsWrapped = false ) ]
115+ public partial class StoreImageRequest
116+ {
117+
118+ [ System . ServiceModel . MessageBodyMemberAttribute ( Name = "StoreImageRequest" , Namespace = "http://www.springframework.org/spring-ws/samples/mtom" , Order = 0 ) ]
119+ public Image StoreImageRequest1 ;
120+
121+ public StoreImageRequest ( )
122+ {
123+ }
124+
125+ public StoreImageRequest ( Image StoreImageRequest1 )
126+ {
127+ this . StoreImageRequest1 = StoreImageRequest1 ;
128+ }
129+ }
130+
131131 [ System . CodeDom . Compiler . GeneratedCodeAttribute ( "System.ServiceModel" , "3.0.0.0" ) ]
132132 public interface ImageRepositoryChannel : Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository , System . ServiceModel . IClientChannel
133133 {
@@ -162,19 +162,6 @@ public ImageRepositoryClient(System.ServiceModel.Channels.Binding binding, Syste
162162 {
163163 }
164164
165- [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Advanced ) ]
166- void Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository . StoreImage ( Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest request )
167- {
168- base . Channel . StoreImage ( request ) ;
169- }
170-
171- public void StoreImage ( Image StoreImageRequest1 )
172- {
173- Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest inValue = new Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest ( ) ;
174- inValue . StoreImageRequest1 = StoreImageRequest1 ;
175- ( ( Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository ) ( this ) ) . StoreImage ( inValue ) ;
176- }
177-
178165 [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Advanced ) ]
179166 Spring . Ws . Samples . Mtom . Client . Wcf . LoadImageResponse Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository . LoadImage ( Spring . Ws . Samples . Mtom . Client . Wcf . LoadImageRequest request )
180167 {
@@ -188,5 +175,18 @@ public Image LoadImage(string LoadImageRequest1)
188175 Spring . Ws . Samples . Mtom . Client . Wcf . LoadImageResponse retVal = ( ( Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository ) ( this ) ) . LoadImage ( inValue ) ;
189176 return retVal . LoadImageResponse1 ;
190177 }
178+
179+ [ System . ComponentModel . EditorBrowsableAttribute ( System . ComponentModel . EditorBrowsableState . Advanced ) ]
180+ void Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository . StoreImage ( Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest request )
181+ {
182+ base . Channel . StoreImage ( request ) ;
183+ }
184+
185+ public void StoreImage ( Image StoreImageRequest1 )
186+ {
187+ Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest inValue = new Spring . Ws . Samples . Mtom . Client . Wcf . StoreImageRequest ( ) ;
188+ inValue . StoreImageRequest1 = StoreImageRequest1 ;
189+ ( ( Spring . Ws . Samples . Mtom . Client . Wcf . ImageRepository ) ( this ) ) . StoreImage ( inValue ) ;
190+ }
191191 }
192192}
0 commit comments