Solving WSS and WS connections