Examples of WSEndpoint


Examples of com.sun.xml.ws.api.server.WSEndpoint

    private Message processGetRequest(final Message request,
        String address, final AddressingVersion wsaVersion,
        final SOAPVersion soapVersion) {

        try {
            WSEndpoint ownerEndpoint = findEndpoint();

            // If the owner endpoint has been found, then
            // get its metadata and write it to the response message
            if (ownerEndpoint != null) {
                final MutableXMLStreamBuffer buffer = new MutableXMLStreamBuffer();
View Full Code Here

Examples of com.sun.xml.ws.api.server.WSEndpoint

     *
     * @return The endpoint that owns the actual service or null.
     */
    private WSEndpoint findEndpoint() {

        WSEndpoint wsEndpoint = (WSEndpoint) wsContext.getMessageContext().get(JAXWSProperties.WSENDPOINT);
        HttpServletRequest servletRequest = (HttpServletRequest)wsContext.getMessageContext().get(MessageContext.SERVLET_REQUEST);
        if (servletRequest == null) {
            // TODO: better error message
            throw new WebServiceException("MEX: no ServletRequest can be found");
        }

        // Derive the address of the owner endpoint.
        // e.g. http://localhost/foo/mex --> http://localhost/foo
        WSEndpoint ownerEndpoint = null;
        ServletModule module = (ServletModule) wsEndpoint.getContainer().getSPI(ServletModule.class);
        String baseAddress = module.getContextPath(servletRequest);
        String ownerEndpointAddress = null;
        List<BoundEndpoint> boundEndpoints = module.getBoundEndpoints();
        for (BoundEndpoint endpoint : boundEndpoints) {
View Full Code Here

Examples of it.javalinux.wise.core.client.WSEndpoint

    }
   
    public Message process(final Message message) throws ActionProcessingException
    {
        WSDynamicClient client = createClient(wsdl, serviceName, username, password);
        WSEndpoint endpoint = getEndpoint(client);
       
        Object payload = getMessagePayload(message);
        final List<SmooksHandler> handlers = addSmooksHandlers(endpoint, payload);
        try
        {
View Full Code Here

Examples of it.javalinux.wise.core.client.WSEndpoint

    private WSEndpoint getEndpoint(final WSDynamicClient client)
    {
        Map<String, WSEndpoint> endpointsMap = getEndpoints(client);
       
        WSEndpoint endpoint;
        if (endPointName != null) {
            endpoint = endpointsMap.get(endPointName);
        } else {
            endpoint = endpointsMap.values().iterator().next();
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.