Unable to connect to teamcenter with new HTTPS url using manually added wsdls

I am stuck in this problem where I have to connect to Teamcenter (TC14) with HTTPS endpoint URL using WSDLs manually provided as files (because they are not exposed anymore). Trying them in browser will show:-

<soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Text xml:lang="en-US">The endpoint reference (EPR) for the Operation not found is /tc/services/Core-2006-03-Session and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</soapenv:Text>
</soapenv:Reason>

The code for the login is provided below:-

public class TeamcenterConnectionService
{
    public TeamcenterConnectionService(string sessionURL, string userId, string password)
    {
        this.session = new Core0603SessionClient();
        session.Endpoint.Address = new EndpointAddress(sessionURL);
        LoginResponse loginResponse = login(userId, password);
    }

    public LoginResponse login(string userId, string password)
    {
        LoginInput loginInput = new LoginInput();
        loginInput.username = userId;
        loginInput.password = password;
        loginInput.sessionDiscriminator = RandomString(14);

        LoginResponse loginResponse = null;
    
        try
        {
            loginResponse = session.login(loginInput);
            return loginResponse;
        }
        catch (Exception ex)
        {
            throw ex;
        }
    }

}

Here, sessionURL is the HTTPS url (Dummy url that is similar to original:-https://abctc14qwertyu.test.com:6969/tc/services/Core-2006-03-Session) that I am supposed to use for login.

In web.config, I have set the binding as below for now:-

binding name="Core0603SessionSoapBinding" maxBufferPoolSize="20000000" maxBufferSize="20000000" maxReceivedMessageSize="20000000" >
    <security mode="TransportWithMessageCredential" >
    </security>

I have tried all different security modes and getting different errors:-

For security mode = "None" and "TransportCredentialOnly", I get error:- "The provided URI scheme 'https' is invalid; expected 'http'.Parameter name: via"

For security mode = "Transport", I get error:- "An error occurred in the presentation tier. %"

For security mode = "TransportWithMessageCredential", I get error:- "The username is not provided. Specify username in ClientCredentials."

Not to be used here but just for reference:-
For security mode = "Message", I get error:- "BasicHttp binding requires that BasicHttpBinding.Security.Message.ClientCredentialType be equivalent to the BasicHttpMessageCredentialType.Certificate credential type for secure messages. Select Transport or TransportWithMessageCredential security for UserName credentials."

What should I do to make this work?

NOTE:-

  1. The HTTPS url is being used by another team ensuring that the URL is up and running.

  2. session.ClientCredentials is readonly, so unable to add username or password while using “TransportWithMessageCredential”.

  3. This code with security mode = “None” works for HTTP TC11 URL (same WSDL). Is the WSDL not configured to work for HTTPS?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật