}
}
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 refPropsType = endpointReferenceType.addNewReferenceProperties( );
if ( m_referenceProps != null )
{
addToProperties( refPropsType, m_referenceProps );
}