| Collections and XML Documents (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I'm working on a Web Service that will display XML Files that are stored in a SQL Server 2000 Database. There are a number of them and I want to be able to display them all through my Web Service, but I can't figure out how that would be done. I have them in a collection (they're XMLDocument objects) and my Web Service function returns an XMLDocument object (I can't change this because it is w... |
|
| Webserivce and Image.ImageURL (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello all, I've created a simple webservice that pulls an image out of a db, and returns the image as a base64encode. My question: does anyone have any idea how to get this reutnred info to display as an image using the Image.ImageUrl property? TIA for ANY assistance. Alan |
|
| RC1 leaks connections (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| In RC1 web services called from web applications using Windows authentication leak a web connection on each method call. This did not happen in the betas. Is this fixed in RC2? This really has to be fixed before RTM. Anyone have a work around? |
|
| Column Align (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I have a DataGrid, showing data from a DataTable for which I'd like to change the align of some specific columns. Is there anybody who can tell me where I have to change which property? Thanks in advance Timo |
|
| Using a WebService XML output from a non-asp site (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hey, If my WebService has an function that outputs xml is there any way to use it from a non asp server ? Thnx. |
|
| How to display value DataReader in text box of a form (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am using DataReader object Do While objDataReader.Read() response.write(objDataReader("code")) Loop and it wroking fine also........ but I want to display this value in the text box of my form. can anybody help me how it can be done.... |
|
| A Session problem when consuming a web service from a .NET desktop app (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am trying to consume a web services from a desktop application. I created a .NET class library, added the web service as a Web Reference. The problem I have is that each time I make a call to my web services, it creates a new session on the web services side. Is there a way to configure the desk top app or the web service to maintain the session? Rafi |
|
| Webservices Throwing Exceptions (3 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Can a WebMethod in a given WebService throw an exception? I ask because say you have this C# WebService. There's a method that throws a divideByZeroException, and it's a public WebMethod. Let's say that the client connecting to the WebService is a non .NET client, like say a WAP application. Can this application catch a thrown .NET exception? I would not think so. How would it be transferred, XML?... |
|
| Interop Problem beween a Web Service and CDO 1.21 (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I'm trying to create a web service (under RC1) which is to retrieve data from Exchange Server 5.5 using CDO 1.21 through interop. But the Session.Logon would always fail, either CDO is directly referenced by the web service through the "wrapper DLL" or indirectly used through another COM object which is than nativaly using the CDO. The strange thing is that this interop scenario would be succe... |
|
| Think Out of the Box - Can webservices replace class librarys? (4 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm starting from scratch.... Using Dhtml and the webservice behaviour to call webservices and dynamically update my page. I had heard from someone on a newsgroup to write lots of classes and put your webservices in front of them using little code in the webservice. I started doing just that, then I wondered... since I am starting from scratch, why not just build my business objects with webservic... |
|
| Webservice Return Data in DHTML environment (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Using the webservice behaviour, what types of data can I return from my webservice. I have been using a string formatted in a proprietary format. ie. chr(14) 1st field chr(6) 2nd field chr(6) x field chr(15) (repeated for multiple records). This requires a bit more logic than I care for on the client side. Is there a clever way to do this? TIA Brian Sabolik |
|
| session in ASPX and ASMX (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have ASPX app that calls my web service. Web service uses Session object. It worked fine when I called it using GET from test page but it seems that ASPX and web service use different session. At least Session object IDs I can see in debugger are different in web service and ASPX code. I am using web service proxy in ASPX. |
|
| SSL vs Encrypting Web Service (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I'm writing a Web service that has secure data. What would be the advantages/disadvantages of using SSL to talk to the web service vs. Using the Crypto API to encrypt and decrypt the data that my web service returns. Thanks |
|
| Resetting entire .net runtime? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Does anyone know how to reset the entire .net runtime on a PC? We have an app that makes async calls to a webservice. While debugging, if I stop my application when in the middle of an async call, sometimes that basically kills me. What happens next is that every time I run our app from the debugger , any call to a webservice never returns. This continues until I restart my PC. It works fine if I ... |
|
| Error : There is an error in XML document (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a web service that returns an array of classes something like this Public Class UCReport Public ID As Int32 Public Name As String Public URL As String End Class WebMethod(description: "Get a list of reports for a given application and role.") Public Function GetReports(ByVal SecurityKey As String) As UCReport() Dim s() As UCReport Dim sec As New UCSecurity.UCSecurity() Dim sp As UCSecurity.... |
|
| Is it possible to return a DataTable from a Web Service (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi Does anyone know whether its possible to return a DataTable from a web service. I have a web service that returns a DataSet, but I really don't need the schema, so it would be more efficient to return a DataTable. When I try this, the web service throws an exception indicating that the method cannot be reflected. TIA Dave |
|
| MSWebProxyGenerator failed! (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| When i added web reference, some referenced types can't be find, I noticed the proxy vb file of web service didn't exist, so I run custom tool on the wsdl file, but always show me the following error message, i have worked for this error for several hours, any body have meet this problem? suggestions are appreciated! the custom tool "MSWebProxyGenerator" failed. ProxyCodeGenerator unable to load r... |
|
| Returning a ICollection based class (again) (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello, Let's try again: I implemented the ICollection inteface in "MyClassList" and it works well. Using it in a Windows Form project, I could easily do a "foreach (MyClass in MyClassList)" to list all "MyClass"'s. But then I created a WebService with the following method: [WebMethod] public MyClassList GetMyClassList() { MyClassList oMyClassList new MyClassList () ; return oMyClassList ; } When I... |
|
| Problems with Sessions in a webservice in RC1 (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| It looks like the following code from the .aspx generates two different session ids, therefore preventing me from using session variables in my webservice. I have enabled sessions in the [WebMethod] attribute. Sample aspx code: MyService ms new MyService(); ms.setSessionVars(); ms.getSessionVars(); Sample webservice code: public void setSessionVars() { Session["testvar"] "test"; } public String ge... |
|
| How to use the XSL Transformation in ASP.NET? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi there!! I have a ASP.NET page. In that, XmlDocument objXml new System.Xml.XmlDocument(); XslTransform objXsl new System.Xml.Xsl.XslTransform(); objXml.Load(Server.MapPath("Trim latest.xml")); XslTransform tr new XslTransform(); tr.Load(Server.MapPath("AIDL.xsl")); Up to that is OK. Now, I want to send the output to browser.. How to do that? any Idea? // Response.Write(tr.Transform(objXml)); Tha... |
|
| Newbie: VS.Net web service deployment problem. (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I am trying to walk through some realy simple, "Hello world" type of example just to see how web service development/deployment work with my VS.Net beta 2. I created the project, copied the sample code from on line source and the project built OK. When I following throuth the instructions and tried to run it however, instead of the page that displays the web service' interfaces, I got in my br... |
|
| Object pooling (8 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am using VB.NET to create my web services. Is there something that I should do in order that my web services or class libraries I use to be able to support object pooling? Or all objects in .NET are by defualt able to be pooled? Thanks |
|
| Client IP Address (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi Is it possible to get the IP address of the client calling my web service, and if it is possible how can I achieve it. Regards, Andy |
|
| Converting to Unicode in C# (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I want to convert the following text of the ROOT node into Unicode, using C#: ROOT PEhUTUw DQpIZWxsbyBXb3JsZA0KPC9IVE1MPg /ROOT In VB6.0, I had done it using the following code: Public Function MyDecodeBase64() As Variant Dim domEncoder As New DOMDocument Dim domNode As IXMLDOMElement Dim outBytes() As Byte Set domNode domEncoder.createElement("node") domNode.dataType "bin.base64" domNode.Text "PE... |
|
| Converting to unicode using c# (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Dear Don Dumitru: As per your advice, in the following code, I used XmlTextReader.ReadBase64 to convert the contents of the tag to a byte[]. But, the Unicode conversion returns an empty string. What I am missing here?. The string should read as " HTML Hello World /HTML " which is the return value of my VB code given in my first email (copied below). Please help.: string str " ROOT PEhUTUw DQpIZWxs... |
|