| call an url and store the out put in a variable (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I need to call an asp (3.0) file that is on an other server and then store the out put in a variable for later use. How would I do that? Thanks Johannes |
|
| Checking Identity of web service client, PGP Keys? (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am building a Web Service which must be as assured as much as possible that the client accessing it is in fact the machine we want to access it. I first thought client digitial certificates but was put off when I failed to find any examples. Does anyone know of any examples of this? Doing this for free with PGP would be good, but I don't know how My knowledge is limited to created an https confi... |
|
| Excluding int values from Serialized data (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a simple class that I return from all of my web service methods. The class goes something like this: namespace MyNameSpace { public class Result { public bool Success; public int ErrorNumber; public string ErrorMessage; public System.Data.DataSet Data; // Some other constructors and stuff goes here... } } Here's my problem. Whenever the operation executes without error, because the ErrorMes... |
|
| OleDBCommand Insert Statement (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Seem to be having a problem with the oldedbcommand and MS Access DB When I try an execute an insert into statement I get a syntax error on the insert into statement. I have executed the same query inside the database environment and it works fine. I think the problem I am having might be from the connection string on my oledbconnection or a permission setting. here is the connection string : Provi... |
|
| Dynamic Discovery for multiple servers (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello all, I am fairly new to web services. I know a good bit, but far from mastery. Here is my situation (I am just curious if it is possible): I want to write a simple file sharing client and server. I want the server to be a Web Service for the simplicity of transferring data, and being able to work through a firewall. The client will be a simple windows application. I understand that if I add ... |
|
| URGENT, PLEASE HELP! (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi All, I just built my first web service which is making a call to a SQL server and should return back a SqlDataReader. After compiling this service and invoking it, the following error is produced: " System.Data.SqlClient.SqlDataReader cannot be serialized because it does not have a default public constructor. Description: An unhandled exception occurred during the execution of the current web r... |
|
| dll's and sessionstate (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| In my application I have a windows forms application using usercontrols created in another project. Both the windows forms and the usercontrols are accessing the same web services. It is important that all web service access is done as a single session. Is there any way to share the same web service connection (I believe it is called a Proxy) between usercontrols and windows forms? I have tried th... |
|
| no localhost on Add Web Reference (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I see many issues and possible solutions concerning Add Web Reference in this group, but I'm not sure what might apply to my situation: 1) When I click on Add Web Reference, I do not see a link to Web References on Local Server, as the tutorials I'm using have said. 2) When I enter the url for the vsdisco file, it bring it up I can also view in separately in IE. I get: No Web References were found... |
|
| Updates using XML retrieved from dataset. (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi all, I'd be grateful if someone could shed some light on this issue.. I'm creating a web service based application.. My client uses winform application. In order to show a table details. i retrieve the data at the server side through a dataset, convert this dataset into an XML string and then pass it over to the client over the network. My client reads this string into a dataset and displays in... |
|
| Serialization & Images (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hello everyone, I'm pretty green when it come to WebServices and have myself in a bind here. What I want to do is to be able to pass an image to a WebService method and also return an image. The problem is that I don't know how to serialize the Image object. Maybe this even isn't the right way to pass the image, maybe a binarystream, not sure. Any help in there area would be appreciated. One thing... |
|
| session state (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I want to store values in webservice session variables. This works great when accessing from a browser but when I am accesing from a windows application it fails because I get a new sessionid eachtime. How do I maintain my session when accesing from a windowsapp? |
|
| Datagrid HyperLinkColumn.DataNavigateUrlField (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| How can I go about adding 2 fields from a dataset to the HyperLinkColumn.DataNavigateUrlField? From the articles I have read I noticed that DataNavigateUrlFormatString uses a variable like so... MM DI DetailDataGrid.aspx?ID {0} I need this to work more like ... MM DI DetailDataGrid.aspx?ID {0} &StartDate {1} Is there maybe a better way of doing this? Thanks, Dave |
|
| Web application and web services question (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a web application that will also provide web services to a Windows Forms client. This application will have an InstallShield installer. What do I have to do to make the web service client "point itself" to the correct server? Obviously for testing I'm using "localhost" as the server name but when someone installs my application these references to localhost will need to be changed. |
|
| Development and production databases? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am testing the creation of a sample web service that uses a database (SQL 2000) and during development I want to connect to my local SQL development server on which I have an exact copy of my production database. When I will deploy my service to the production environments, the SQL server name will be different and it will be using a SQL7 server. The production SQL server is located outside my d... |
|
| Dynamically SOAP Proxy (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I need to implement a Proxy (derived from System.Web.Services.Protocols.SoapHttpClientProtocol) that provides just one method (like the existing Invoke() ) that can be used in order to execute a webservice's method, using the SOAP protocol. Since the SoapHttpClientProtocol's Invoke Method checks if at least an empty method, corresponding to the webservice once, exists, I added functionality th... |
|
| Webservice Timer (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi all Can you add a timer to a Webservice so it can check data every 60 seconds ? I added a timer to the Global.asax but cannot get it to fire it's events. Any ideas ? Dave |
|
| Consuming A .NET Webservice From Java Apache Axis SOAP (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am having trouble consuming a .NET WebService using Java and Apache Axis SOAP implementation. My goal is to publish a Web Service consumable from multiple clients. Here is the issue... I have created an EchoName WebService that simply echoes the name parameter back. The problem is that the method input parameter "name" is not getting passed into the method at all. The .NET Framework indicates th... |
|
| How do I modify a generated proxy class? (10 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I am having a problem preserving my user defined types over calls to a web service. I was told in a previous posting that .net web services (unlike .net remoting) cannot preserve (user defined) type fidelity over calls to web methods, and in order to get my web service to 'return' the desired type, I should modify (and I'm guessing this means casting here?) the return types of the methods in the p... |
|
| Providing custom schema (4 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| If you build your web services as ASP.NET C# classes, the .NET Framework generates wsdl on the fly in response to a ?wsdl http get. The resulting type information in the generated wsdl is lacking things such as min and max occurs, min and max length etc. since there is no way to get that from introspecting the classes and methods. Is there a way to provide more robust schema and still make use of ... |
|
| Any way to call remote web services in my VC6 MFC application? (2 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have tested the sample of calling the remote web services www.api in the sky.com , It's wonderful ! But I want to call the web services in my VC6 MFC application, is there any way or sample? Thanks, Robanac |
|
| Dream Warrior Challenge - .Net and Java Beans (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi All, Has anyone tried the IONA Dream Warrior Challenge? http://portals.devx.com/dreamwarrior/Door/6209 I have tried to do this using .Net. All went well until I got to the point where I needed to consume a Java Bean. 1. Is this possible with VS7? I tried coding the bean myself as a dot net component but got stuck on this code. MessageDigest md MessageDigest.getInstance("SHA"); md.update((this.p... |
|
| Customize WSDL Files Generated By VS.NET (6 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I want to tailor the xml schema in the SOAP request portion of aWSDL file because the one auto generated by Visual Studio.NET is not specific enough for my web service. Does anyone know how to either customize the auto generated WSDL file, or if that's not possible, to change the link on the asmx page to a WSDL file I've created manually. Or do you have any suggestions for a better way to achieve ... |
|
| Tempuri namespace (6 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I created a simple web service based on a tutorial. The service description is based on the namespace http://tempuri.org. I changed this namespace to http://tempmy.org and run the service. It worked, but I noticed that the default help page was not shown, only the link for my method. What is that tempuri.org namespace? Can I use any namespace for a description?Where .Net validates this namespace i... |
|
| Saving XML from Cached Web Service (5 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| I have a web service that saves off updates to an xml document. This is done by an instance of an assembly that I am keeping in the Context.Cache. When I try to specify a physical path to save the xml document to, the instance is no longer in the cache the next time the web service is called. The object instance remains in the cache if I specify a logical path, but that puts my xml file into syste... |
|
| Access WebService through firewall, error? (3 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Has anybody successfully developed a WinClient to access a web service on the Internet from behind a firewall. In the company, there is firewall and proxy server, when adding web reference in VS.Net, it complains proxy access authentication error, so found none. Then with WSDL.exe, I feed the parameters such as proxy server name, NT network /domain/user/password (we are NT network and proxy server... |
|