01: /*
02: * Copyright 2007 the original author or authors.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16:
17: package org.springframework.ws.soap;
18:
19: import org.springframework.ws.WebServiceMessageFactory;
20:
21: /**
22: * Sub-interface of {@link WebServiceMessageFactory} which contains SOAP-specific properties and methods.
23: * <p/>
24: * The <code>soapVersion</code> property can be used to indicate the SOAP version of the factory. By default, the
25: * version is {@link SoapVersion#SOAP_11}.
26: *
27: * @author Arjen Poutsma
28: * @since 1.0.0
29: */
30: public interface SoapMessageFactory extends WebServiceMessageFactory {
31:
32: /**
33: * Sets the SOAP Version used by this factory.
34: *
35: * @param version the version constant
36: * @see SoapVersion#SOAP_11
37: * @see SoapVersion#SOAP_12
38: */
39: void setSoapVersion(SoapVersion version);
40:
41: }
|