<% /******************************************************************************* * Copyright (c) 2001, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ %> <%@ page contentType="text/html; charset=UTF-8" import="org.eclipse.wst.ws.internal.explorer.platform.wsdl.perspective.*, org.eclipse.wst.ws.internal.explorer.platform.wsdl.datamodel.*, org.eclipse.wst.ws.internal.explorer.platform.wsdl.constants.*, org.eclipse.wst.ws.internal.explorer.platform.constants.*, org.eclipse.wst.ws.internal.explorer.platform.perspective.*, java.util.*" %> <% WSDLPerspective wsdlPerspective = controller.getWSDLPerspective(); Node bindingNode = wsdlPerspective.getNodeManager().getSelectedNode(); %> <%=wsdlPerspective.getMessage("FORM_TITLE_WSDL_BINDING_DETAILS")%> ">
" method="post" target="<%=FrameNames.PERSPECTIVE_WORKAREA%>" enctype="multipart/form-data" onSubmit="return handleSubmit(this)"> <% String titleImagePath = "wsdl/images/open_wsdl_highlighted.gif"; String title = wsdlPerspective.getMessage("ALT_WSDL_BINDING_DETAILS"); WSDLBindingElement wsdlBindingElement = (WSDLBindingElement)bindingNode.getTreeElement(); Vector operationNodes = bindingNode.getChildNodes(); %> <%@ include file = "/forms/formheader.inc" %>
<%=wsdlPerspective.getMessage("FORM_LABEL_BINDING_DETAILS_DESC",wsdlPerspective.getBindingTypeString(wsdlBindingElement.getBindingType()))%>
<% String documentation = wsdlBindingElement.getPropertyAsString(WSDLModelConstants.PROP_DOCUMENTATION); if (documentation.length() > 0) { %>
<%=documentation%>
 
<% } sectionHeaderInfo.clear(); sectionHeaderInfo.setContainerId("Operations"); sectionHeaderInfo.setOtherProperties(operationNodes); %> <% if (operationNodes.size() > 0) { %> <% } sectionHeaderInfo.clear(); sectionHeaderInfo.setContainerId("Endpoints"); sectionHeaderInfo.setOtherProperties(wsdlBindingElement); %>
 
<% if (wsdlBindingElement.getEndPoints().length > 0) { %> <% } %>