...
Code Block |
---|
<dependency> <groupId>edu.hawaii.its.kfs</groupId> <artifactId>kfs-webservice-client</artifactId> <version>1.5</version> </dependency> |
Spring Context config (only reference to wsdl needs to change per environment, all other values remain unchanged)
Code Block |
---|
<bean id="uhAccountWebService" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
<property name="wsdlDocumentUrl" value="${kfs.account.wsdl}"/>
<property name="namespaceUri" value="KFS"/>
<property name="lookupServiceOnStartup" value="false"/>
<property name="serviceName" value="UhAccountWebService"/>
<property name="portName" value="UhAccountWebServicePort"/>
<property name="serviceInterface" value="edu.hawaii.its.kfs.coa.UhAccountWebService"/>
</bean> |
WSDL for KFS environments
Code Block |
---|
kfs.account.wsdl=@kfs.base.url@/remoting/UhAccountWebService?wsdl
kfs.base.url=https://test6.kfs.hawaii.edu/kfs-tst6 |
KFS Environments
- https://test6.kfs.hawaii.edu/kfs-tst6
- https://qa6.kfs.hawaii.edu/kfs-qa6
- https://kfs.hawaii.edu/kfs-prd6
Java method to call one of the endpoints
...