Invoke SOAP web services secured by ws-security through reflection RRS feed


All replies

  • Hi Cicely Zhang,

    According to this case, I am not sure that is ok, as far as I know, when we  Invoking

    a Web Service Dynamically,  if it obeys WS-* protocols and you can generate a proxy,

    then you can specify the credentials and header at client side, it will generate header

    for you which includes those information. We used wsdl document to generate a proxy

    class. Next, build the proxy class. Then call the method by proxy class.

    Best Regards,


    Monday, October 26, 2015 6:02 AM
  • Hello Grady,

    Thank you very much for your reply. Because I may also need to encrypt the message and apply signature token, I knew that WSE 3.0 can do this tasks, and I found one proxy class which I can specify WS-Security related headers, called WebServicesClientProtocol. With regular proxy class, SoapHttpClientProtocol, I am not sure how to encrypt the message body and embed signature token



    Monday, October 26, 2015 6:17 PM
  • Hi Cicely Zhang,

    Sorry, for this condition, I am not sure also. But, may be you can refer to the following


    1.Encrypting SOAP Messages Using Web Services Enhancements

    2.WCF Service Method Level Security using Message Contract

    Best Regards,


    Wednesday, October 28, 2015 9:33 AM