all groups > asp.net webservices > november 2007
Filter by week: 1 2 3 4 5
Can't provide constructor parameters
Posted by John Granade at 11/30/2007 5:34:37 PM
It seems like this should be easy but I must be missing something...I'm
trying to create a web service class that accepts is instantiated with
parameters but I always get just the new() option (parameterless). Here's a
very simple example of what I've tried.
------Web Service----------
<S... more >>
Starting new process with user interface from webservice
Posted by Jorge Alves at 11/29/2007 11:39:00 PM
Hi!
I want to know if it is possible to open a UI of a process, calling a
webservice.
I read the a previous answer, to "Wally" <Wally@discussions.microsoft.com>.
If I logon (I've changed the local policy, and webservice and client are all
local) as the ASPNET user, I think I have the same de... more >>
Passing classes
Posted by Roby Eisenbraun Martins at 11/29/2007 4:49:03 AM
Hi,
I have a solution working with a webservice project, userinterface project
and they both reference to a personal framework project.
When I create a method on the webservice project using a class from the
framework and I call that method from the userinterface it crashes with a
ambiguo... more >>
web methods returning boolean : always returns false
Posted by ndrw_cheung@yahoo.ca at 11/27/2007 5:49:10 AM
Hi, all. I have a created a web service with a web method that returns
a boolean (bool) value.
[WebMethod]
public bool IsUser(String username)
{
....
}
When I tested it on the local server using the .asmx page, it returns
the appropriate value depending on the parameter passed in.... more >>
How to dynamically configure a webservice address?
Posted by John Dow at 11/26/2007 12:56:37 PM
I have an ASP.Net project, in which I added a web reference, for example
http://Sandbox/service.asmx
after I pass the testing, I want to change the web service address to
http://Production/service/asmx, which has the exactly same interface as the
sandbox.
My question is how to dynamically con... more >>
Newbie: does not have a parameterless constructor
Posted by vncntj at 11/24/2007 4:07:44 PM
I'm working on my first Web Service and need to display data from a
Sql Database. I get this error message:
"Telemarketing.TUsers cannot be serialized because it does not have a
parameterless constructor."
I have my "proxy ?" content page TUsers.cs
using System;
using System.Collect... more >>
Creating a Web Service (Service, not Client) from WSDL
Posted by Bert Leu at 11/23/2007 7:49:52 PM
Hi
I understand, that the "normal way" in creating Web Services is:
Creating Web Service --> WSDL --> Creating Client
Unfortunately, I have to create a Web Service (Service, not Clinet) from an
existing WSDL.
Can somebody tell me, what's the right way to do this?
Any hint is muc... more >>
Extra 'invisible' characters in soap packet
Posted by R. K. Wijayaratne at 11/21/2007 3:16:47 PM
We are using .NET 2.0 and WSE 3.0 to call a Java web service. It sets
charcter limits to certain feilds (e.g. max 100 chars) and if there
are more than the expected number, it throws an error. So what we do
is we retrieve the data from the MSSQL database, truncate it to 100
characters if it is o... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error HTTP 404 When I try to access a page with a Gridview
Posted by lufrenette@reg6.health.nb.ca at 11/21/2007 9:21:43 AM
Hi,
I get this error :
"HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make
sure that it is spelled correctly."
when I try to access a page that has a g... more >>
Web service is not releasing SQL05 locks
Posted by DG at 11/20/2007 2:35:03 PM
I've built a web service that is performing edit tasks on SQL05 tables. When
the service performs a table update 9 process locks are generated in SQL05
which do not get released. Each time the update query runs a new set of 9
process locks are generated. If five web service updates are perf... more >>
wcf and returning a datatable
Posted by dave at 11/19/2007 12:51:29 PM
i have a working wcf service and am having problems returning a datatable
from the wcf service.
I am able to return properties and collections of objects however when
returning a datatable i am getting a returned type of
'CheckListResponseCheckListResult' (where checklist is the name of the
... more >>
Is soap client proxy that wsdl.exe generates thread safe?
Posted by Max2006 at 11/15/2007 1:25:51 PM
Hi,
I have a static reference to a soap proxy at client side and I am concern
about its thread safety. All parts of the application are calling the same
web methods quite often. Is the code that wsdl.exe generates for web service
client thread safe?
Thank you,
Max
... more >>
Pass through Windows Identity to Web Service
Posted by Noremac at 11/15/2007 11:25:04 AM
I have a web site. It's business layer is accessed through another web
service. Both are hosted on IIS.
When this application is deployed on the intranet, we have people access it
through their AD accounts. Ideally, we want to pass the Windows Identity that
is accessing the website through ... more >>
Best Way to transfer Information Outsiide the firewal
Posted by RSB at 11/14/2007 12:23:35 PM
Hello Everyone,
I am working on a app which is with in the firewall and we have a
requirement for some folks out side to access some of the information. Now
we cannot send the information via Email. So what other options we are left
with .. by which we can push this information to outside f... more >>
How to format schema validation message
Posted by Nick Locke at 11/13/2007 12:57:32 PM
I have some code running within my Web Service which validates the incoming
XML against the XSD. It is working well and picking up errors as I would
expect. However, the "message" property within
System.xml.Schema.ValidationEventArgs (which is where the error ends up)
looks a bit messy:
T... more >>
WCF and Kerberos
Posted by Rob Vettor at 11/13/2007 11:26:11 AM
Have question concerning WCF and Kerberos Security.
We are on-site for a large customer architecting a service-based solution
that will implement WCF.
The customer is a large hotel chain that desires a back-office solution that
can run in stand-alone mode at each hotel property. These pro... more >>
Source of a web service request
Posted by BillGatesFan at 11/13/2007 10:23:57 AM
Is there anyway to tell when a web service is called, where the call
came from? Like IP address. In the code?
I have a web service where I would like to know where the call came
from then I want to do something different if the call came from a
certain IP address.
Thanks
... more >>
Generate WSDL from command line
Posted by Yahor Sinkevich at 11/12/2007 12:42:01 PM
Is this possible to generate WSDL without WEB service deployment? Just during
build using command line tool?
Thanks... more >>
User defined Serialization for LINQ to SQL generated classes
Posted by Benjamin Kalytta at 11/11/2007 5:19:44 AM
Hello there,
is there a way to override predefined Serializer for LINQ to SQL class objects?
MSLinqToSQLGenerator generates classes for accessing Database.
I want to create a Webservice which should be able to do certain Operation on
Database and should serialize certain objects. Serialize... more >>
noobie questions
Posted by jtv357@gmail.com at 11/10/2007 1:30:35 PM
Hello all. I need help with some development concepts. Hopefully
someone out there can assist.
1-What is the concept of serialization as it relates to web services?
2-Can anyone explain the concept of a recursive algorithm or function
and what practical uses would you employ a recursive functi... more >>
Custom WSDL, Error while adding as web reference
Posted by MD at 11/9/2007 8:37:52 PM
Hi,
I am trying to add a custom WSDL file I created and add it in another
project. And I get the following error:
Custom tool error: Unable to import WebService/Schema. Element binding
named StockQuoteBinding from namespace http://myadvancedwebserviceURI/
is missing.
Any help will be of ... more >>
Web service test page uses internal port
Posted by Ben M at 11/9/2007 12:22:00 PM
I am having trouble with the ASP.NET web service auto-generated test page
which is created automatically when a web service is defined. It adds our
internal port number in the form submit location which breaks the page since
our external port number is much different. Is there any way to set... more >>
Web Service versus WCF Service (and Books)
Posted by kellygreer1 at 11/8/2007 1:40:14 PM
hey group,
How do you know when you should write a basic .asmx Web Service versus
using the new WCF Service model?
Is the old method deprecated? Is there any good Microsoft websites
that explains Microsoft's direction in this regard?
Secondly, as a .NET developer which books should I be re... more >>
Server Interface
Posted by Nick Locke at 11/7/2007 10:24:24 PM
I am using the /si qualifier on wsdl.exe to generate code from WSDL. I am
then writing a class which implements the interface - text book stuff.
I can see that the class which implements the interface has a Get/Set
property for the SOAP Header, but I am at a loss as to how I actually get
h... more >>
Timeout when debugging in web service
Posted by Dale at 11/6/2007 10:33:03 AM
I am trying to step through a web service call in .Net 2.0 with VS2005. The
application is running in the VS2005 web server, not IIS. The web service
client is a .Net 2.0 console application.
At one call to a long running method (about 20+ minutes in production) the
client throws a timeou... more >>
Contract First WSDL - Best way to validate incoming XML against Schema?
Posted by Nick Locke at 11/5/2007 12:26:55 PM
I have a fairly complex collection of WSDL definitions and associated XSDs.
I have used WSDL.EXE with the /si qualifier to generate a Class. I have
then written my own code to implement the Class. That all works fine.
BUT, I need as a first step to validate that the incoming XML is valid
... more >>
a sample web service to return SOAP fault message for application error
Posted by rahulkr.iitk@gmail.com at 11/5/2007 10:10:43 AM
Hi,
I'm looking for a free web service, which can return back SOAP fault
message in case of an application error filling <detail> element in
SOAP.
I couldn't find one on xmethods.net.
... more >>
soap extensions
Posted by Bhuwan Bhaskar at 11/4/2007 8:06:18 PM
hi,
What are soap extensions? how can we use them?
Thanks n Regards
Bhuwan
... more >>
Passing an array of images to a Web Service. Can this be done?
Posted by BillGatesFan at 11/4/2007 2:12:02 PM
We need to send images to a machine so they can be processed and
adding to our web server. Can a asp.net accept an arry of images(maybe
an array of byte arrays)?
Any help is appreciated.
... more >>
Error while accessing Java web service from a .NET application
Posted by psengunthar NO[at]SPAM gmail.com at 11/2/2007 3:43:47 AM
Hi
I have a c#.net application which is trying to access a java web
service,
I get the following error:
"<SOAPAction name> Unknown SOAP Action(possibly not yet implemented)"
the same method is accessible through JAVA client code.
It is a SOAPHeaderException. We have two set of webservi... more >>
Passing a Class to a Web Service
Posted by ohioguy at 11/1/2007 11:56:16 AM
I would like to pass a class to a Web Service. I have created an xsd
file and have converted it to a class using the following command:
xsd HelloWorldSchema.xsd /c /l:cs
The class file is generated but the Service.cs file is not recognizing
the new class. I've posted the code in hopes someon... more >>
|