src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/PayloadQNameBasedOperationFinder.java

changeset 408
b0610cd08440
parent 368
0989ad8c0860
child 637
9c07ef4934dd
equal deleted inserted replaced
405:cc682329886b 408:b0610cd08440
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 }

mercurial