Question

Coforge
GB
Last activity: 31 Mar 2025 9:20 EDT
Unable to connect to WCF webservice using SOAP Connector
Hi All,
We have a requirement to call WCF webservice. We are on Pega 24.2, pega cloud.
Steps done:
1) I have added JKS using CSR and in my keystore , and client installed this CSR as well.
2) Created WS-Security rule and referred in my connect rule, configured outflow and added signature.
3) But in Pega I am getting runtime exception when we run connector.
Not sure how to proceed further.
QS:
1)WsHttpBinding - is this supported now in Pega ?
2)Do we need to customise InvokeAxix2 activity?
3)How to add these below highlighted elements in request XML.
Pls can someone throw somelight here?
Requirement of the WCF service:
- WCF Security Mode
The (XYZ) WCF implementation uses the TransportWithMessageCredential security mode with CertificateOverTransport authentication mode. This provides the confidentiality and integrity of the transmitted messages (SSL over HTTP [HTTPS] in our case) and the details required to perform the service authentication. The client authentication is performed by putting the client credentials directly in the message. (XYZ) WCF uses ClientCredentialType = ”Certificate” for authentication.
Hi All,
We have a requirement to call WCF webservice. We are on Pega 24.2, pega cloud.
Steps done:
1) I have added JKS using CSR and in my keystore , and client installed this CSR as well.
2) Created WS-Security rule and referred in my connect rule, configured outflow and added signature.
3) But in Pega I am getting runtime exception when we run connector.
Not sure how to proceed further.
QS:
1)WsHttpBinding - is this supported now in Pega ?
2)Do we need to customise InvokeAxix2 activity?
3)How to add these below highlighted elements in request XML.
Pls can someone throw somelight here?
Requirement of the WCF service:
- WCF Security Mode
The (XYZ) WCF implementation uses the TransportWithMessageCredential security mode with CertificateOverTransport authentication mode. This provides the confidentiality and integrity of the transmitted messages (SSL over HTTP [HTTPS] in our case) and the details required to perform the service authentication. The client authentication is performed by putting the client credentials directly in the message. (XYZ) WCF uses ClientCredentialType = ”Certificate” for authentication.
The most significant difference from the previous WSE-based (XYZ) Web Service is there no longer any need for the client to encrypt the request using the (XYZ) certificate or decrypt the response using their client certificate – encryption is performed by the Transport (SSL), with the client certificate only used for identification/authentication purposes.
The main steps in the WCF process are as follows: -
- Client connects to (XYZ) over HTTPS - it validates trust to the (XYZ) certificate to build the HTTPS connection
- HTTPS itself (transport security) ensures encryption and integrity on the transport level
- Certificate is only for client authentication - no need to encrypt the message
- Client passes the client certificate (public key) to (XYZ) and uses its private key to sign headers
- (XYZ) receives the certificate details in the request and validates that it trusts it
- (XYZ) uses received public key to validate signatures
- (XYZ) processes the request and returns response – it doesn't sign headers in the response
- Client receives the response, and it is simply trusted because it is returned over an HTTPS connection established by the client