Is this change correct?

I guess what it should have been is:

        WSServices.ENDPOINT_SERVICE.append("context=" + webContext).append("endpoint=" + endpointName); 

I'm just guessing based on those few (removed) lines above.