In webservices we have SOAP protocol for communication for sending message. So what we have in WCF like SOAP.
View Complete Post
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
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?
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?
I had imported SSL certificate through MMC to local computer account and the certificate reflected in the ‘Protocols for MSSQLServer’. Encryption worked fine with
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?
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...
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:
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:
Environment: Win XP ServicePpack 3
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..
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.