.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

wcf protocols

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :ASP.Net

In webservices we have SOAP protocol for communication for sending message. So what we have in WCF like SOAP. 


View Complete Post

More Related Resource Links

Secure By Design: Your Field Guide To Designing Security Into Networking Protocols


If you were to build a new communications protocol from scratch, how would you address security? Here the authors take a look at that question and generate some valuable insights into secure protocols.

Mark Novak and Andrew Roths

MSDN Magazine September 2006

Unable to connect to SQL Server 2005 remotly, all client protocols are blank

I have an installation of SQL 2005 and had issues connecting remotly. Looking at the client protocolols, they are all blank. I can see that TCPIP, Named Pipes, VIA, etc. are 'enabled', but where the words 'TCPIP', 'Names Pipes', etc. should be, it's just blank. I tried to install SQL 2008R hoping the Client Protocols would be corrected during the installaion, but they were not. I'm assuming the issue with the Client Protocols not showing up is a symptom of the problem. Does anyone have any ideas? Thanks!

I am getting System.Web.Services.Protocols.SoapHeaderException: Server unavailable error?..

 Hi,    I am using WSE 3.0 for my applicaton. when run from the client end I am getting following error.System.Web.Services.Protocols.SoapHeaderException: Server unavailable, please try later ---> System.ApplicationException: WSE841: An error occured processing an outgoing fault response. ---> System.Web.Services.Protocols.SoapHeaderException: Microsoft.Web.Services3.Security.SecurityFault: Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.  at Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion.RequireSoapHeaderFilter.ProcessMessage(SoapEnvelope envelope)  at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)  at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope)  at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message)  at System.Web.Services.Protocols.SoapServerProtocol.Initialize()  at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)  --- End of inner exception stack trace ---  --- End of inner exception stack trace ---         Help needed on this. re

Discover a WCF service using different protocols

Hello, Is there a way to make my WCF service discoverable for clients that use different discovery versions? That is, I want my service to be discoverable, for example, by a client which uses WSDiscovery11 version, but also by a client which uses WSDiscoveryApril2005. Any tips? Thanks.

SQL Server allowing access with NATIVE CLIENT Protocols are disabled.

I have disabled all client protocols from SQL Server Configuration Manager -> Sql Native Client configuration -> Client Protocols.Still I am able to access sql server with all client protocols disabled. Why ?Also I stopped the SQL Server Services and restarted it again. Then also the system is allowing me to connect with all the client protocol disabled.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object canno

