Example usage for org.springframework.remoting.jaxws JaxWsPortProxyFactoryBean setPortName

List of usage examples for org.springframework.remoting.jaxws JaxWsPortProxyFactoryBean setPortName

Introduction

In this page you can find the example usage for org.springframework.remoting.jaxws JaxWsPortProxyFactoryBean setPortName.

Prototype

public void setPortName(@Nullable String portName) 

Source Link

Document

Set the name of the port.

Usage

From source file:ph.com.fsoft.temp.service.red.ServiceClientConfiguration.java

@Bean
public JaxWsPortProxyFactoryBean jaxWsPortProxyFactoryBean() throws MalformedURLException {
    JaxWsPortProxyFactoryBean jaxWsPortProxyFactoryBean;
    jaxWsPortProxyFactoryBean = new JaxWsPortProxyFactoryBean();
    jaxWsPortProxyFactoryBean.setWsdlDocumentUrl(new URL("http://localhost:8082/blue/api/soap/person?wsdl"));
    jaxWsPortProxyFactoryBean.setServiceName("PersonServiceSoapEndpointService");
    jaxWsPortProxyFactoryBean.setPortName("PersonServiceSoapEndpointPort");
    jaxWsPortProxyFactoryBean.setNamespaceUri("http://soap.endpoint.blue.service.temp.fsoft.com.ph/");
    jaxWsPortProxyFactoryBean.setServiceInterface(PersonService.class);
    return jaxWsPortProxyFactoryBean;
}