writer.write(endpoint.getServiceName().getNamespaceURI()); writer.write("']/wsdl:service[@name='"); writer.write(endpoint.getServiceName().getLocalPart()); writer.write("']/wsdl:port[@name='"); writer.write(endpoint.getWsdlPort().getLocalPart());
public DeployedEndpointData(String path, Application app, WebServiceEndpoint endpoint) { super(path, "", ""); this.appName = app.getAppName(); this.endpointName = endpoint.getEndpointName(); this.namespace = endpoint.getServiceName().getNamespaceURI(); this.serviceName = endpoint.getServiceName().getLocalPart(); QName pName = endpoint.getWsdlPort(); this.portName = (pName != null) ? pName.getLocalPart() : ""; this.implClass = endpoint.implementedByEjbComponent() ? endpoint.getEjbComponentImpl().getEjbImplClassName() : endpoint.getServletImplClass(); this.address = path; this.wsdl = address+"?wsdl"; this.tester = address+"?Tester"; this.implType = endpoint.implementedByEjbComponent() ? "EJB" : "SERVLET"; this.deploymentType = "109"; fillStatMap(); }
Class seiClass = Thread.currentThread().getContextClassLoader().loadClass(seiClassName); if(seiClass.getAnnotation(javax.jws.WebService.class) == null) { testerNotSupportedError(myEndpoint.getDescriptor().getServiceName(), out); return; myEndpoint.getDescriptor().getServiceName().getLocalPart()+" "+ localStrings.getLocalString( "enterprise.webservice.monitoring.title", "Web Service Tester") + "</TITLE></HEAD>"); out.print("<BODY><H1>"+ myEndpoint.getDescriptor().getServiceName().getLocalPart()+" "+ localStrings.getLocalString( "enterprise.webservice.monitoring.title",
public void configureJAXWSServiceHandlers(WebServiceEndpoint ep, String bindingId, WSBinding bindingObj) { // No handler chains; do nothing if(!ep.hasHandlerChain()) { return; } LinkedList handlerChainList = ep.getHandlerChain(); List<Handler> finalHandlerList = new ArrayList<Handler>(); Set<String> roles = new HashSet(); for(Iterator<WebServiceHandlerChain> i = handlerChainList.iterator(); i.hasNext();) { WebServiceHandlerChain hc = i.next(); // Apply the serviceName / portName / bindings filter to ensure // that the handlers are for this endpoint if(!patternsMatch(hc, ep.getServiceName(), ep.getWsdlPort(), bindingId)) { continue; } // OK - this handler has to be configured for this endpoint // Iterate through all handlers that have been configured List<Handler> handlerInfo = processConfiguredHandlers(hc.getHandlers(), roles); finalHandlerList.addAll(handlerInfo); } // Processing of all handlers over; // set final list of handler in RuntimeEndpointInfo bindingObj.setHandlerChain(finalHandlerList); // Set soap roles for soap bindings only if(bindingObj instanceof javax.xml.ws.soap.SOAPBinding) { ((javax.xml.ws.soap.SOAPBinding)bindingObj).setRoles(roles); } }
endpointInfo.setPortName(endpoint_.getWsdlPort()); endpointInfo.setServiceName(endpoint_.getServiceName());
endpoint.getServiceName(), // the service QName
endpoint.getServiceName(), // the service QName
endpoint.getTransportGuarantee()); QName serviceName = endpoint.getServiceName(); if( serviceName != null ) { Node serviceQnameNode = appendChild
endpoint.getTransportGuarantee()); QName serviceName = endpoint.getServiceName(); if( serviceName != null ) { Node serviceQnameNode = appendChild