hello,i am using a web servicewrtitten in .net and i access the webservice from my wepApplication i get this error System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Object cannot be cast from DBNull to other types.my code is access webservice: protected void btnSave_Click(object sender, EventArgs e)        {            int intStatusCode;            dtProjectStatus = (DataTable)ViewState["dtProjectStatus"];            try            {                objService.Credentials = System.Net.CredentialCache.DefaultCredentials;                if(dtProjectStatus.Rows.Count>0)                {                  intStatusCode = objService.InsertTest(dtProjectStatus);                }   

baton files and schemas - transfer protocols

Anyone here ever hear of "baton files"?  We're supposed to use them in an ETL project.  It's apparently an old mainframe trick - you transfer the big, fat data file first foo.csv, and when that's done you transfer a tiny baton file, foo.baton (or other suffix).  The baton file's mere existence tells you the big file has finished transfering in, which might otherwise be hard to tell.  For extra credit the baton file can contain useful information like a rowcount and/or some aggregates or checksums of the accompanying data. OK, I 've seen that before, but apparently there's a second part of this kind of protocol, where they also send along a table schema in SQL.  We have one project suggesting that this be checked against our table formats every time, in production, in case the sender unexpectedly changes format (and yet is good enough to send us the changed and accurate schema!). Anyone ever hear of this second part, and can you say what the origin might be? And do you think it's a good idea? Thanks. Josh  

System.Web.Services.Protocols.SoapException: SECU1075


I'm not sure if this question is appropriate for this forum.  If not, I apologize and would ask someone to direct me to a forum or community that might be able to help.  I'm very new to the whole C# thing. 

I have designed a console application as a web service client which is able to talk with a webservice.  I converted the console application into a DLL and called the DLL from another C# program and am getting following error message.

SECU1075: An error was discovered processing the <wsse:Security> header | System.Web.Services |    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)...

I'm told that the problem is that the DLL version doesn't know where to find the policycache.config information.  Can anyone tell me how to circumvent this problem?

A quick question about protocols a WCF service can use


I am beginning to examine WCF, and like what I have seen so far.

I am intrigued, however, by something I recently read about WCF services being able to work with multiple protocols (and the example used included support for TCP and HTTP). Alas, I am so new at trying to figure out proper use of WCF, I don't know where to look for relevant information for my present query.

First, is it true? Can a WCF service handle both TCP/IP packets and http requests?

Second, I am also studying WinPcap, to learn how to examine TCP packets to see if there is a discrepancy between IP address data in those packets and the IP addresses in the HTTP headers (among other things).  I want to be able to redirect HTTP traffic through a site based on such an analysis of the TCP/IP packets used to make a given HTTP request.  I don't suppose there is already a class within .NET 4 that provides access to the complete TCP/IP packet that contains a given HTTP request (that would let me avoid having to compile the WinPcap code into a .NET app).  I guess the first question for this ought to be, is WCF the right technology to use for this?  Then, if WCF is appropriate for this, how would I establish the connection between multiple OSI layers?  If I can use WCF for this, can you provide URLs for resources that discuss how to do it?



SSL Certificate not shown up in Protocols for MSSQLServer for SQL Server 2008 R2


I had imported SSL certificate through MMC to local computer account and the certificate reflected in the ‘Protocols for MSSQLServer’. Encryption worked fine with the certificate.

Then I deleted certificate from local computer store and imported again (through MMC). But no certificates are shown in Microsoft Configuration Manager. I am not able to add certificate to SQL Server.

I followed the steps in the below URLs



Can someone help?

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Index was ou


Dear All,

I am using a client program(c#) which calls the web service.

I am getting the below error:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Index was outside the bounds of the array.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at KrtoPGMSSQLWebServiceClient.rtowebservice.Service.PostGreDataSync(String StrNonQuery, Byte[] byteRowTimestamp, String TableName, Int32 strUniId, String strRemoteCode)
   at KrtoPGMSSQLWebServiceClient.ManipDataExportClient.InsertManipData(DataSet ManipTablesDS) 

KrtoPGMSSQLWebServiceClient--is namespace name

ManipDataExportClient--is class name

InsertManipData--is function name (which calls the DataSet  ManipTablesDS)


I want to know that  whether i am getting this error at the time of calling web service or while accessing web service and why.

Plzzzz help me solve this...

Thank You

SSRS 2008 System.Web.Services.Protocols.SoapException


Hello All,

  I am having difficulties configuring reports to run on my web server. I have a web server that sits in the DMZ and a SQL server and SSRS server that sit behind the firewall. From the WFE I can browse to the report server and run reports but through the web application I receive an error. On our staging environment the reports work and I have compared the two environment and everything seems to be configured the same but cannot find the cause of the problem. Any help on what troubleshooting steps I could take would be appreciated.

Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetDataSourceContents.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices/SetDataSourceContents

System.DirectoryServices.Protocols problem after upgrading to Windows Server 2008 R2

Hopefully this is the correct forum...

I have a block of code (VB.NET) for creating connection object for an OpenLDAP directory that looks something like

_OL = New LdapDirectoryIdentifier(DirectoryServer, PortNumber, True, False)
_Conn = New LdapConnection(_OL)
_Conn.SessionOptions.SaslMethod = "GSSAPI"
_Conn.SessionOptions.ProtocolVersion = 3
_Conn.SessionOptions.Sealing = True
_Conn.SessionOptions.SspiFlag = _Conn.SessionOptions.SspiFlag Or &H10 'auth-conf
_Conn.Timeout = New TimeSpan(0, 20, 0) ' 20 minutes
_Conn.AuthType = AuthType.Negotiate

On a Windows Server 2008 computer, this block of code gives me an ldapconnection object
On a Windows Server 2008 R2 computer, this block of code throws an exception when attempting to set the SaslMethod property (Also tried setting to "SIMPLE", "GSS-SPNEGO" or "EXTERNAL")

Not very helpfully, the error message states simply "An unknown authentication error occurred" Error code = 86 in System.DirectoryServices.Protocols.LdapSessionOptions.SetStringValueHelper(LdapOption option, String value)

I have matched as much as possible except for OS version. Same .NET Framework version, same processor, same Windows edition

Any suggestions?

Root element is missing at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke



Environment: Win XP ServicePpack 3


                    VS 2008

   Can any one help me out for the below weird exception..

System.Exception: Root element is missing.System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   Also installed WSE 3.0,but still not resolved.


   Thanks in Advance..

SQL Browser Connection Protocols


I have a Standard Ed SQL Server 2005 default instance version 9.00.4053.00 (SP3) running on Standard Edition Windows NT 5.2 (Build 3790: Service Pack 2).  

Remote Connections enabled

No Windows Firewall - this is inside our network

SQL Server is running on a NON-Standard port

Alias for SQL Server is created, TCP indicated, port number defined

Connections work fine from both TCP, Named Pipes, and LPC.

I can Telnet to the SQL port and use a UDP port test shows I can remotely connect to SQL Browser 1434.

My Problem is as follows:

I would very much like all connections to use TCP/IP protocol. However, when connections are made with the SQL Browser, or even my Alias (if I turn off SQL Browser) they get made with Named Pipes protocol.

I would like to use TCPIPKEEPALIVE settings inside of an application and on the TCP stack due to a problem application not cleaning up connections. However, I cannot take advantage of this if my SQL Browser or Alias connections won't use TCP/IP protocol.

Please advise me on how to force the browser to use this protocol.

Thank you!


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend