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

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

Introduction

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

Prototype

public void setNamespaceUri(@Nullable String namespaceUri) 

Source Link

Document

Set the namespace URI of the service.

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;
}