Getting proxy with wsewsdl2 on a soap.tcp service

I post this quick note as it took a while to figure this out and I want a ref when I forget.  If the Address and Via are different, then you need to use the "-name" parm on the newest wsewsdl2 tool to get your proxy.  In fact, I think this "-name" parm is required on a soap.tcp service.  So assuming your "via" and "address" are like below, the command line would be as shown.  Naturally your service must be running.

Uri via = new Uri("soap.tcp://localhost/MyService");
Uri address = new Uri("soap://localhost/MyServiceV1");

C:\Program Files\Microsoft WSE\v2.0\Tools\Wsdl>wsewsdl2 soap.tcp://localhost/MyService -name soap://localhost/MyServiceV1 output.cs

Make sure you install the WSE 2.0 SP2 and use wsewsdl2.exe.

–William

Advertisements
This entry was posted in WSE. Bookmark the permalink.

6 Responses to Getting proxy with wsewsdl2 on a soap.tcp service

  1. Unknown says:

    Hi,Do you need digital signages, advertising displays, digital sign, advertisement displays and advertising players? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
    amberdigital Contact Us
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[cibfegffffjabgb]

  2. Unknown says:

    wow gold!All wow gold US Server 24.99$/1000G on sell! Cheap wow gold,wow gold,wow gold,Buy Cheapest/Safe/Fast WoW US EU wow gold Power leveling wow gold from the time you wWorld of Warcraft gold ordered!

    wow power leveling wow power leveling power leveling wow power leveling wow powerleveling wow power levelingcheap wow power leveling wow power leveling buy wow power leveling wow power leveling buy power leveling wow power leveling cheap power leveling wow power leveling wow power leveling wow power leveling wow powerleveling wow power leveling power leveling wow power leveling wow powerleveling wow power leveling buy rolex cheap rolex wow gold wow gold wow gold wow gold -49676907497677

  3. Unknown says:

    Thanks however did not work. I have posted the error message in the news group. It is a different error details.

Comments are closed.