Package org.jboss.ws.core.client

Examples of org.jboss.ws.core.client.EndpointInfo


            // The endpoint address must be known beyond this point
            if (targetAddress == null)
               throw new WSException("Target endpoint address not set");

            Map<String, Object> callProps = new HashMap<String, Object>(getRequestContext());
            EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress, callProps);
            if (shouldMaintainSession())
               addSessionInfo(reqMessage, callProps);

            RemoteConnection remoteConnection = new RemoteConnectionFactory().getRemoteConnection(epInfo);
            MessageAbstraction resMessage = remoteConnection.invoke(reqMessage, epInfo, oneway);
View Full Code Here


         {
            Map<String, Object> callProps = new HashMap<String, Object>(getRequestContext());
            if (callProps.containsKey(BindingProvider.ENDPOINT_ADDRESS_PROPERTY)) {
               targetAddress = (String) callProps.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
            }
            EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress, callProps);
            resMsg = getRemotingConnection().invoke(reqMsg, epInfo, false);

            //Pivot, switch to response ctx and save the response message there
            msgContext = MessageContextJAXWS.processPivot(msgContext);
            msgContext.setMessageAbstraction(resMsg);
View Full Code Here

/*     */
/* 231 */       MessageAbstraction resMsg = null;
/* 232 */       if (handlerPass)
/*     */       {
/* 234 */         Map callProps = new HashMap(getRequestContext());
/* 235 */         EndpointInfo epInfo = new EndpointInfo(this.epMetaData, targetAddress, callProps);
/* 236 */         resMsg = getRemotingConnection().invoke(reqMsg, epInfo, false);
/*     */
/* 239 */         handlerPass = callResponseHandlerChain(portName, handlerType[2]);
/* 240 */         faultType[2] = null;
/* 241 */         handlerPass = (handlerPass) && (callResponseHandlerChain(portName, handlerType[1]));
View Full Code Here

            {
               Map<String, Object> callProps = new HashMap<String, Object>(getRequestContext());
               if (callProps.containsKey(BindingProvider.ENDPOINT_ADDRESS_PROPERTY)) {
                  targetAddress = (String) callProps.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
               }
               EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress, callProps);
               resMsg = getRemotingConnection().invoke(reqMsg, epInfo, false);

               //Pivot, switch to response ctx and save the response message there
               msgContext = MessageContextJAXWS.processPivot(msgContext);
               msgContext.setMessageAbstraction(resMsg);
View Full Code Here

/*     */
/* 328 */         if (targetAddress == null) {
/* 329 */           throw new WSException("Target endpoint address not set");
/*     */         }
/* 331 */         Map callProps = new HashMap(getRequestContext());
/* 332 */         EndpointInfo epInfo = new EndpointInfo(this.epMetaData, targetAddress, callProps);
/* 333 */         if (shouldMaintainSession()) {
/* 334 */           addSessionInfo(reqMessage, callProps);
/*     */         }
/* 336 */         SOAPRemotingConnection remotingConnection = new SOAPRemotingConnection();
/* 337 */         MessageAbstraction resMessage = remotingConnection.invoke(reqMessage, epInfo, oneway);
View Full Code Here

            {
               Map<String, Object> callProps = new HashMap<String, Object>(getRequestContext());
               if (callProps.containsKey(BindingProvider.ENDPOINT_ADDRESS_PROPERTY)) {
                  targetAddress = (String) callProps.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
               }
               EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress, callProps);
               resMsg = getRemotingConnection().invoke(reqMsg, epInfo, false);

               //Pivot, switch to response ctx and save the response message there
               msgContext = MessageContextJAXWS.processPivot(msgContext);
               msgContext.setMessageAbstraction(resMsg);
View Full Code Here

            // The endpoint address must be known beyond this point
            if (targetAddress == null)
               throw new WSException("Target endpoint address not set");

            Map<String, Object> callProps = new HashMap<String, Object>(getRequestContext());
            EndpointInfo epInfo = new EndpointInfo(epMetaData, targetAddress, callProps);
            if (shouldMaintainSession())
               addSessionInfo(reqMessage, callProps);

            RemoteConnection remoteConnection = new RemoteConnectionFactory().getRemoteConnection(epInfo);
            MessageAbstraction resMessage = remoteConnection.invoke(reqMessage, epInfo, oneway);
View Full Code Here

TOP

Related Classes of org.jboss.ws.core.client.EndpointInfo

Copyright © 2018 www.massapicom. 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.