1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
102 methodHandlers.put(name, wsdlOperationMapping(m)); |
102 methodHandlers.put(name, wsdlOperationMapping(m)); |
103 } |
103 } |
104 } |
104 } |
105 } else { |
105 } else { |
106 for (WSDLBoundOperation wsdlOp : wsdlModel.getBinding().getBindingOperations()) { |
106 for (WSDLBoundOperation wsdlOp : wsdlModel.getBinding().getBindingOperations()) { |
107 QName name = wsdlOp.getReqPayloadName(); |
107 QName name = wsdlOp.getRequestPayloadName(); |
108 if (name == null) |
108 if (name == null) |
109 name = EMPTY_PAYLOAD; |
109 name = EMPTY_PAYLOAD; |
110 methodHandlers.put(name, wsdlOperationMapping(wsdlOp)); |
110 methodHandlers.put(name, wsdlOperationMapping(wsdlOp)); |
111 } |
111 } |
112 } |
112 } |