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

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

Introduction

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

Prototype

public void setWsdlDocumentUrl(@Nullable URL wsdlDocumentUrl) 

Source Link

Document

Set the URL of the WSDL document that describes 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;
}