Changing URL end point not working

We created a WSDL driver pointing to a development server with an
specific URL end point. Now we have to point to production … but we
are getting errors…

is this the only line we hace to change to made this? within the file
XXXXXdriver.rb

DefaultEndpointUrl = “https://XXXXXXXXXXXXXXX

class XXXXXXXX < ::soap::RPC::Driver
DefaultEndpointUrl = “https://XXXXXXXXXXXXXXX
MappingRegistry = ::soap::Mapping::Registry.new