ASPFriends.com 'aspngwebservices' list Archive - March 2002
Messages
Page: 12
Optional Parameter in VB (7 replies)
ASPFriends.com 'aspngwebservices' list
Hi, I am creating a web service in VB and the following are the function declaration Public Function AddPortfolio ( Optional ByVal strMessage As string "Error" ) As soon as I compile this code, a error gets popped up "Attribute Webmethod cannot be applied to a method with optional parameters" Is this a inherent limitation . or do I need to add an extra patch up attributes.. Regards, Yogesh S Finan...
Http-get & Http-Post based webservices (6 replies)
ASPFriends.com 'aspngwebservices' list
Hello Yasser, Can you provide me some link to technical material on buliding Http get & Http Post based webservices instead of SOAP. Thnaks in advance, Mushtaq,
consuming within .Net code? (2 replies)
ASPFriends.com 'aspngwebservices' list
I'm confused....how would you call a web service within your code? Is it basically using a screen scrape of the data and then extracting the values via XML?
Web Services Security (2 replies)
ASPFriends.com 'aspngwebservices' list
Hey all, I have a web service in .NET which I am calling from the SOAP 2.0 SDK in Microsof Word. My question is, how can I append a soap header to the soap 2.0 method call so I can pass a username and password to the .NET web service. I realise that this would only be secure over SSL but I just want proof of concept at the moment. Also, would this be the best way of providing username and password...
Re: TLS communication (2 replies)
ASPFriends.com 'aspngwebservices' list
Hi Ramesh Thank you for your help... was not able to respond before... was busy on other projects. I assume that by turning off require Client Certs that when the Web service is invoked, the client authentication will be taken care of by code in the Web service? Is this a correct assumption? Will this make the Web service vulnerable? Is this why when I try to add a Web reference to a project, when...
Santra Wireless V1.0 -449 Web Services... (3 replies)
ASPFriends.com 'aspngwebservices' list
Just wanted to let everyone know that you can now check the current status (online/offline) and reliability (% that it has been available over time) of your public web services on your wireless devices (wml interface). We currently are listing and have statistics for 449 Web Services and that number is growing every day! Point your browser to: http://wireless.mysantra.com One question you may ask ...
Posting back to a webservice (3 replies)
ASPFriends.com 'aspngwebservices' list
I have a page that uses the HtmlInputFile object to upload a file. The problem is that it uploads to the server that the applications is running on then I must use the .PostedFile.SaveAs() function to save it to the server I want it on. What I'd like to do is have a WebService running on the server I want the file to end up on to eliminate this unnecessary routing. Any idea how I can have the page...
Redirect to Webservice page (2 replies)
ASPFriends.com 'aspngwebservices' list
Is there a way to redirect to a page within a webservice and maintain session state? Steve
Parameterizing web references (4 replies)
ASPFriends.com 'aspngwebservices' list
Can anyone tell me how I can parameterize my web references in my solution? The problem is once the project has been copied to a live envinronment I need to change all the web references so that they no longer use localhost. Is there a way I can make this work at run time by setting an environment variable in web.config? Thanks, Stephen
Performance Issues (4 replies)
ASPFriends.com 'aspngwebservices' list
Hai all, 1st of all I really appreciate all the help u all guys are providing on this group, Thanks ALL. I have want to build a werservice with 10 web methods, performance wise is it better to put all the methods in 1 web service or should I split to 2 or more Web services? Is there any restriction on # of methods can be in a Web service? Should it be pure funtional consideration ( all sales metho...
Basic web services question (6 replies)
ASPFriends.com 'aspngwebservices' list
I'm doing some research on web service and, time & time again, .NET refers to it as "XML Web Services". I wonder if this is a specific case of web services if so what other kind of web services are there (besides "XML Web Services"). If there are, are they implemented in .NET also? Thanks for reading.
consuming a web service from an IE client (4 replies)
ASPFriends.com 'aspngwebservices' list
I'm trying to consume a web service from an IE client using the Msxml2.XMLHTTP object. This works but I get a security dialog asking me if I don't mind getting content from a source outside of IE's control which I don't want the user to have to deal with. Then it dawned on me that there may be a way to do this, (maybe using a server control?) in dot net. Does anyone know of a control to consume a ...
problems trying to access webservices (socks4) (5 replies)
ASPFriends.com 'aspngwebservices' list
I'm doing my first tests on consuming web services from ASP.NET pages w ith bad results.... first I wasn't able to use the WSDL utility with URLs (as for example http://www.dotnetjunkies.com/services/MyService.asmx?WSDL) this is the error i was getting : Error: There was an error processing 'http://www.dotnetjunkies.com/services/MyService.asmx?WSDL'. There was an error downloading 'http://www.dotn...
How to overloads WebMethod ? (3 replies, VIP)
ASPFriends.com 'aspngwebservices' list
Hi, I'm trying to set up some webmethods in c# that have the same name but get different parameters. When i compile i get an error that says it's forbidden to have to webmethods with the same name...but can use some c# specificity to keep webmethod's name the same. I believe the methods and functions written in c# can be overloaded but is it still true when using them for webmethods ? Finally, do ...
List of web services on machine? (3 replies)
ASPFriends.com 'aspngwebservices' list
I would like to be able to get a list of web services on my machine and query them using reflection. My initial approach was to use System.DirectoryServices and go through each directory under IIS. I thought I could then filter out the virtual directories using the SchemaClassName property of each child DirectoryEntry object of the root but what showed up as an IISVirtualDir and what showed up as ...
Webservice (11 replies)
ASPFriends.com 'aspngwebservices' list
Moved from [aspngxml] to [aspngwebservices] by Mitch Denny mitch.denny@warbyte.com Is it possible to post image(file) over SOAP to a Webservice? Thanks. Mike
Webservice returning dataset, consumed by Excel - How to do? - Help! (8 replies)
ASPFriends.com 'aspngwebservices' list
Hello! I am looking for some help with something that I have been struggling with for a while now.. in theory, it seems like it would be so easy, but it isn't turning out that way! Here is what I would like to do: The user would open an Excel 2002 workbook.. On a specific worksheet would be a series of parameters they need to set to access the web service, and to identify the data they are interes...
Web Service and COM+ (5 replies)
ASPFriends.com 'aspngwebservices' list
Hello: I am designing the architecture of our solution. I am confusing about the middle tier Implementation. We used to use MTS or COM as application server to host our middle tier component before. Right now we are going to provide WebService as well as presentation layer. And I read an article talking about using Web Service as middle tier solution. I could not find that article anymore. I know ...
Change webservice encoding? (2 replies, VIP)
ASPFriends.com 'aspngwebservices' list
Hello, I was wondering if it is possible to change the encoding on a result from a web method. Right now I am returning some XML, but it always encodes it to UTF 8. I would like to change it to some other encoding, such as ASCII or "iso 8859 1". The reason I need to change the encoding is because the XML was generated from an ADO Save method, which by default uses utf 16 encoding. When I try to re...
HELP! Web service problem (2 replies)
ASPFriends.com 'aspngwebservices' list
I have a web service that returns a String that has XML in it. Unfortunately, the web service decided it wanted to change my tags around . For example, if I had customerId 3 in my XML document, the web service changes it to <customerID 3> . It does that for the entire XML document, so it is easy enough to parse back when my client gets it... but I don't want to have to go through the extra s...
MSN Contacts (3 replies)
ASPFriends.com 'aspngwebservices' list
Is there a web service to show if a given MSN email address is online or not? How about a web based method of sending a message to and chatting with someone via Microsoft Messenger? Thanks, Steve
System.Net.WebException: The request (2 replies, VIP)
ASPFriends.com 'aspngwebservices' list
html div style 'background color:' DIV Is any one got below error BR BR **************** BR The request failed with HTTP status 401: Access Denied. BR Description: An unhandled exception occurred during the BR execution of the current web request. Please review the BR stack trace for more information about the error and where BR it originated in the code. BR BR Exception Details: System.Net.WebExc...
Saving a class to a webservice (2 replies)
ASPFriends.com 'aspngwebservices' list
Moved from [aspngvs] to [aspngwebservices] by James Avery javery@deluxeeng.com I am building a webservice that calls a normal hierarchical vb class structure (i.e. TopObject.MiddleObjects(0).BottomObjects(1)). I am able to load an object from the webservice in the following manor: dim ws as new Webservice dim obj as new Webservice.Class obj ws.Load(id) I then have access to all of obj's child clas...
Webservice Session (3 replies)
ASPFriends.com 'aspngwebservices' list
Moved from [aspngfreeforall] to [aspngwebservices] by alotofmail@tripleasp.net alotofmail@tripleasp.net ** Before acting on this e mail or opening any attachments please be advised to read Walker Morris' disclaimer at the end of this e mail ** Hi, I'm running a Beta 2 web application which also uses a Windows Control object to do some client processing like merging with a word processor. This cont...
Optional parameters (6 replies)
ASPFriends.com 'aspngwebservices' list
I try to use optional parameter in a WebMethod, WebMethod() Public Function savePC(ByVal p ds As DataSet, Optional ByVal rework As Boolean False) As String but get the error message, "Attribute 'WebMethod' cannot be applied to a method with optional parameters." I have used this function in different programs. Now I need an extra parameter in one program. It would be nice not to have to change in ...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com