all groups > dotnet web services > february 2008
Filter by week: 1 2 3 4
How to return a user-defined data type object from a webservice?
Posted by nano2k at 2/29/2008 12:57:59 PM
Hi
In my solution I have 3 projects:
1. A class library. Let's name it CL (let's also name the namespace as
"CL").
This class library defines a type like this:
[SerializableAttribute()]
public class Person {
//default constructor
private string m_firstName;
private string m_last... more >>
WCF and fileStream
Posted by Ross at 2/29/2008 7:48:06 AM
Is it possible to pass a file stream in WCF and if so can you pass an
array of them?
Thanks... more >>
Web service returning custom class fails if not running full trust
Posted by Richard Taylor at 2/27/2008 1:38:00 PM
I have some web services that I've written and a forms application that calls
my web services and is deployed using ClickOnce. I don't want to run the
forms application in full trust but it doesn't work if I don't. The problem
is that some of the web service calls are returning a custom class.... more >>
newbie question
Posted by at 2/27/2008 1:21:02 PM
Hello,
I was wondering if anyone knows of a way or can point me to some
documentaion that shows how I can send a datasource into a webservice.
Thanks
... more >>
static wsdl in .net
Posted by Geir Forsmo at 2/27/2008 6:59:52 AM
Hi!
I am trying to create a web service from a wsdl from a external part.
The external part is running as a client, but forces us to use their
wsdl specification because they are communicating against several
other parts which also must follow their wsdl contract. Now we are the
only one that... more >>
Webservice compression, what gives? :(
Posted by John Sheppard at 2/27/2008 12:00:00 AM
Hello,
Can anyone recommend the best way of compression soap packets? or a book or
a webpage with detail instructions on how to do it...not even my microsoft
webservices book has more than a page on compression....
I can't seem to get anything to work :(
http://weblogs.asp.net/pglavich/... more >>
Issue using an unmanaged dll in a ASP.Net 2.0 Webservice
Posted by austirob at 2/26/2008 11:37:00 PM
Hi,
Any help with this problem would be greatly apprecicated as it is driving me
insane.
I have an ASP.NET 2.0 Webservice running on Windows server 2003. The
webservice calls a function in a legacy (unmanaged) C++ .dll which takes an
XML string and returns an XML string. It all... more >>
Problem with Nusoap & c#
Posted by BOB Le Bricoleur at 2/26/2008 3:13:44 PM
Hi,
I have a small web service written in PHP with NuSOAP which describes a
type "Categorie" and a function "GetCategories()".
I'm trying to access it with a C# application.
Here is the generated code where the error occurs:
---------------------------------------------------------------... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problems starting a scheduler from Application_Start()
Posted by austirob at 2/25/2008 12:31:00 AM
Hi,
While I realise that this may not be a very nice solution architecturally, I
kick off a Scheduler in an ASP.NET 2.0 webservice in Application_Start()
which is supposed to call a stored proc in a database once a day every day.
The code works on the day that the webservice is deployed, b... more >>
Init method?
Posted by sameertanna at 2/22/2008 7:55:01 PM
Hi,
I was wondering if there is any "Init method" that is called when the web
service is first deployed. I would like to initialize certain objects when
the web service is first deployed.
Any help/suggestions will be highly appreciated.
Thanks !... more >>
using web service task in SSIS package
Posted by soworl at 2/21/2008 10:25:00 AM
Hi,
I made one WCF service hosted in IIS on my server machine.
I'd like to call this service in SSIS package.
but I got timeout error.
the HTTP connection manager allows only 300secs, but I need more.
How can I solve this?
I read some article, but someone says I need to ues Proxy server.... more >>
Is it possible to put web service call in a queue??
Posted by cooleader320 at 2/20/2008 9:03:00 PM
Is it possible to call a web service by MSMQ?
my scene as follows:
I have a web MyService.
WebMethod1(string reponseXML)
WebMethod2(ResponseEntity reponseEntity)
I want to make sure always successfully when calling
MyService.WebMethod until
service is available.
(because of some reas... more >>
calling a web service without an extention???
Posted by JP at 2/20/2008 4:04:03 PM
I have a friend that used a program called CICS2WS that created a WSDL to
allow our PC programs to retrieve mainframe data. In the WSDL that was
created, the <address location> tag only contains the URL for where the
service is located
<wsdlsoap:address location="http://mydomain.com/servic... more >>
Can we access multiple service host in client?
Posted by Kaushal Mehta at 2/19/2008 10:33:00 PM
Hi,
Can we have implementation similar to this one ?
1. I have one service host giving me calculator service (on server).
2. I have other service host giving me alarm service (on different server).
3. Can I use both calculator and alarm service in my web service client ?
How can I achieve... more >>
.Net application call a stored procedure directly or should a .Net application call a web service, or is WCF better
Posted by Nexstar at 2/19/2008 7:40:46 PM
What is the fastest way to access the database for performance point
of view? Should a .Net application call a stored procedure directly or
should a .Net application call a web service, or use WCF, or is there
another way?... more >>
Bugs in .NET 3.5 Web Service (Dynamic)
Posted by Jordan Z. at 2/19/2008 1:27:00 PM
We did a same code base test between 1.1 and 3.5.
In 1.1, when your .NET application reference a library with web reference
(dynamic), you can always easily overwrite the default URL by specifying a
different URL in your app config file or web config file.
Now, in 3.5, I find that this no... more >>
.NET WebService Method Fails to read an input parameter of string type via SOAP 1.1
Posted by Uri at 2/19/2008 4:36:18 AM
Hi all,
This is my first post here so hello everybody.
I have just created a webservice that accepts a string that will be
parsed as a XML document, that is not important in this case.
The question is that if I consume the WebService with a .net proxy the
parameter is read perfectly, but when... more >>
Supporting Different SSO Tokens With ADFS
Posted by Andrew Hayes at 2/17/2008 11:09:01 PM
We have a web app that is shared by several clients, and currently uses forms
authentication.
Two newer clients would like to use SSO, so that their users don't see the
logon page.
They both use 3rd party products to handle SSO with their other vendors.
One uses Kerberos tickets. The ot... more >>
SOA using .Net
Posted by Kaushal Mehta at 2/14/2008 10:22:00 PM
Hi,
I have Visual Studio 2005 installed on my computer.
Do I need any add-on library or software to develop SOA ?
Is there any tutorial that helps to develop SOA application in .Net ?
I need support for WS-* including Addressing, Eventing, Notification. Can
this be done using VS.Net.
... more >>
Multi-Threaded App
Posted by Robert Sheppard at 2/14/2008 12:43:05 PM
I am new to C# and am trying to build a multi-threaded web crawler. I want
to crawl many sites all at once. I know how to use IHTMLDocument2 to parse
the document object but I want to launch multiple threads to parse each
induvidual web page.
With the WebBrowser control I can start parsing whe... more >>
Word calling Web Service running in IIS
Posted by uupi_duu@yahoo.com at 2/14/2008 3:27:58 AM
Hello folks!
Are there any possibilities that Office Word document is calling a Web
Service running in IIS?
How can this be done, and is VB only way to call Web Services (are
there C# support)?
Thanks for reply,
Cheers... more >>
Design Patterns for a Large Web Service?
Posted by Spam Catcher at 2/13/2008 5:42:20 PM
Hello Everyone,
I'm preparing to build a large web service that spans 10 - 15 components
with each component having 10 - 20 methods each.
What is the best way to organize such a web service?
Should each component have it's own ASMX file?
Should I have one large ASMX file with all the f... more >>
Asynchronous Transfer of Control in SOA (Web Service)
Posted by Kaushal Mehta at 2/13/2008 4:15:34 PM
Hi,
I was reading about asynchronous transfer of control in Real Time Java
Specification.
I am wondering if there is any way we can do similar thing with Web Services
in Service Oriented Architecture.
Please let me know your opinion.
Regards,
Kaushal Mehta ... more >>
Timer Service using Web Service
Posted by Kaushal Mehta at 2/13/2008 4:07:10 PM
Hi,
Can anyone explain me if we can have Timer Web Service ?
I am looking for the service to support start / stop / fire functionality.
This is something like Timer Server.
The user web service invokes the Timer Web Service methods.
The user can start the timer service and pass the ti... more >>
WCF client to non-MS service
Posted by Amil at 2/13/2008 3:03:33 PM
I have a customer who has a web service using a non-MS platform. They can
only provide me a an XML file (see below) and some XSDs. I can easily
create classes from the XSDs (e.g. CustomerHeaderData), but I don't know how
to generate the client proxy based on their XML.
Can anyone suggest ... more >>
in-process vs. WCF
Posted by GaryDean at 2/12/2008 5:53:06 PM
Thinking of doing our next project so that our logical tiers can be
physically tiered when desired for a given deployment and then not
physically tiered when that is not needed. The solution, we think, would be
using WCF and when we don't need to physically tier use named-pipes as the
trans... more >>
Building Web Services
Posted by Derek Hart at 2/12/2008 3:53:36 PM
When building a web service in the same solution as the client for the web
service, what is the most efficient way to test for changes? When I add a
web reference, I choose the option to add web services in the current
solution. Do I have to delete the web service reference every time in my
... more >>
Tool for generating WS client proxies other that wsdl.exe
Posted by pavel.orehov@gmail.com at 2/12/2008 6:45:07 AM
Hi,
I have a problem to generate WS client proxies on C# with wsdl.exe
because it require:
"Warning: This web reference does not conform to WS-I Basic Profile
v1.1."
I am looking for other tool/s which can generate WS client proxies
from WSDLs document.
Thanks,
Pavel... more >>
What have I done wrong?
Posted by cj at 2/11/2008 4:50:10 PM
******** My web service:
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel
' To allow this Web Service to be called from script, using ASP.NET
AJAX, uncomment the following line.
' <System.Web.Script.Services.ScriptService()> _
<System.Web.Se... more >>
What happens when web service receives a request from the client ?
Posted by Kaushal Mehta at 2/10/2008 7:55:01 PM
Hi,
Could you let me know what exactly happens when web service provider
receives request from the client (from system perspective, like threading and
all) ?
Also, how does the web service store the callback address of the web service
client so that asynchrony can be acheived (from syste... more >>
writing/publishing/consuming
Posted by cj at 2/8/2008 4:19:58 PM
I might already know the answer to this one but I want to be sure. I've
been looking at an article on how to write and consume a web
service (http://www.asp101.com/articles/colin/webservices/default.asp)
and after writing a web service to convert temperatures between
Fahrenheit and Celsius the... more >>
DISCO file?
Posted by cj at 2/8/2008 3:27:34 PM
I realize it's a discovery document but
http://localhost/service2.asmx?DISCO
gives me
<discovery>
<contractRef ref="http://localhost/service2.asmx?wsdl"
docRef="http://localhost/service2.asmx"/>
<soap address="http://localhost/service2.asmx" binding="q1:Service2Soap"/>
<soap address="h... more >>
Adding Web Service Reference from SharePoint lower level site coll
Posted by Moojjoo at 2/8/2008 1:07:00 PM
I am having a heck of a time with accessing the Web Services for a
particular site collection.
I try to add a Web reference to VS2005 for example.
http://URL/Sites/sites/MySite/Subsite/_vti_bin/lists.asmx
The Web service is added with the Web Reference URL set correctly as shown
above... more >>
How to make two WCF services in a transaction
Posted by John Dow at 2/8/2008 9:34:24 AM
I am new to WCF, so please point me to the right direction.
I created 2 WCF serivces, each one uses a difference database connection in
the back end.
Now from the client application, I need to keep two methods call to the
service in one transaction.
using (TransactionScope scope = new T... more >>
Having trouble successfully deploying WCF service to public web site
Posted by kiernonr@yahoo.com at 2/7/2008 6:03:38 PM
I'm fairly new to deploying WCF web services and am running into
problems deploying my WCF service to a public web site. I want this
web service to be accessible by clients outside my domain.
The problem I'm running into first off is that the WSDL contains the
server's name instead of the web ... more >>
web serivce: client side timeout?
Posted by hzgt9b at 2/7/2008 8:01:05 AM
Using VS2005, VB.NET,
BACKGROUND
I have a windows forms application that makes calls to a web service.
All my clients work on project provided laptops (all have exact same
set-up, configuration and software installations). The service is long
running (uploading large files) so to avoid timeou... more >>
Newbie security problem
Posted by Remo Aschwanden at 2/6/2008 7:55:55 PM
Hi
I tried to write a webservice for test purposes. I have some PHP=20
experience but am a newbie in C# ASP.NET web development.
On the development machine (VS 2005) I create an empty ASP.NET web=20
service project and added the [WebMethod] "HelloWorld" to it. When the=20
service is run fro... more >>
generating web service classes from wsdl problems
Posted by Jeremy at 2/6/2008 2:03:01 PM
I'm generating a web service from a wsdl with wsdl.exe. It's not generating
some of the classes the way I think it should. Hoping someone can help
I don't understand why it creates the MessageRefResponse class with a
property Item of type object. From the attributes on the property I gathered... more >>
allowing for future additions to data received
Posted by cj at 2/6/2008 11:40:14 AM
I want to allow my web service to take additional data in the future
without having clients currently using it to have to change anything
they are doing. I don't really understand how all this is being sent
but from my background in comma delimited files and strings etc I think
any new data... more >>
Sharing Data Structures between Client and Server
Posted by BillAtWork at 2/6/2008 7:14:01 AM
Hi,
I'm wondering what the best practices are in this area.
I have two projects: a windows forms app (client) and an ASP.NET web app
(server). The client communicates with the server via webservice calls.
There are a number of data structures (classes, enums, structs, etc.) that
are used ... more >>
Custom SOAP Body... How to handle?
Posted by Spam Catcher at 2/5/2008 6:12:18 PM
Hi all,
The client is sending a SOAP body with the following information:
<soap:Body>
<MyFunction xmlns="http://mycompany/services/t1">
<header>
... Custom Elements Here
</header>
<body>
... My Function Call Parameters Go Here (The regular st... more >>
Ideas for receiving 15+ values as input
Posted by cj at 2/5/2008 2:59:57 PM
I'm getting started on a web service to accept payments. I need to
receive the following fields. I think all will be treated as strings at
this point. I'll probably assume the amount field has 2 decimal places.
Then again it might be nice to have it numeric. Here are the fields
as I fo... more >>
Alter SOAP Return Types
Posted by Brian Lampe at 2/5/2008 10:43:01 AM
I've done some searching, and I can't seem to find a documented
approach.
We have a mainframe that is able to do RPC via SOAP. Our client
is .Net. When the server returns row data, it can only (apparently)
produce arrays of a type (I'm guessing it's a struct on their end).
What we want to d... more >>
Help: %1 is not a valid Win32 application
Posted by Gianluca Pezzoli at 2/4/2008 4:22:27 PM
Hi,
I have Windows Server 2003 x64 standard SP2 Italian, with Xeon 3.8 Ghz and
2GB RAM.
On Server I found installed .net framework 1.1 and 2.0 (x64).
I am developing a simple (Hello world) web service with Visual Studio 2008
Dev Edition (English). I have selected a Web Service Site Projec... more >>
Dynamically change the SoapDocumentMethodAttribute
Posted by SG at 2/4/2008 12:22:03 PM
Question:
Is it possible to dynamically change the SoapDocumentMethodAttribute?
Scenario:
We have a number of clients, each with their own web service. The web method
name is the same in each web service. I can dynamically change the URL at
runtime by referencing the URL property.
I hav... more >>
managing an ftp server
Posted by Matthias at 2/4/2008 10:28:08 AM
hi there,
in a project, we'd like to offer the user to upload files to our server
via ftp. so what i need to do is the following:
-> setup an ftp directory plus username and password programmatically
-> limit the uploads to this user ftp directory either by the number of
files or by total... more >>
Explicitly Define Type Names in WSDL?
Posted by Spam Catcher at 2/1/2008 7:02:44 PM
Hi all,
If I have a function such as:
Public MyFunction(ByVal Parameter as MyCustomObject) as MyReturnObject
MyCustomObject and MyReturnObject will be serialized in the WSDL as
complextype="MyCustomObject" and complextype="MyReturnObject".
Is there a way to specify the name types are... more >>
Kerberos headache
Posted by Tapio Kulmala at 2/1/2008 2:33:11 PM
Hi!
I've found an interesting problem that might have something to do with
Kerberos.
I have a www application running in a Windows Server 2003 box. The
server did not have SP1 or SP2 installed. Everything was working
smoothly. Couple days ago we installed SP2 and weird authentication
e... more >>
building webservices in VS 2005
Posted by Matthias at 2/1/2008 1:32:27 PM
hi there,
i currently moved from VS2003 to VS2005 so i'm not really comfortable
yet with the inner workings of the new ide. i've created a webservice
and figured, that when attempting to debug it, the webserver shipped
with VS2005 starts up and the default (service) page is displayed in the... more >>
Can not get Client Certificates to work with .NET COM+ component
Posted by Tapio Lindqvist at 2/1/2008 2:58:01 AM
I have a problem with .NET COM+ component which cannot access the private
key of the client certificate. The problem seems to be that when the user on
which privileges the COM+ server application is running is logged in, the
certificate can be accessed. But as soon as the user logs out the I g... more >>
|