operationInstances = new HashMap();
// The transient call reference does not need to be re-established here since it will
// be taken care of when getCall is next invoked. However, the SOAPTransport needs to
// be set again
JMSAddress ja =
(JMSAddress) getExtElem(port,
JMSAddress.class,
port.getExtensibilityElements());
SOAPAddress sa =
(SOAPAddress) getExtElem(port,
SOAPAddress.class,
port.getExtensibilityElements());
if (sa != null && ja != null)
throw new WSIFException(
"Both soap:address and jms:address cannot be specified for port "
+ port.getName());
if (sa == null && ja == null)
throw new WSIFException(
"Either soap:address or jms:address must be specified for port "
+ port.getName());
if (ja != null) {
// Port jms:address binding element
jmsAddressPropVals = ja.getJMSPropertyValues();
st = new SOAPJMSConnection(ja, port.getName());
} else {
// Port soap:address bindng element
st = new SOAPHTTPConnection();
}