Click here to Skip to main content
15,914,162 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi , I am trying to create a proxy class from wsdl but have no success.

The command that I'm using in Visual Studio 2008 Command Prompt is :

wsdl http://hp-tmoodley:8229/Rose.HelperGateway/CGW/service.svc?wsdl /out:testProxyClass.cs

The testProxyClass.cs is being generated but it has the following code below :
C#
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.5448
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// CODEGEN: The binding 'netTcpBinding' from namespace 'http://tempuri.org/' was ignored.  There is no SoapTransportImporter that understands the transport 'http://schemas.microsoft.com/soap/tcp'.
// 
// This source code was auto-generated by wsdl, Version=2.0.50727.3038.



Any help regarding this will be highly appreciated.
Thanks in Advance.
Posted
Updated 16-Jan-12 4:14am
v2
Comments
vijay_gonae 30-Apr-13 11:23am    
How can I get proxy class if i have a UserName and Password for the .WSDL file? please help.

wsdl /language:vb /protocol:soap https://xyz.com/xyz-webservices/xyzService.wsdl /out:testProxyClass.cs /u:myuid /p:mypwd
Giving error.......
Rico_ 2-May-13 3:22am    
Hi Vijay ,

Sorry for the late responce. I have no idea how to create the proxy class.

Regards

1 solution

Phew !!! Finally managed to sort it out.
Instead of wsdl.exe , i used svcutil and viola.

Wsdl has too many criteria to be met.
 
Share this answer
 
Comments
fjdiewornncalwe 16-Jan-12 10:14am    
Thanks for sharing your solution. +5
peralta11505 9-Oct-17 14:47pm    
Whats is VIOLA? It´s a .EXE ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900