all groups > asp.net webservices > july 2006
Filter by week: 1 2 3 4 5
WebService proxy class naming
Posted by Paul at 7/31/2006 4:48:04 PM
I have simple web method like the following:
[WebMethod(Description = "Gets an instance of the Person class.",
MessageName = "Person")]
public Person GetPerson()
{
return CreatePerson();
}
When I compile the web service, it generates the following WSDL snippet:
<s:element name="... more >>
serialization
Posted by douglas wittner at 7/31/2006 12:17:11 PM
i am not sure if this is the correct place to post this; but can anyone tell
me why this class would not be serializable?
i can persist this in a blob so i am confident it would be serializable.
when i access via a web service i get:
"The 'taxValues' is of type TaxOutput, which does not supp... more >>
How to use HastTable in WebService
Posted by KNLN Ravi Shankar at 7/31/2006 5:31:02 AM
hi all,
i need to use a hashtable and return it in webservice. no problem
even this works in only .NET environment. How can i do it.
... more >>
how to serialize web service proxy class
Posted by su.k.mishra NO[at]SPAM gmail.com at 7/31/2006 4:13:33 AM
hi all,
i am getting error when i serialize web service proxy class.
error:--"There was an error reflecting type
'TEST.Service'."} System.Exception {System.InvalidOperationException}
inner exception :-- [System.InvalidOperationException] {"Cannot
serialize member 'System.ComponentModel.C... more >>
Web service fails to run on Windows 2003
Posted by Tom at 7/30/2006 8:30:01 PM
Hi,
We have a web service (developed in C# framework 1) that run for some time
on Windows 2000. Recently we upgraded it to framework 2 and run successfully
on Windows 2000 and XP. However, we cannot run it on our new Windows 2003
box. The service runs and we can even instantiate it but the... more >>
ASPNET user
Posted by mrsh at 7/29/2006 10:23:54 PM
as we know The .NET Framework runs all ASP.NET processes under the local
ASPNET
account.
is there anyw ay that I can change the user and instead of a local user use
a Domain user ?
thnx
Mahmoudreza
... more >>
Who is responsible creating client certificate?
Posted by Daniel Lee at 7/28/2006 4:22:47 PM
My company is providing asp.net web service method to a third party company.
It's implmented using client certificate authentication over SSL. My network
manager generated a client certificate for the company. However, the company
decided to create their own. The issue is that they need to ha... more >>
VB Project files
Posted by Ian at 7/28/2006 8:34:02 AM
What has happened to the vbproj file with Web Services written in VB 2005?
Have they become redundant? Because the web service I am involved in
developing, written by a colleague in VB 2005, doesnt seem to have a vbproj
file. Yet it still runs.
Also, if vbproj files are not used in Web Ser... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem running a service when moved
Posted by Rainer at 7/28/2006 12:25:01 AM
Hello from Germany
I made a simple webservice on my local IIS with VStudio 2005
When I copy the Files in App_Code, App_Data servicexxx.asmx to another
Virtual web on my own server or when I copy these files to our productive
webserver into a working web it doesn't work
What did I forget?
... more >>
Proxy issue
Posted by Craig Buchanan at 7/27/2006 2:44:53 PM
I am able to connect Asp.Net v2 application to a remote .Net v2 webservice
by specifying the proxy settings in code:
Dim proxy As WebProxy = New WebProxy("proxy.company.com:80")
proxy.Credentials = CredentialCache.DefaultCredentials
dim service as New RemoteWebservice
service.Proxy = proxy
... more >>
Serializable object as input parameter to web method
Posted by deja NO[at]SPAM 2bytes.co.uk at 7/27/2006 11:43:22 AM
Hi
I have a class library that defines a serializable class. I reference
this library in both my Web App (front-end) and my Web Service.
My web service expects an instance of this class as one of the input
parameters for one of its methods. I thought I could just create an
instance at the f... more >>
...The ISA Server requires authorization to fulfill the request...
Posted by Craig Buchanan at 7/27/2006 7:59:07 AM
I recently published a web service that works on my workstation to my ISP.
I have no authenication restrictions on the site, nor do i have restricitons
on the web service itself (<authentication mode="None"/>). I am behind a
corporate firewall, however.
In the process of changing the test... more >>
WS- I Basic Profile - Clarification
Posted by Rasheed at 7/26/2006 3:18:01 PM
Please forgive my ignorance as I’m new to SOA related interoperability
issues. The requirement is to build interoperable web services which should
conform to WS-I Basic Profile 1.1 (This requirement came little late in the
development life cycle)
The current web service implementation hea... more >>
Switching between two web servers?
Posted by Leyla at 7/26/2006 2:39:23 PM
Hi All,
I have two web services, on two different servers, if one goes down, I
want to be able to switch to the othere one. until the first web
services is back up.
is there way to this.
Thanks Leyla
... more >>
Consuming C#.NET web services in PHP
Posted by Chand at 7/26/2006 8:07:02 AM
Hi,
Can someone help to access C#.NET web service from PHP. I check online but
there is no such a good article on this with step by step information.
Thanks
Chand... more >>
Looking for a directory of local developers
Posted by Tony at 7/25/2006 11:12:59 AM
Does anybody know of any good web sites for looking for local developers
that are skilled with porting a VB app to an asp.net app?
Thanks
... more >>
AllowMultiple in Soap Classes
Posted by Anbu at 7/24/2006 10:44:04 PM
I read an article on implementing multiple Attributes for a method
using [AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
attribute.
How to enable AllowMultiple in SoapClient & SoapService implements?
Any documentation would be helpful.
TIA
... more >>
No connection could be made because the target machine actively refused it
Posted by hufaunder NO[at]SPAM yahoo.com at 7/24/2006 11:20:29 AM
I have a website that consumes a webservice. Both of them are in the
Default Website folder. I can execute the service without any problem
when I go to the test page http://localhost/Service.asmx. When I try to
consume that webservice from the website I get the error shown bellow.
In my web.conf... more >>
calling web services method in asp.net page throws error
Posted by gane at 7/21/2006 3:58:44 PM
Hi,
I am calling a web service method in a asp.net page. This works fine if the
web services is in the local system,
but when i put in test server and reference it in asp.net page, it throws
error saying
Server was unable to process request. --> Object reference not set to an
instance of ... more >>
Access To The Path ... Is Denied
Posted by hufaunder NO[at]SPAM yahoo.com at 7/20/2006 9:50:49 AM
I have a website that uses a web service that is located on the same
machine. This webservice calls a program which in return modifies a
file in c:\documents and Settings\All Users\Application Data\...'.
Unfortunately, whenever the webservice is executed I get the following
error message:
Acc... more >>
Unify datatypes of different webservices
Posted by Achim Domma at 7/19/2006 12:00:00 AM
Hi,
I have two distinct web services, which use common data structures as
parameters and return types. If I add references to both web services, I
get distinct data types for these structures. Is it possible to specify
some kind of mapping, which says: Map structure SA from web service WA
... more >>
Passing Parameters
Posted by RajeevSekar at 7/18/2006 5:21:47 PM
Hi Experts,
I am trying to invoke a web service created in asp.net from asp, i did
that through this code
postUrl ="
http://localhost/RajeevProjects/F10CRMLeadCreationService/F10CRMLeadCreationWS.asmx/LeadCreation?XML="
Set xmlhttp = server.Createobject("MSXML2.XMLHTTP") xmlhttp.Open
... more >>
The Underlying Connection was closed
Posted by RajeevSekar at 7/18/2006 3:18:38 PM
Hai Experts,
I am trying to call asp.net web service from a asp page,
i am using the following code to do this
Dim objSoapClient Set objSoapClient =
Server.CreateObject("MSSOAP.SoapClient")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
objSoapClient.mssoap... more >>
Calling web services from .NET
Posted by Scott Baierl at 7/18/2006 8:08:43 AM
I have an ASP.NET application that calls web services on another host. Is
there a way that you can control the lifetime of the underlying TCP
connections that .NET uses to make the web service calls? From what I
understand, by default, .NET is configured to use a maximum of two
connections... more >>
Problem running a service when moved from test to production.
Posted by WinDev at 7/18/2006 8:07:02 AM
One of my guys is having a problem where when he moved a webservice from our
devo system to our production server he is now getting the following error:
Server was unable to process request. --> Unable to generate a temporary
class (result=1).\nerror CS2001: Source file
'C:\\WINDOWS\\TEMP\\... more >>
proxy error when consuming web service
Posted by J Ames at 7/17/2006 9:32:04 AM
I'm confused on this one. I work behind our company firewall. I created a
web service that accesses an external web site, using the WebProxy class,
and when I test the web service in the browser, it works perfectly. It
passes the correct credentials and returns data as expected. However, w... more >>
Problem: My web service calls only open a single connection to the web service machine
Posted by Scott Baierl at 7/15/2006 3:44:31 PM
I've got a web application that makes web service calls to a J2EE back-end
server farm. It appears that the .NET runtime is setting up a single
connection to one of the J2EE servers on the back-end, and sends all the web
service calls over this connection. We have a CISCO CSM between the .NET
... more >>
WebService with VB6 y ASP.NET
Posted by NN at 7/14/2006 10:30:53 AM
Hello, I have a question.
I have a program made in VB6 that caputure the images that are transmitted
by a webcam and records it in a database in MySQL. I want to do a WebService
in .NET that allows that this program should save the photos in this
database, but acceding across the WebService, a... more >>
web service and forms authentication?
Posted by David at 7/13/2006 5:13:02 PM
I am studding for the MCAD exam, and the MS book states that you can
use forms authentication with a web service. However, how can the end
user enter the id/pw on a service call?
... more >>
Issue using WebServiceStudio with WSCF
Posted by BigDave at 7/13/2006 10:18:51 AM
Anyone using WebServiceStudio 2.0 (from GotDotNet) to test a web
service created with the help of Thinktecture WSCF
(WebService-ContractFirst)?
My issue is that when pulling up the .asmx?wsdl, there is an import
pointing to the actual WSCF wsdl, as in:
<wsdl:import namespace="http://Product... more >>
Web services vs database access
Posted by lmestre at 7/12/2006 6:06:17 PM
Hi,
I am designing a system and i need to publish a service, in order to
integrate different applications, my obvious answer is that it could be
a web service. But this service wil need about 500 requests per second
(xml size=100 kb). My question is how different is a store procedure
access tha... more >>
System.Net.CredentialsCache.DefaultCredentials not working
Posted by tom.sorensen NO[at]SPAM agresso.no at 7/12/2006 6:49:05 AM
Hi.
I'm trying to authenticate from an asp.net client to a web service on
two different machines is the same domain. From what i gather I'm
supposed to use the following code in my client in order to
authenticate using my domain credentials:
service.Credentials = CredentialCache.DefaultCred... more >>
aspnet_wp unable to make remote connection in .net framework 2.0
Posted by StealthEX at 7/11/2006 8:35:02 AM
Hi,
I have a .net 2.0 web service that acts as a messaging hub that takes a SOAP
request from a single source and then sparks of a bunch of requests to
multiple web services. This worked fine in .net 1.1 but now we've
re-engineered it and written it using .net 2.0 and now it doesn't work. We ... more >>
Writing Text Files with SSL Web Service Not Working
Posted by defrankc NO[at]SPAM yahoo.com at 7/7/2006 10:59:54 PM
Hello:
I have a very basic .NET web service that accepts a simple text message
from the calling page (I'm just using the built-in test page right now)
and I want to write that message out to a text file on the local file
system on the server. The file is being written into a subdirectory of
... more >>
UDDI 3.0
Posted by Raghu at 7/7/2006 1:51:51 PM
Does microsoft have an implementation of UDDI 3.0? If so, I would appreciate
if you can direct me to right resource...
Thanks.
... more >>
adding a web reference times out. .NET Web Services
Posted by benkayam NO[at]SPAM gmail.com at 7/7/2006 6:21:44 AM
Hi,
Searching this problem I found that many people had it with VS 2003,
but with out any fix.
does any body know what to do?
this is my case:
windows 2003 sp1 installed on the server.
vs 2003 at the workstaion.
built the hello world web service sample and I just can't add a
reference to... more >>
Web service only allowing 2 connections
Posted by Gareth O at 7/7/2006 5:25:01 AM
Hi - I have a c# asp .net (1.1) web service, which i'm calling from a windows
service on the localhost.
However many requests i make to the web service, and however much cpu/memory
is available, it will only process two at a time, queueing up the others
until one of the current two finishes... more >>
share price feed web service
Posted by scottrm at 7/7/2006 3:25:01 AM
Anyone know about a web service where you can get a feed of share/stock
prices. I would have thought there woudl be a lot of them out there but I am
finding it hard to find any with a google/yahoo search.
Alternatively anyone know about any good diretories of web servcies.
Thanks
--
Sco... more >>
change web service URL at runtime
Posted by mike.aes NO[at]SPAM gmail.com at 7/5/2006 10:40:06 PM
Can the URL of a web service be made variable at run-time?
I have an app that uses web services. At runtime, I'd like to toggle
between two different web servers that host the identical set of
services (production vs. development). Can this be done and if so,
how?
Thanks.
... more >>
Asp .net 2.0 Unable to Connect to Remote Server
Posted by haroldbk at 7/5/2006 8:19:44 PM
I have a small Asp .net 2.0 application with a web reference to a
Webservice.
Running locally works fine, but when I run it from the Web Server the
exception Unable to Connect to Remote Server is returned.
Tried 2 different Web Services - both locally on from the Web server.
This is a code ... more >>
accessing html fields
Posted by Jessica Weiner at 7/4/2006 11:34:56 PM
I have an input field defined outside the <form> area. Its a simple html
text input that is used to enter the number of hours.
<input id="HoursField" name="hours" type="text" />
I want to access this field from the server side (c# code). I tried these
two methods to access the field but th... more >>
Question on Exception Handeling in webservices?
Posted by ltnats NO[at]SPAM yahoo.com.au at 7/3/2006 5:45:43 PM
Hi there,
I have been developing a webservices data access layer for a
project I am working on. I have researched exception handling in
webservices and found that global handling of unhandled exceptions can
be done using a SOAP Extension. I have implemented one of these
successfully. ... more >>
Enum Problems
Posted by Oldman at 7/3/2006 7:02:02 AM
I have an enum being passed into one of my webservice methods.
The actual enum is defined as follows:
[pre]
public enum StatusType
{
SPECIAL_1 = -2,
SPECIAL_2 = -1,
ENUM1 = 1,
ENUM2,
ENUM3,
ENUM4
}
[/pre]
The issue is... more >>
web service return value is a class
Posted by douglas wittner at 7/2/2006 2:52:22 PM
afternoon, i was hoping someone could offer up some advice.
i have a client and web service.
the client is consumed by a web site. the client contacts the web service
for a result this is a class.
this class instance coming back is in a library as so all can have access to
the types use... more >>
|