^[^;]+;[^;]+\K;
LEAVE EMPTY
[1114 ] Объяснение:
^ # beginning of string
[^;]+ # 1 or more non semicolon
; # 1 semi colon
[^;]+ # 1 or more non semicolon
\K # forget all we have seen until this position
; # 1 semi colon
Результат для данного примера:
a;bc;d
1;23;4
a;gh;j
f;gf;d
a;d8;d
Ваша конечная точка выглядит хорошо, хотя мне любопытно на предмет того, что находится в localBinding...
Кажется, что самая легкая опция состоит в том, чтобы просто изменить конфигурацию конечной точки на клиенте именованных каналов для соответствия сервисной конечной точке. Клиент не должен заботиться, пока это - единственная конечная точка в клиентском файле конфигурации. Иначе необходимо будет добавить имена к конечным точкам и сделать, чтобы клиент выбрал определенную когда Вы новый объект прокси.
Удачи!
the mex endpoint is necessary during development as it provides an http location where the wsdl is built. the wsdl describes to the client how to communicate with the server through named pipes, or TCP/IP, or anything else. once the client app has built the proxy to the named pipes binding and set up the configuration, the mex endpoint is no longer necessary. hence, the mex endpoint can be removed prior to deployment through the environments if desired.