Answer Questions
Ken_L How to write a client application to comsume a secure web service?
Hi, I got this coding from the MSDN WSE 2.0 documentation. Then I tried creating a client to invoke this web service. However, I alwiz get the error message the signature u provided is not valid. Can someone plz write a sample client code to let me see how to invoke the web service. I need help coz my boss is bugging me coz the dateline is reaching, This is my first time using WSE 2.0. I want to see a sample client coding so tht I can modify to ...Show All
sourind SQL to retrievedata
Hey Guys: I have seen this done in a program and at one time i did it but not exactly get it right. I have two tables in my data base. The first is a table with the PubID and a number that corresponds with the second table with a list of titles. table1---is PubID----and number of title is 10----so when i enter the number 10 in the column i want the title to appear in column 3. PubID TitleNum Title 1411 10 ...Show All
Ilya Haykinson Order of webmethods
Hi, I've whole bunch of web methods in my web service and they are all appearing in random order instead of the order specified in the cs file. Can somebody tell me if there is any attribute or setting that will let us specify the order, please Thanks for your time! Regards, Swamy Hi, Yes, I tried with the method names which you have provided. Like I already mentioned, it got listed in alphabetical order which ...Show All
Priya Lakshminarayanan Stopping Asynchronous Operations
I'm working on using Text-to-Speech support inside my App. The problem is that if I call the Speak method on the Speech Library, my app. will be frozen until the method finishes reading the text. In the case the user decides to stop the reading, he couldn't. What I did is to call the Speak method in an Async fashion. Now, the problem is that there is no Stop method in the Speech Libarary, therefore, somehow, I need to stop the operation. I trie ...Show All
Mary Ellen Chaffin - MSFT SQL 2005 SMTP Client problem
Hi All, I am a little wary of posting in this estemed company, as I'm a SQL pro, not a .NET expert, but I have a problem sending mail from SQL Server 2005 Database mail, and searching through the forums, the only place where I have seen a similar issue is in this forum: ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=112971&SiteID=1 ). When I try to send mail I get an error in the event log: "The mail could not be sent ...Show All
JonneeZ internallyprotected access modifier? (not internal protected!)
Hi forum! I'm currently developing a library type project with a bunch of internal types responsible for internal logic. My problem: i can't use these types in protected methods of public library types! The compiler quits with an "inconsistent access modifier" error. So my question is, are there any plans to add an "internalprotected" access modifier (i.e. protected -- but only internally) to future c# specs The only solution i can come up ...Show All
Robin Davies Is there XML editor, organized like form view, according DTD ?
Is there XML editor, organized like form view, according DTD (or else XML scheme) I want to enter XML data, but not in pure XML, or in arbitrary XML in form view like in Microsoft XML notepad, but to enter data by form fields according DTD. Is there such a good thing thanks. Yes, I want grid form that shows fields, that is being shown according XSD, and thus once entered with data can not produce errors ...Show All
esiboda VS2005 Server Explorer Doesn't show stored proc columns
In the server explorer for VS2003 it was possible toview the columns that a stored procedure returned along with its parameters. VS2005 server explorer only shows parameters, no columns. I've searched high and low fo a place to turn this on, if that can be done. What's up Anybody know how to view the columns. That's a real help when making sure column names in code match their stored proc names. Hi Thomas In Visual Studio 2005 we do not d ...Show All
Ian Paton NegotiateStream Class and SOAP Web Services?
Hi, I just heard about the NegotiateStream Class and I’m wondering if I can use it to protect traffic on the wire between my client (.net winforms app) and server (.net web service) Right now I’m using SSL, leveraging the built in support that IIS offers, but since my app only runs on the intranet I’m wondering if NegotiateStream would make more sense. SSL works fine when you get it set up, but there is quite a bit of overhead when my ...Show All
Jef Bernhardt Date format in XML
How Can I get this format "2005-11-22T17:37:09.49+03:00" in XML file as an element Thank you... :) That is it . If you use System.Xml.XmlWriter you can call: XmlWriter w = new XmlTextWriter(Console.Out); w.WriteStartElement("SAMPLEDATE"); w.WriteValue( DateTime .Now); w.WriteEndElement(); Under the covers the XmlWriter is using the XmlConvert helper class, so if you just want the string value, you can use the following: Dat ...Show All
bg_blea SOAP Error
Hello, Whenever I make SOAP calls to the web service I am getting the following Response or error. < xml version="1.0" encoding="utf-8" > <soap:Envelope xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsi= " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd=" http://www.w3.org/2001/XM LSchema"> <soap:Body> <soap:Fault> <faultcode>soap:S ...Show All
nadogmoney Sucessfull validation (using XmlReader) of a crazy file?
The current recommended way to validate an XML file is by using schemas stored in the XmlSchemaSet . "The namespace in the XML file, urn:bookstore-schema , identifies which schema in the XmlSchemaSet to use for validation." But if you have to deal with a XML file without a namespace you have to add it's correspondent schema to the schemaSet using null/nothing. Like this: sc. ...Show All
rjjpv How to use Serialport in VB?
I've search for exemple of how to use Serialport, but all my search ended up with c# examples... Any example in VB Thanks Nico here's some of my VB code. It only reads, not writes to the serial port '~ define and open serial port Private WithEvents objPort As SerialPort objPort = New SerialPort ( "COM1", 4800) objPort.ReceivedBytesThreshold = 1024 objPort.Open() '~ This event is triggered when the objPor ...Show All
M1A1 How to find all SQL Server Instances over a network from .NET
I'm need to show an "Add Connection Wizard" or make similar dialog to config my application database in a production environment. How can i find all sql instances in a network (as osql /L command) .NET 2.0 have any way to do Thanks! this is what i need! Here you go: /********** FIND ALL SERVERS - SQL-DMO **********/ // Add a reference to the SQLDMO.D ...Show All
James Briant 2 Question about System.Diagnostics.Process
Is there a way to set the environment for a System.Diagnostics.Process before starting the process by running a batch file in the process context I know there is StartInfo.EnvironmentVariables and that I can manually set environment variables before starting the process. But what I am looking for is to do it by running a batch file in the context of the process. Thanks -Munjal As I mentioned in the i ...Show All
