| The question for WebServiceUtil.exe (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspngxml] to [aspngwebservices] by Brad Kingsley sbradk@orcsweb.com Does anyone know where I can find the WebServiceUtil.exe because I try to convert the some of .asmx file ? I really appreciate for your help. Thanks! |
|
| Global XML Web Services Architecture (GXA) (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hello everyone: I have a question for you. Global XML Web Services Architecture (GXA) was introduced at PDC this last year. I was there saw a little about it. Now that I reading a little more about it, I am confused on one main point. The way I understand it, developers can't use and take advantage of these new specifications as of yet and really won't be able to actually use this until Visual Stu... |
|
| authentication via SOAP headers (11 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi! What are the pros and cons about "using SOAP headers to pass username and password for authentificate the client" and "passing the user and password as two parameters in every method call"? Is there any advantage over using headers? Andother one: Is it possible to put the user login into a session in order to avoid db access to authentificate him every time he invokes a method? do I have to pu... |
|
| Stock Quote Web Service (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I am developing an application that queries a web service by invoking an ASMX page, so I am able to use a simple URL (and not UGLY soap) to get the result. The web service I found to "consume" resides on Brinkster. I know this company hosts free and low cost .NET web sites so, although it is really fast, I'm not sure that I want to rely on it for a high profile "executive" application I'm working ... |
|
| Overloading methods in Web Service (7 replies, VIP) |
| ASPFriends.com 'aspngwebservices' list |
| Hi All, I tried a simple Web Service and it works fine. Then I wanted to overload the method, so that I have two web methods in the web service, with different signatures. e.g. WMethod () AS String WMethod (strMsg AS String) AS String But I get an error when I try to run the Web Service, indicating there are two methods with the same name. So, my question is , can a web service have overloaded met... |
|
| Complex data tipe in WS (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I have a web method in my webservice that returns a dataset. It is posible to get the data from another platform (like Java) that not support this type?? How?? |
|
| Error trying to create Web References (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Error trying to create my first Web Reference http://aspalliance.com/dotnetsolutions/WebService11/Service1.asmx?WDSL Value Null was found where an instance of an object was required I am trying to create a web reference using VS.NET It create an empty Web Reference Folder Also I am trying to create thru a remote server Orcweb Every else works in the application works Dennis H. West West Design Asp... |
|
| Consumin a J2EE web service from .NET (9 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi, I am using .NET beta 2 and am able to create and consume web services built using .NET in ASP.NET pages. I want to do a similar kind of thing for a J2EE web service which one of my colleagues has built i.e. add a web reference to it and consume it using .NET. I am actually able to add a web reference but cannot access the service programmatically. I want to be able to do something like this: b... |
|
| Sessions/Windows Forms (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi all, I have a web service, with one session variable. I am using this web service in a Windows Forms application. How do I maintain a session in my Windows Forms application? I have verified that the session variable is working correctly in my web methods when accessed through IE. I am guessing it has something to do with cookies. Thanks, Ryan Duffield |
|
| ? about seeing soap packets. (5 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I am hoping someone can help with this issue. I have been using proxyTrace and the Trace Utility from the SOAP Toolkit and I can see the HTTP GET request and the XML that is returned just fine from my XML Web Services, but how do I see the actual SOAP packet (the soap:envelope soap:body etc.) using these tools? Am I missing something here? Thanks for any help ... I have been pounding my head too h... |
|
| problem with xmldocument (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| hi all i created one web service which contains one webmethod.the return type for this method is XmlDocument. i created reference to this web service and tryed to access this web service method from my .aspx page and assigned output to xmlDocument. but it is showing error that System.InvalidCastException: Exception of type System.InvalidCastException was thrown. i am including code below.please he... |
|
| problem with ASP.NET based SOAP client (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I have a wsdl.exe generated .NET SOAP client, that is talking to a custom SOAP server, when running the client, it throws this exception. Unhandled Exception: System.ArgumentOutOfRangeException: Non negative number required. Parameter name: byteCount at System.Text.UTF8Decoder.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex) at System.IO.StreamReader.ReadBuff... |
|
| help needed on my first consumming web services (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| On the consumining side can you tell me what name spaces I need for web reference * com.aspAlliance Reference.map service1.wsdl %@ Page language "c#" ResponseEncoding "utf 8" Trace "false" Debug "true" % %@ Import Namespace "System.Web" % %@ Import Namespace "System.Web.UI" % %@ Import Namespace "System.Web.UI.WebControls" % %@ Import Namespace "System.Web.UI.HtmlControls" % %@ Import Namespace "S... |
|
| Counting records before binding (2 replies, VIP) |
| ASPFriends.com 'aspngwebservices' list |
| this web service consume works... string Category DropDownList1.SelectedItem.Value; Service1 s new Service1(); DataSet ds s.getSolutionsByKeyword(Category); web service MyDataGrid.DataSource ds; MyDataGrid.PageSize 15; would like to place counting logic here MyDataGrid.DataBind(); I would like to know how to get the count of records before binding them like id when I was reading then from a table ... |
|
| ASP.NET Webservice client & databinding don't play nicely together (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi, I'm attempting to do what i would of thought is a fairly obvious thing, have an ASP.NET page that calls a remote web service and takes the resulting data and databind it to an webform control [datagrid in this case]. The obvious approach, of using boundColumn doesn't work, it generates the error "A field or property with the name 'id' was not found on the selected datasource." The only way i g... |
|
| SoapException (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I have a custom HttpModule that authenticates a user when they make a SOAP request, and I want to throw a SoapException whenever authentication fails. However, when I throw the exception, control returns to the client and it recieves an Html page that's designed to display the error message to a browser. The HttpModule has the following code in it: catch(Exception ex) { XmlQualifiedName name new X... |
|
| doc/literal, validation and envelope headers (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I have a doc/literal SOAP server which specifies the relevant envelope attributes as potentially appearing inside a header [This is required on the server side, so that XmlValidatingReader doesn't throw a validation error if an envelope defined attribute appears on the header] e.g. [from someschema.xsd] x:complexType name 3D"authenticationInfo" x:sequence x:element name 3D"token" type 3D"x:string"... |
|
| WebMethod authorization (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| In a previous thread (authentication via SOAP headers), Mr. Yasser said "you can write a SOAP extension to pull out the key from the header and perform authorization before your method is every called". So I've gone that way. I made this SoapExtension. But I want to go further. I want to authorize the user per WebMethod. Let me explain... * I'm using the authentication/authorization method propose... |
|
| is there a web service to asp.net books (2 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspace moderators] to [aspngwebservices] by Charles M. Carroll darthcarroll@asplists.com This is a multi part message in MIME format. NextPart 000 15E1 01C19D24.50954D70 Content Type: text/plain; charset "iso 8859 1" Content Transfer Encoding: quoted printable Is there a web service to asp.net C# etc that would provide the url to amazon by var 3D authors name if not maybe someone has a... |
|
| Interoperability (12 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hello, I was wondering if anyone out there can point to some good resources outlining any gotcha's when building a SOAP web service with the MS toolkit 2.0. Initially we may be controlling the client and server side, but in the future will probably open up the server for clients to access directly. When this happens we want to ensure our clients can talk to our server with most any of the other SO... |
|
| Compilation Error (2 replies, VIP) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspngstart] to [aspngwebservices] by Charles M. Carroll darthcarroll@asplists.com Getting error: CS0246: The type or namespace name 'WebServiceClients' could not be found (are you missing a using directive or an assembly reference?) I am using the command line compiler csc.exe to compile a cs to a dll that is supposed to reference the WebServiceClients. When I write "using WebServiceCl... |
|
| CacheDuration attribute (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Hi everybody! Right now I was trying the CacheDuration attribute. I have this [WebMethod(CacheDuration 60)] public DataSet GetMyStations() { .. return a simple dataset } I invoked it (via proxy not asmx wrapper) and get the data. And inmediately after that I write some new data to the db. Before the 60 secconds goes I invoked it again and the newly data was there. So I thought that CacheDuration m... |
|
| charts, WebServices & CrystalReports (3 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Moved from [aspngfreeforall] to [aspngwebservices] by Charles M. Carroll darthcarroll@asplists.com Hi! I want to return a bar graph as the result of a WebService. I've take a look at crystalReports which comes with VS.NET and it has the ability to publish a Report as WebService. But in order to read it on the client side of the webservice I need to use the CrystalReportViewer server control and th... |
|
| Compliance with SOAP 1.1 (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| I am developing a web service that must be compliant with SOAP 1.1 specifications, and will be consumed by Pocket SOAP, Java and CLR clients. I have a System.Data.DataSet object that I am returning from the web service, and it contains guids. Is a DataSet compliant with SOAP 1.1? Is it difficult to consume on the client if it is used over some other method. And if so, what is the other Method? Is ... |
|
| Webservice Scope Question (4 replies) |
| ASPFriends.com 'aspngwebservices' list |
| Please, take a look in the sample code below : Defining: namespace RSJSis { public class MyWebService : WebService { private bool mbChecked; MyWebService { mbChecked false; } [WebMethod] public void InitMyWebService() { mbChecked true; } [WebMethod] public bool GetMyWebServiceInit() { return mbChecked; } } } Working: . . . MyWebService aService; aService new MyWebService(); aService.InitMyWebServi... |
|