none
ASMX web service and proxy property RRS feed

  • Question

  • just see these url http://stackoverflow.com/a/7386499/728750 and http://stackoverflow.com/a/37773142/728750

    but no property i have seen like proxy for web service reference at client side. anyone can tell me how to get proxy property of my web service client. i am working with VS2013. anyone can guide me. thanks

    Wednesday, December 21, 2016 2:16 PM

Answers

  • Hi Mou_inn,

    Based on your other thread, I assume it is related your asmx web service.

    I suggest you try below project.

    Reference:https://1drv.ms/u/s!AsyeWQ2z51P3hBKDL9R-sqIeOdzh

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Friday, December 23, 2016 2:11 AM

All replies

  • Hi Mou_inn,

    >> but no property i have seen like proxy for web service reference at client side. anyone can tell me how to get proxy property of my web service client

    Do you mean there is no Proxy property for web service client? If so, could you share us how you create client code? If you add service reference by Add Service Reference->Advanced->Add Web Reference, you will be able to access client proxy like below:

                WebExtensionService.WebService1 client = new WebExtensionService.WebService1();            
                var item=client.Proxy; //you could get/set client.Proxy

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, December 22, 2016 5:46 AM
  • client.Proxy is not getting available at client side. yes i add webreference option to create proxy for my web service at client side.

    see my client side screen shot and definitely notice that client.Proxy is not getting available at client side.


    Thursday, December 22, 2016 8:49 AM
  • Hi Mou_inn,

    Based on your other thread, I assume it is related your asmx web service.

    I suggest you try below project.

    Reference:https://1drv.ms/u/s!AsyeWQ2z51P3hBKDL9R-sqIeOdzh

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Friday, December 23, 2016 2:11 AM
  • u share same project for different post......very confuse why u did this ?
    Sunday, December 25, 2016 6:11 PM
  • Hi Mou_inn,

    I have updated this link. I used the different functions in the project, I suggest you download this new project.

    Best Regards,

    Edward


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, December 26, 2016 5:10 AM
  • thanks for link and i will check and run your code at my end and will let you know the status. thanks
    Monday, December 26, 2016 8:16 PM