}
private EndpointReferenceType build2003_03_EPR()
{
EndpointReferenceType endpointReferenceType = EndpointReferenceType.Factory.newInstance();
AttributedURI attributedURI = endpointReferenceType.addNewAddress();
attributedURI.setStringValue(m_address);
if(m_portTypeQName != null)
{
AttributedQName attributedQName = endpointReferenceType.addNewPortType();
attributedQName.setQNameValue(m_portTypeQName);
}
if(m_servicePortName != null)
{
ServiceNameType serviceNameType = endpointReferenceType.addNewServiceName();
serviceNameType.setPortName(m_servicePortName);
}
ReferencePropertiesType referencePropertiesType = endpointReferenceType.addNewReferenceProperties();
if(m_referenceProps != null)
{
addToProperties(referencePropertiesType, m_referenceProps);
}