/* 173 */ if (epr == null) {
/* 174 */ throw new IllegalArgumentException("Invalid null endpoint reference");
/* */ }
/* 176 */ this.to = epr.getAddress();
/* */
/* 178 */ ReferenceParameters srcParams = epr.getReferenceParameters();
/* 179 */ for (Iterator i$ = srcParams.getElements().iterator(); i$.hasNext(); ) { Object obj = i$.next();
/* */
/* 181 */ SOAPElement soapElement = (SOAPElement)obj;
/* 182 */ soapElement.setAttributeNS(getNamespaceURI(), "wsa:IsReferenceParameter", "true");
/* 183 */ addElement(soapElement);
/* */ }