all groups > asp.net webservices > february 2005
Filter by week: 1 2 3 4
Help! Web service can't be accessed!
Posted by James at 2/28/2005 6:57:01 PM
I encountered a problem caused by calling a web method and returning a
derived class one of whose property overrides its base property.
Definitions of the two classes are as follows:
public class Class1
{
public Class1()
{
}
public string Name;
}
public class Class2 : Cl... more >>
Problem with minOccurs="0" in client WSDL
Posted by Mike at 2/28/2005 6:39:14 PM
I have created a web service for a client to consume. The element I am
having trouble with is, as described in their WSDL:
<xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" />
<xsd:element name="LocalData">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
... more >>
code security
Posted by willem joubert at 2/28/2005 6:05:35 PM
Hallo,
I need to deploy my 1st web application.
It means that I have to copy my web application on a remote websever for the
deployment.
If my web application is deployed on a remote webserver does it mean that
all the .aspx files will be in the webserver or is it the .dll file that
does th... more >>
XML Document through a web service
Posted by Curt Krueger at 2/28/2005 4:36:06 PM
Hello,
Long day for me, so apologies in advance if I'm asking where the trees
are in the middle of the forest.
I have wrote a errorlog object that stores it's data in XML format. What
I'm wanting to do is stream the XML through the web service, then to a
request made by ASP.NET.
I h... more >>
Consuming webservices in pocket pc application
Posted by Bart Verdonck at 2/28/2005 4:27:49 PM
Hi,
It's my first pda-application that I'm writing in addition to a website and
windows client. But I have some trouble consuming my webservices...
When I add my webreference and build the project I get the following error:
"The type or namespace name 'browsable' does nog exist in the class ... more >>
Strange behavior of webservices
Posted by Alexander Inochkin at 2/27/2005 10:33:02 PM
Hi!
I found same strange behavior of ASP.NET. It is possible this is the bug.
Follow the steps:
I create the simple service, http://localhost/Test/service.asmx
When I go to this link in IE SP.NET shows me page what contains “Invokeâ€
button on it. I can test this service. OK. Late I m... more >>
WebService Proxy Error: Positive number required
Posted by Neil Macdonald [Intergraph] at 2/27/2005 8:03:02 PM
We are attempting to utilize a J2EE\IBM WSA webservice and on the oneway
method call I get the following exception
System.ArgumentOutOfRangeException: Positive number required.\r\nParameter
name: bufferSize\r\n at System.IO.StreamReader
System.ArgumentOutOfRangeException: Positive number r... more >>
Custom Events in Web Services
Posted by Darshan Mehta at 2/27/2005 8:33:02 AM
Hello,
I have created a class with custom events.
The delegate for the event is created before the class is declared.
This event works fine when deployed locally.
I convertied the Class into a Web Service, by adding the appropriate
[WebMethod()] and [WebService()] attributes.
When I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
error adding a proxy in the code behind aspx page
Posted by Don Rajah via DotNetMonster.com at 2/27/2005 3:48:12 AM
Why cant i add a proxy(service) in the following code...this aspx.cs
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using service;... more >>
Deployment Project
Posted by B.J. at 2/27/2005 1:45:02 AM
Hi,
I need to make deployemnt project for my Web service in Visual Studio .NET.
But I do not know
how I can set custom DNS name for my web service e.g. my Web service should
run on domain specialWebServices.myProjectName.edu ?
my Web service uses database in SQL Server 2000, so I need t... more >>
Proxy for WSE 2 enabled web service ?
Posted by Chakra at 2/26/2005 5:09:38 PM
How can we generate a proxy for a WSE 2 enabled web serivce ? If i use
WSDL, it does not generate the class with the WSE prefix ?
Regards,
Chak.
... more >>
VB.NET/ASP.NET Web service woes! Please help!! BMUK
Posted by bronzemonkeyuk NO[at]SPAM hotmail.com at 2/26/2005 9:59:03 AM
Hi,
I'm accessing an ASP.NET webservice from within a vb.net rich client
application.
All goes perfectly when there is an available internet connection (the
app connects and all works as expected)or if the machine is standalone
and has no access to the web (the app cannot connect at all so tr... more >>
problem trying to create a web service from VS 2003
Posted by news.austin.rr.com at 2/25/2005 3:23:40 PM
Hi,
When I try to create a web service type project VS tell me that the web
service is not started on the webserver. Doesn't VS create this for me or do
i need to do something in IIS first?
Is there a walkthrough for setting up IIS and webservice?
Thanks
... more >>
Serilization fails due to object in explicit operator
Posted by ken_Ident at 2/25/2005 10:05:18 AM
I have an object that is marked as [serializable]. When I try to serilize
the object it fails with the famous tempory file not found error :
Error: File or assembly name xogis39n.dll, or one of its dependencies, was
not found.
The actual error using a debug tool that caused the above error ... more >>
Dynamic URL Failure
Posted by WhiskyRomeo at 2/25/2005 8:51:02 AM
I have an solution with several projects which call a web service for the
data retrieval and updates.
The main program is called DMS.exe. When I configure the webservice to use
Dynamic URL and create entries in the app.config file of the following
format, the application can't find the web... more >>
Is it possible to use uniqueidentifier in a web service type Datas
Posted by martinwlarsen NO[at]SPAM online.nospam at 2/25/2005 1:45:02 AM
I have made a web service that returns a typed dataset that includes a
uniqueidentifier field. When I import this web service into visual studio
using add reference I get the following error: Custom tool error: Failed to
generate dataset. Undefined data type: 'anyType'.
Is there anyway way... more >>
SSL Web Service Proxy Authentication
Posted by Toby at 2/25/2005 1:24:01 AM
After running the following code i get the error.
An unhandled exception of type 'System.NotSupportedException' occurred in
system.dll
Additional information: The ServicePointManager does not support proxies of
https scheme.
All i'm trying to do is authenticate to a proxy and then use a... more >>
huh can`t pass datatable ????
Posted by M.Posseth at 2/24/2005 4:47:51 PM
isn`t it possible to pass a datatable with a webservice to another .net app
???
my webservice raises an exception whenever i declare the datatable type
this doesn`t work
<WebMethod(MessageName:="dtModules")> _
Public Sub CarsHaveModules(ByVal dt As DataTable )
End Sub
this ... more >>
Check version of WSE
Posted by moondaddy at 2/24/2005 1:02:17 PM
I just installed WSE 20. sp2, however, I have 1.0 sp1 already installed on
the machine. I created a new WS project in VS2003 and would like to know
which version of WSE it is using. How can I determin this?
Thanks.
--
moondaddy@nospam.com
... more >>
Looking for WSE 2.0 samples
Posted by moondaddy at 2/24/2005 12:24:32 PM
Are there any resources for sample projects using vb.net in VS2003 and WSE
2.0? I have a winforms app and am trying to get my arms around using WSE
2.0.
Thanks.
--
moondaddy@nospam.com
... more >>
About upgrading to WSE 2.0 from 1.0
Posted by moondaddy at 2/24/2005 11:52:47 AM
I've have WSE 1.0 running on my dev machine and am preparing to upgrade to
the latest download of WSE 2.0. do I need to unintall WSE 1.0 first, or do
I just run the download "Web Services Enhancements (WSE) 2.0 SP2 for
Microsoft .NET" (Microsoft WSE 2.0 SP2.msi)?
Thanks.
--
moondaddy@... more >>
ASP.NET 1.1
Posted by Gaurav Vyas at 2/23/2005 1:33:42 PM
I receive the following error message when attempting to use the Creating
New WebProject wizard to :
Visual Studio .NET has detected that the specified Web server is not running
ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or
services
I have tried all the commands... more >>
comunication between 2 WebApplications with Webservices
Posted by topking NO[at]SPAM gmx.at at 2/22/2005 4:05:37 AM
Hello,
First sorry for my english! ;)
I want to communicate between 2 Webapplications!
In the first Application I logged on! Now I want to pass throw the
user to the other Application! I want use Webapplications, but i don't
know how!
I hope someone of you can help me!
nice day!
... more >>
WSE2.0 - best practise guidance
Posted by Benjamin at 2/22/2005 12:53:02 AM
Hi!
I would like to implement WS-Security features using WSE2.0.
Initially the services are consumed by .NET Windows Form Clients.
What do you think is reasonable level of security and safety?
Do you think following configuration of the web services proxies are "good
enough"?
Public... more >>
From working to not working :(
Posted by MA at 2/21/2005 7:18:01 PM
Hi all!
I have a webservice that checks for mail every x seconds with a timer.
I had it set up on a win xp computer and it was working fine.
When I recently moved my webservice to a win 2003 server, it seems like the
timer stops working after a while. I have no idea why.
Actually, I dont... more >>
Error !!! when my webservice is deployed in 2003 server.
Posted by JitheshMenon at 2/21/2005 6:55:50 PM
I have a webservice deployed in 2003 server, then error occurs while
accessing it from a webpage in client side, If deployed in windows 2000 and
other windows versions , its working well ..
Thanks in advance
... more >>
curious problem in production
Posted by Ollie Riches at 2/21/2005 5:04:13 PM
I am having a problem call a sql server stored procedure in a
test\production environment. I am getting an exception from sql server being
propagated back to the web service. The exception is a violation of primary
key constraint. The exception message is:
'Violation of UNIQUE KEY constraint '... more >>
Connect from WebService to a database located in NetWare
Posted by Orger at 2/21/2005 1:34:46 PM
Hi.
I have a number of webservices wich connects to databases located in NetWare
5.
I used Framework 1.1 and stand alone Windows Server 2000 with IIS 5.0.
ASP.NET runs as system user. File "map.bat" is in Windows\System32 directory
map.bat contenet:
NET USE X: \\Market\data /USER:<user> <pas... more >>
calling DCOM from within a web service
Posted by ariella NO[at]SPAM tradertools.com at 2/20/2005 9:47:49 AM
I have an COM+ object on machine A. I can call it from a Windows Form
app on machine B using the Activator class. However, when I try doing
it from a wev service I get a System._ComObject instead of my intf. I
tried to call
Intf = (Intf) Marshal.CreateWrapperOfType(o, typeof(intf));
This fail... more >>
Removing extra information from Soap Exception
Posted by Siobhan at 2/19/2005 10:37:02 AM
Hi
In our web service we cath and throw exceptions to the class as follows:
Catch ex As Exception
Throw New
System.Web.Services.Protocols.SoapException("Unable to login: " & ex.Message,
System.Web.Services.Protocols.SoapException.ServerFaultCode)
Then in our class... more >>
newbie-webservice
Posted by willem joubert at 2/19/2005 10:11:01 AM
Hallo,
I wrote a web application and wants it hosted by an outside server.
Which hosting company will host a .net web application?
Any suggestions will be appreciated.
Thanks in advance.
Willem
... more >>
Adding a Progress Bar to a Web Service Client
Posted by Chuck Hartman at 2/17/2005 7:38:14 PM
The client app that I am developing is calling a web service that may take a
long time to execute. I want to include a progress bar in my client that is
attempts to show the relative time left to complete the current task. I am
using the MSDN article by Matt Powell entitled "Adding a Progres... more >>
What's wrong with doing this?
Posted by MikeL at 2/17/2005 6:17:11 PM
I need to get the XML doc from the deserialized type (seResults) returned
from a web service. Here's what I came up with - thanks in advance:
System.Xml.Serialization.XmlSerializer s = new
System.Xml.Serialization.XmlSerializer(typeof(seResults));
// First, get the size of the result XML doc... more >>
Web References bound at run-time or compile-time?
Posted by Jeff Stewart at 2/17/2005 6:15:08 PM
Are Web References (WSDL references)
bound/refreshed/updated/downloaded/whatever at compile-time or run-time?
I'm trying to understand more about the necessity of WSDLs. If I distribute
a rich client that has been bound to a WSDL at compile-time, and that WSDL
is -not- publicly available o... more >>
Dynamically populating a webform
Posted by Ben Ong at 2/17/2005 3:40:35 PM
Hi,
i'm pretty new to the .NET framework and am looking for some help. Is
there any way to dynamically create a number of hypertext links
dependant upon what is extracted from a database. This is a lil
snippet of my code.
<script runat=server>
for (int i =0 ; i < measureArray.Count;... more >>
Conditional serialization of an element?
Posted by MikeL at 2/17/2005 3:10:35 PM
Hello.
I've created a web service based on a message contract with a business
partner.
In the schema some elements are optional.
How do I prevent an optional element from being serialized into the response
XML (I don't want it to show up) if the value of the element is a particular
va... more >>
How to get the "raw" XML document returned from a web service
Posted by MikeL at 2/17/2005 3:02:38 PM
Hello.
I am consuming a web service by adding a web reference to the service's WSDL
file, and everything works fine.
When I call the service I need to also "grab" the "raw" XML document that
the service returned.
How do I go about this? Do I use the XMLSerializer?
Thanks in advance,
... more >>
URL Behaviour
Posted by Chris at 2/17/2005 1:57:22 PM
We've added a web service to our application. I've set the "URL Behaviour"
property to dynamic.
The put the following key in our web.config file:-
<add key="MyApp.MyWebService.Common"
value="http://localhost/Webservice/Webservice.asmx"/>
This works fine, but I would like to specify a rel... more >>
Adding a new WebMethod , what about old client?
Posted by Ghislain Tanguay at 2/17/2005 11:52:04 AM
If I add a new webMethod in my WebService, does this web service will
continue to work fine with older client?
Tks
... more >>
Read\Update XML file
Posted by siaj at 2/17/2005 10:35:08 AM
Hi..
I m just trying to learn using XML file as a datastore.
I am reading a dataset from a XML file and then trying to update the XML
file with some changes in the dataset.
My code is as follwoing.
Private Sub ReadUpdateData()
Dim dsUser As New DataSet
dsUser.ReadXml(Server.MapPath... more >>
How do I handle errors???
Posted by Mike at 2/17/2005 7:57:15 AM
All,
I am capturing a SQL constraint exception in my web service and am
attempting to "throw" it back at my asp.net page so I can put up an alert
box. For some reason I lose the contraint error and the web page sees it as
an exception.
How do I pass back the original type of the exception t... more >>
Can't add Web Reference if using HTTPS
Posted by MikeL at 2/16/2005 5:00:59 PM
Hello.
I've deployed a WS onto a server on my network. I can add a web reference to
my WinForms app if I specify http, but if I use https I get the following
error:
An unhandled exception of type 'System.Net.WebException' occurred in
system.dll
Additional information: The underlying c... more >>
I'd like to write a WebService update system for our product...
Posted by WTH at 2/16/2005 1:32:18 PM
....and I've got the C# webservice pulling down test version of update install packages just fine, but can the ASPNET account (the
one I assume will be executing the install package (via Process.Start I would guess) install something? I would doubt that security
would allow this.
I know that... more >>
Access Webservice Testpage
Posted by Matthias Marx at 2/16/2005 10:01:39 AM
Hi
A webserice runs o a developer pc. If I access the site:
http://localhost/sample/test.asmx i could fill in my expected parameters.
But I could I do this from a other pc?
How I have to do the configuration to have access.
Cheers
Matthias
... more >>
WebMethod returning a object in a COM dll
Posted by chirath NO[at]SPAM flashmail.com at 2/16/2005 5:30:13 AM
Hi All
I have writen a web method(C#) which is to return an Serializable
object declared in a COM dll. The project compiles & but I am not
seeing any public properties of this returned object. In the WSDL file
I am not finding any details such as public properties of this complex
type how can... more >>
want to build asp.net webservice
Posted by rgauba NO[at]SPAM gmail.com at 2/16/2005 4:07:15 AM
Is it possible to build a webservice in .NET with only .NET framework installed .
only .NET framework is installed on my system.
visual studio .NET is not installed on my system.... more >>
ASP.NET Certificate Problem on Windows 2003
Posted by Pedro Roseiro at 2/16/2005 2:55:02 AM
Im having a problem when i try to get the response of a WebRequest. The error
is "The underlying connection was closed: Could not establish secure channel
for SSL/TLS.".
The code is working fine in a Windows 2000/XP environment but it raises the
error in a Windows 2003 (I tried in 2 diferent... more >>
server error when accessing webservice
Posted by miirpf NO[at]SPAM rediffmail.com at 2/16/2005 2:04:43 AM
when i tried to access a simple webservice from a client program
written in c#, i got the following error :
Server Error in '/Application14' Application.
--------------------------------------------------------------------------------
The request failed with HTTP status 401: Unauthorized.
... more >>
Driving me nuts! WebForms ListBox losing selection whenever button is pushed...
Posted by WTH at 2/15/2005 4:52:04 PM
I'm obviously missing something fundamental here.
I have an ASP.Net web page written in C#.
On this page is a list box that is populated with strings when the page is loaded.
There is a button on this page.
If I make a selection in the listbox, and then push the button, my button handler... more >>
exposing a class
Posted by Mike R at 2/15/2005 1:52:08 PM
I am trying to expose a particular class defined inside my web service. The
class is used by the methods but it is not in their prototypes. It is used
for intermediate processing but I need to expose it to the clients.
How can I do it? One way is declaring a special method, like
[WebMethod] pu... more >>
|