all groups > asp.net webservices > march 2005
Filter by week: 1 2 3 4 5
Calling a Java/AXIS web service from C#?
Posted by Asaf at 3/31/2005 4:42:22 PM
Hi,
The web service I am trying to communicate is based on Java with AXIS.
When trying to invoke a web service from C#.NET I am getting the error:
An unhandled exception of type 'System.Web.Services.Protocols.SoapException'
occurred in system.web.services.dll
Additional inform... more >>
.NET limits a number of HTTP connections
Posted by ildar at 3/31/2005 3:33:01 PM
I believe it was discussed here before but I can't find.
So here's a problem:
For each request I synchronously call a Web Service but .NET limits a number
of HTTP connections you can establish from a particular process. The default
number = 2. So if 2 requests are waiting for Web service... more >>
wsdl.exe with username & password
Posted by Asaf at 3/31/2005 11:43:18 AM
Hi,
I am generating a proxy for web service with the wsdl.exe with username &
password.
Wsdl.exe testservice.wsdl /u:test /p:12345
I can't see the user & password in the generated class testservice.cs
Am I doing something wrong here?
Thanks in advanced for any help.
... more >>
Timeout Settings Doubt!!!
Posted by Vai2000 at 3/31/2005 10:57:01 AM
Hi All, What's the difference between
Timeout on the Webservice proxy object and Timeout on the auto generated
Proxy
//
foo.aspx.cs
localhost.MyWebSvc svc=new localhost.MyWebSvc();
svc.Timeout=1000;
// auto generated proxy
// WebReferences/localhost/Reference.cs
this.Timeout=5000;
... more >>
Web Services and DLLs
Posted by Seppuku at 3/31/2005 3:12:45 AM
I'm new to Web Services, and doing some research on solutions to solve
my business problem.
I have a 3rd party DLL I would like to expose to my web applications.
Can this be accomplished with a Web Service, or are there better ideas
on how to accomplish this?
Thanks!
--
Seppuku
... more >>
file chunking
Posted by JE via DotNetMonster.com at 3/30/2005 7:09:44 PM
Anyone know any component or samples on how to chunk a big file (approx 5MB
+)
to smaller files to handle memory ? File could be an image or plain text
and I want to send it using Http Post not SOAP.
--
Message posted via http://www.dotnetmonster.com... more >>
Some questions on ASP.NET web services on IIS 6
Posted by Navin Mishra at 3/30/2005 5:27:35 PM
1. Is maxIothreads parameter used still in IIS 6 ? For processing web
service requests, I don't see ASp.NET AvailableIOThreads going down ? If I
use another web service from my web service, would IO thread be used or
worker thread ?
2. My web service is used by another web service(A) which ... more >>
Creating WS Client without access to Web Service
Posted by SR at 3/30/2005 4:47:17 PM
I have been provided a WSDL file, but will not have access to the Web
Service itself during development.
How do I create a web reference in my visual studio project using only a
wsdl file?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
tool WSDL error
Posted by Matt R at 3/30/2005 3:50:29 PM
I have a WSDL on the network that defines a service that I wish to consume.
Having added a reference to the wsdl to my project , and tried to build the
project I get the following error.
"c:\inetpub\wwwroot\TestInterfaces\Web
References\UserServices\Reference.map(1): Custom tool error: Unabl... more >>
An Error Ocurred On Web Server
Posted by Arif Çimen at 3/30/2005 1:40:35 PM
Hi everybody,
There is an error occured in the web server:
It says I can not load 'WebApplication1.WebForm1' .
What should I do for it?
Thanks alot for any help.
Arif Çimen.
Server Error in '/' Application.
---------------------------------------------------------------------------... more >>
EnableSession going bye-bye in ASP.NET 2.0?
Posted by MikeM at 3/30/2005 12:07:03 PM
For the life of me I can't find anything online to backup what I thought I
read a few months back regarding session access from web methods.
In an ASP.NET 1.0 app we make use of web methods that have the
WebMethodAttribute EnableSession set to "true". We are revamping most all of
this ap... more >>
ISA Server blocking web services?
Posted by Bruce at 3/29/2005 11:17:58 PM
I am attempting to connect to an Amazon web service. When I try to utilize
Amazon's WSDL to create the web reference via vs.net 2003 (in the "add a web
reference" dialog box), I get the following error...
"There was an error downloading
'http://webservices.amazon.com/AWSECommerceService/... more >>
RemoteOnly error mode causes error
Posted by Paul Davies at 3/29/2005 3:56:08 PM
Hi all,
We have a web service that has been running fine and with no issues. As far
as I am aware no changes have been made to the boxes they sit on (W2k), but
starting about a week ago we get a very odd error occasionally.
The service errors and shows the standard error screen when the er... more >>
Defining a property
Posted by Maziar Aflatoun at 3/29/2005 3:29:53 PM
Hi everyone,
A web service method is declared by
[WebMethod]
public void MyMethod() {
}
However, this doesn't work with get/set property? How would one go about
defining a get/set property in a web service?
ex.
[WebMethod]
public string custFirstName
{
get
{
return... more >>
Web Service Help for a Noob : Returning an XML String
Posted by Nastero at 3/29/2005 1:08:51 PM
Hi All,
I'm trying to learn how to access data in a database via a webservice
and I'm experiencing a little bit of trouble at the moment.
Being a relative noobie to the entire .NET environment and languages,
I'm having difficulty pinpointing what the issue is and how I might go
about fixing... more >>
X.509 certificates and HTTPwebrequest
Posted by Deepak at 3/28/2005 10:15:03 AM
We retrieve data from a company called XYZ through httpwebrequest.
The program is coded using VB.NET
They have given a certificate to install.
This certificate is included with the request object.I use httpwebrequest to
retrieve data. The certificate is added to the client certificates
col... more >>
Tabs on ASP.Net Pages
Posted by SouthSpawn at 3/28/2005 9:57:34 AM
I am looking for a way to add tabs to my asp.net pages. I saw an
application that had tabs on it. It seem as they did it with javascript,
because when you click on each tab. It didn't post back to the server to
load the tab information.
Any Suggestions?
Mark
... more >>
ADO.NET and Webservices
Posted by Himanshu at 3/27/2005 12:00:00 AM
Hello,
I'm trying to build a webservices 'application' that basically allows
any sort of client to plug-in and do do updates to the database
through ADO.NET (ODBC)
So generally like this,
[ CLIENT APP ] <------> [ WEB SERVICES ] <-----> [ ADO.NET ]
Would anyone know of any links ... t... more >>
Ways to get the List of Countries and Cities
Posted by David Freeman at 3/25/2005 11:40:51 PM
Hi There!
I'm trying to create a User Registration page in ASP.NET and wondering what
is the best way to get the list of up-to-date Countries and Cities? Are
there any Web Services on the web that I can use to retrieve such
information? If not, what are the options?
Please, any suggestio... more >>
Global.asax
Posted by Don Gerard via .NET 247 at 3/25/2005 7:31:39 PM
Is there a way to capture the ip and the function call from the Global.asax?
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>+zER0KUynkGA3Ibt5Fi5/A==</Id>... more >>
How to log the SOAP message after serialization on the cleint side?
Posted by bill at 3/25/2005 3:37:10 PM
I know I can use SOAPExtension to read request and response SOAP messages on
the server side for a Web Method. Is there a way to do the same thing on the
client side when you make a Web Service call? I would like to see what is
going out and what is coming in. Thanks for your help.
... more >>
How to Deploy aspx files
Posted by Arif Çimen at 3/25/2005 3:09:29 PM
Hi everybody,
I'm a new be for ASP .NET.
I made a simple project (C# coded web project) and I want to deploy it to my
web site.
My project contains a SQL database.
How can I deploy it to the web site.
And How can I use FrontPage program to deploy my files?
Thanks a lot.
Arif Çim... more >>
dll import
Posted by Jason at 3/25/2005 10:09:03 AM
I have created a dll from a C++ class using .Net and have imported it into my
C# applications (one webservice, one standalone app). It works fine for a
while, but will eventually fail to produce the error
"System.NullReferenceException: Object reference not set to an instance of an
object" ... more >>
Customizing the SOAP response
Posted by Paul K at 3/25/2005 7:57:03 AM
Currently, my web service method ("SubmitNotifications") responds with a
"SoapNotificationsResult" element:
<SubmitNotificationsResult
xmlns="http://tempuri.org/MISOListener/MISOListenerService" />
Is there any way (preferably via attributes) to change the above elements
name to som... more >>
Function Call
Posted by Don Gerard via .NET 247 at 3/25/2005 7:02:21 AM
I am looking for a way to determine what funtion has been called in a web service. I want to log the function name and the IP address of the caller.
Thanks!
--------------------------------
From: Don Gerard
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/... more >>
changing the web service namespace at runtime
Posted by Jonathan Eggert via DotNetMonster.com at 3/25/2005 12:00:00 AM
Does anyone have a method for using a dynamically-generated namespace in a
web service?
Scenario: suppose you're deploying the web service to mulitple servers and
you want the namespace to be generated at run-time to reflect the server or
domain where it resides.
--
Message posted via h... more >>
how to get rid of "http://tempuri.org/"
Posted by Carleton Wong via DotNetMonster.com at 3/24/2005 4:07:18 PM
when I use wsdl.exe to generate proxy files, I always get
namespace="http://tempuri.org/....".
Question: how to replace it using my own names space automatically?
Thanks
Carleton
--
Message posted via http://www.dotnetmonster.com... more >>
Can't compile proxy
Posted by Chris Kennedy at 3/24/2005 11:33:12 AM
I have a webservice. I can create references to it VS.net but I want to be
able to compile the proxy manually. I use the wsdl tool which creates the vb
file. When I compile the vb file with vbc I get a tonne of errors such as
the namespace componentmodel cannot be found. The webservice does wo... more >>
Function Call
Posted by Don Gerard via .NET 247 at 3/24/2005 10:27:17 AM
Does anybody know a way to capture all the function calls to a web service. I want to log the IP and the call, but I don't want to place a call to this function in every WebMethod.
Thanks for your help!
--------------------------------
From: Don Gerard
-----------------------
Posted by a... more >>
Consumption
Posted by Thom Little at 3/23/2005 10:28:12 PM
I wrote a webservice that will be called from websites hosted on seven
different servers.
The test consumer for this application (Consume.aspx) accesses the
information from the web service (CountService.,asmx) correctly.
Consume.aspx was compiled in the same project as CountService.asmx.
... more >>
using http post to transfer Base64 data to a web service
Posted by Jonathan Eggert via DotNetMonster.com at 3/23/2005 4:41:26 PM
I'm somewhat new to web services, but I know enough to create a basic
application.
I need to transmit Base64 data to a web service. To be more exact, I want
to allow a user to select an item (such as an image) and then be able to
use either SOAP or Http Post to send the image to the web servi... more >>
need to help to copy file from server to client through webservices
Posted by Anin via .NET 247 at 3/23/2005 2:26:33 PM
(Type your message here)
Hi,
I have to download a file from the server to the client using webservices. Its an xml file.
Any help would be appreciated.
--------------------------------
From: Anin
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id... more >>
Cannot serialize interface ADODB.Recordset
Posted by Adam Short at 3/23/2005 1:27:26 PM
When returning an ADO Recordset via Web Services I get the following error:
Cannot serialize interface ADODB.Recordset
Any Ideas?
--
Phuture-UK +44 (01202) 518122
... more >>
.NET WebServices Newbie Compilation Error! (imports adodb)
Posted by Adam Short at 3/23/2005 11:21:46 AM
I am trying to use the ADODB functionality of a legacy ASP RecordSet. Why
you may ask, I have my reason's, I will reply!
I have read all over the Net how easy it is to use Visual Studio to do this,
I do not have this luxury! What are the lines of code I need to use to to
do the equivilent... more >>
How do I validate a WebMethod's properties?
Posted by RobertP at 3/22/2005 3:07:02 PM
If I have a WebMethod that takes a parameter, what is the correct way to
validate it? I could throw an exception, but that does not seem right.
public DataSet TestMethod( string MyString )
{
// Validation Code
if ( MyString =="InvalidValue" )
Throw SoapException();
// Real ... more >>
Deployment
Posted by M.D.M. at 3/22/2005 9:27:02 AM
Hi,
I want to deploy my Web service to http://www.mydomain.com/MyWebService.asmx
Where can I set DNS in Web setup project ?
I.e. I want my setup project will configure host header value to
http://www.mydomain.com/MyWebService.asmx for target IIS.
(IIS / My Web site properties / Web site / A... more >>
Web service parameters and WSDL
Posted by Mark at 3/21/2005 8:49:32 PM
Is there a way I can be more specific about the attributes of a web service
parameter. For instance, instead of just defining a string, I would also
want to specify the maximum length allowed for that string or valid
characters for that string. Also, when passing an array, I might want to say ... more >>
Using excel in a webservice
Posted by Bar at 3/21/2005 2:38:35 PM
Hi,
I have an excel worksheet with a lot of calculations which i would like to
incapsulate in a webservice. The scenario is that the webservice opens the
worksheet (by opening excel) fills in an couple of fields, lets excel
compute some values and send these values to the callee of the webs... more >>
HTTP Version Not Supported
Posted by MA at 3/21/2005 11:12:19 AM
Hi all!
Im new to webservices, so please have patience :)
I´m calling a webservice from another company. It´s a simple call looking
like this:
String retval = wsFunction.getXML(myString);
This does not work. I´ve got a error message looking like this:
The request failed with HTTP sta... more >>
Stateful Connection - C# Client talking to Java Web Service
Posted by kapil singhal via DotNetMonster.com at 3/21/2005 10:05:49 AM
I have created a C# Client talking to Java Web Service on Systinet Server
5.0.
I want to make a stateful connection so that the Service is instantiated
only once when the call is placed to the methods.
How the connection can be make stateful??
I have found thru tutorials that:
- the serv... more >>
Slow creation of new WS + session states
Posted by jez at 3/21/2005 3:43:03 AM
I have a two-folded question :
1) Do I need to create a new Webservice each time I want to make a call to a
method from a different form? (it's pretty slow!) I have an application on
..NetCF with different forms; I wish to know whether I can just create a
webservice once and access the webs... more >>
query
Posted by Preeti Jain via .NET 247 at 3/20/2005 11:23:30 PM
Hi,
how to give password in "*" format in method of web Service of C#....
--------------------------------
From: Preeti Jain
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>Y3dttFpO6EOva7QJvRaS1w==</Id>... more >>
client-to-client communication via SOAP
Posted by Bruce at 3/20/2005 10:20:28 PM
I am in the intial stage of architecting and building an application in
which each client running the application will occasionally send a set of
binary files to other "peers" running the same application. The
applications will be managed centrally via a server which will handle
registra... more >>
WebForm_PostBackOptions javascript Error
Posted by Corey at 3/19/2005 6:55:47 PM
I recently received a Javascript error, "'WebForm_PostBackOptions' is
undefined" from an application I'm working on. It occurs during the
PostBack from a DropDownList.
I've created a project which is only a DropDownList, with some Data and
AutoPostBack = True, and it caused the error.
I... more >>
Weird DateTime Regional Problem
Posted by Mark Irvine at 3/18/2005 12:37:32 PM
Hi,
I have a web service that records the status of our engineers, e.g on route,
on site, departed or abort current job. This uses DateTime.Now.ToString("F")
to record when each of the above actions are completed. On my dev server,
W2K3 enterprise, SQL Server 2000 (SP3) and all regional set... more >>
401 Error Webservice. I WANT anonymous access
Posted by Jason H at 3/18/2005 8:09:03 AM
I have tried checking all the right items.
ASP.net Webservice
Windows 2000 Adv Server .NET 1.1
Web.config
Allow Users="*"
Authentication="None"
IIS
Anonymous Access = Checked
Windows Auth = Checked
Any other things to check? Anonymous access work... more >>
How to mantain the state between 2 call of the same WebService?
Posted by Alessandro Benedetti at 3/17/2005 11:13:35 AM
Hi. I'm calling two methods of a .NET Webservice (A) from another Webservice
(B).
The A Webservice is made like this:
[WebService(Namespace="WebServiceA")]
public class WSA: System.Web.Services.WebService
{
private int X = 0;
[WebMethod(EnableSession=true)]
public void... more >>
java client and .NET server problem
Posted by gordongekko at 3/16/2005 10:30:29 PM
Hi,
I'm writing a java client for .NET server. I'm using Java and the
Apache Axis API. When I send a soap request I get back the following fault:
faultString: Server was unable to process request. --> Object
reference not set to an instance of an object.
Do you have any idea of wha... more >>
Object reference not set to an instance of an object
Posted by Jay at 3/16/2005 9:32:22 PM
Hi,
I have a web service which was running perfectly fine under my dev
machine running win xp PRO and under our test server running win 2k.
But since last week service stopped working on server. Everytime I call
it I get above error. I asked server guys if they installed anything in
last wee... more >>
Using COM Interface with Webservices
Posted by Delf at 3/16/2005 5:00:40 PM
Hi,
I'm trying to write a WebService which has to use a COM interface of an
application (C++/Win32).
This application runs under "user mode" on the desktop.
The WebService must use this instance.
In my machine.config, I've written :
<processModel
enable="true"
timeout="Infin... more >>
|