all groups > dotnet web services > april 2007
Filter by week: 1 2 3 4 5
Use of XMLNode as Parameter in WCFService interfaces
Posted by Norbert_Pürringer at 4/30/2007 1:40:36 PM
Hello!
Is it possible to use the object XMLNode as a parameter in an interface
function of a WCF service?
In my case I get the error message:
XmlNode ProcessServiceRequest(XmlNode request);
Unable to serialize type "System.Xml.XmlNode". Use the attribute
"DataContractAttribute" a.s.o... more >>
Test availablity of a Web Service
Posted by Waldy at 4/30/2007 12:28:01 PM
Hi Guys,
is there a quick and easy way of testing the availablity of a
web service before making the actual web service call?
Waldy.
... more >>
returning generics
Posted by piter at 4/29/2007 12:43:11 PM
Hi
Can generics be returned by the WebMethod?
Iam thinking about <List>.
Anyways where can i find list of all values that can be actually passed o
returned within webservice connection?
Thanks
PK
... more >>
How to specify credientials when publishing to a remote URL?
Posted by JamesB at 4/27/2007 12:40:30 PM
Hi.
I'm developing a web service on my machine, but I want to be able to
"publish" it to our webserver located off out in the internet cloud
somewhere.
I've installed the FP Extentions on the webserver, and if I simply copy over
my build folder to the right place it (the service) works, but ... more >>
soap.tcp in Vista
Posted by paulo at 4/27/2007 11:59:09 AM
Hello,
We have a soap.tcp server service using the .NET 2.0 SoapReceivers
class, that hosts web services for our customers without IIS. This has
worked with no problems at all until Windows Vista. For some reason, I
can never connect to this server when it's running under Vista. The
servi... more >>
Calling C++ library from ASP.NET web service
Posted by Zoodor at 4/27/2007 1:26:00 AM
I have a web service, written in C#, that calls a managed C++ library that
itself calls a third-party unmanaged C++ library (which is its only purpose -
to allow me to call some unmanaged C++ from C#). When trying to compile/run
the web service, I get the error:
This application has failed ... more >>
Listbox values in SQL Data Source
Posted by BigSam at 4/26/2007 10:20:04 AM
I've a ListBox with the Selection Mode set to Multiple. I want to use the
Selected values as the WHERE Parameters in a SQL Data Source.
If I set the SQL Data Source to use the Selected Value of the Control, only
the 1st selected value is used.
If I build a TextBox with the selected values & us... more >>
neither client nor server be I
Posted by beachdog at 4/26/2007 6:53:03 AM
I have a scenario that I think is probably not all that uncommon, and
I would like to fall into the standard pattern of implementing it, if
one exists. I have a process which wants to expose a web service that
is a bit more complicated that an standard request-response, or in-
out, message exch... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with Web Service creation
Posted by Adarsh at 4/26/2007 1:56:02 AM
Hi all,
I am trying to create a webservice using C#,visual studio 2005.For
that i am following the steps as follows..
File menu-->New-->Web Site-->ASP.NET Web Service.
Location:-->http://localhost/Webservice1
Language-->Visual C#
after OK is pressed i get the following message,
... more >>
Email Validation inside webservice.
Posted by Srini at 4/25/2007 5:40:37 PM
Hi all,
Im getting user information in webservice and storing in DB. In the
email address field, i do want to validate the email address.
like xyz@abc.com is give properly r not. (@ .) these things i wanna
check inside the webservice.
Please help me.
Any help vud be app... more >>
Windows Application, Web Services & Session cookieless="AutoDetect
Posted by mgoppert at 4/25/2007 5:00:03 PM
I'm having an issue with using web services in a web application marked with
session cookieless attribuet set to "AutoDetect". My real life scenario is
too complex to lay out but here's my situation boiled down to the nuts and
bolts...
1. Create a simple web application (not a web site) in... more >>
Secure Web Services between .NET and Java
Posted by John Wright at 4/25/2007 11:08:25 AM
We have an application written in Java that exposes web services. We have
many .Net 2.0 applications that need to access this data via web service.
However, we need to make sure the data sent between the two is encrypted.
How would this be possible? We can't use WSE 3.0 because java doesn't ... more >>
image upload problem
Posted by geertolaerts NO[at]SPAM gmail.com at 4/25/2007 6:16:06 AM
Hello,
I have a problem with uploading off images to my webservice, i convert
them to a byte[] at client side but something goes wrong when i try to
convert them back to a image at server side.
The webservice code:
[WebMethod]
public bool PutImage(byte[] ImgIn)
{
System... more >>
Parameters aren't received by the .NET web service listener
Posted by Pierre at 4/25/2007 5:18:01 AM
Hello,
I have a .NET 2.0 web service that is consumed by a Delphi application.
The Delphi application calls a method from the .NET web service with
parameters.
Theses parameters are in the call message, which we can see through a HTTP
proxy. But the ASP.NET application does not received t... more >>
Passing complex type/class to WebService
Posted by Søren_M._Olesen at 4/25/2007 12:00:00 AM
Hi
How do I pass a complex type to a webservice??
What I have is a Class 'MyComplexClass' which lives in it's own =
dll/namespace. I'd like to pass this class to my webmethod:
<WebMethod()> _
Public Sub MyMethod(ByVal arg As MyComplexClass)
End Sub
When I add a webreference to my ... more >>
whats new in .NET 2.0?
Posted by Smokey Grindel at 4/24/2007 9:13:22 PM
Is there a site or article anywhere that lists whats new or changed in Web
services in .NET 2.0 from 1.1? thanks!
... more >>
Debug web service on local machine
Posted by moondaddy at 4/24/2007 3:28:27 PM
I have a test solution using .net 1.1 which is made up of a windows project
and a web service project (all local). As I step through the code I want to
step into the web service, however, the web executes but the debugger wont
step into it. I have other solutions where I can step into the we... more >>
Can 1.1 Clients consume WSE 3.0 Services
Posted by TerryB at 4/24/2007 7:00:04 AM
Hi there,
Just wanted to know before I go through the pain and suffering of writing a
prototype if it is possible for a 1.1 framework client to reference and
consume a web service using WSE3.0.
Thanks
Terry... more >>
Web services and security
Posted by Smokey Grindle at 4/23/2007 11:52:29 AM
I want to make a security system in my webservice similar to the one that
reporting services uses it has a logon user and logoff user web method...
when you log on it logs you into a session and maintains your logged in
status until you log off or timeout... I dont want to have to pass
usern... more >>
long delay after invoking web service until SOAP message is sent
Posted by beachdog at 4/20/2007 8:17:13 PM
I have built a web service consumer application by adding a web
reference for a vendor-provided wsdl file. My client is
interoperating with the server just fine, in terms of sending a
request and receiving and properly parsing a response, but the problem
is that when I step through it in the de... more >>
Two Classes in a same asmx page.
Posted by kris at 4/20/2007 2:22:03 PM
Hi,
I created a web service application using ASP.
My question is :
When i try to create an extra class in the same asmx file,At the time of
consuming the web service,its showing me only the default class only.
here is my code:
namespace WebService1
{
public class Service1 : Syste... more >>
How to Catch exceptions of webservices? Urgent please
Posted by kris at 4/20/2007 8:12:05 AM
Hi all,
How to handle exceptions of webservices?
I have a wsdl file which contains the exception classes.
when i am adding that wsdl file in my asp application I am unable to view
those classes.
As of now i am catching through EXCEPTION class. I know this is not the
permanent solution.... more >>
WS-Security Question
Posted by piter at 4/20/2007 12:00:00 AM
Hi.
My goal is to achive security similiar to the HTTPS.
The data visible for the port sniffer must be ciphered.
Is this possible with WS-Security or WS-Security only enables mi to secure
authorization and other stuff.
i will appreciate any answers.
regards
PK
... more >>
SOAP only?
Posted by Smokey Grindle at 4/19/2007 2:15:55 PM
Is there any way to make a webservice only work with SOAP? Also, is there a
way to disable that generic ASP.NET created test page and just return the
WSDL instead? thanks!
... more >>
Consum WS from non MS application ???
Posted by calderara at 4/19/2007 1:48:00 PM
Dear all,
I have a global applicaton that collect different type of data.
Then I would like to provide to my customer some web services that will
return dedicated data based on different request..
For that what should I do, or what point to take care when developping my
web service under ... more >>
new HttpListener in Service OnStart
Posted by Wild Wild Mike at 4/19/2007 10:46:02 AM
I have a windows service implementation that creates an HttpListener in
OnStart to help capture port conflict issues while starting vs. when the
service is already started. On Windows 2003 servers calling new HttpListener
hangs, sometimes for minutes and eventually the SCM gives up and reports... more >>
Loss of data between IE5 and IE7
Posted by Louis at 4/19/2007 7:20:01 AM
I work for a large company in South Africa. We currently use IE7 as a front
end to a MIS system. The problem we have is that new machine being roled out
to manager runs with XP and IE7. These machines now have a problem accessing
the application. All the menus and that works (ASP) the screen l... more >>
Webservice (asmx) under IIS7
Posted by calderara at 4/19/2007 1:38:01 AM
Dear all,
I have develop a small test web service using VS2005 which is conecting to
an SQLserver express 2005. Debuging my Web service from the IDE works fine.
Use platform is Vista buisness
Then I try to connect to that web service through the
http:\\localhost\testService\myService.asmx... more >>
WebPartPages of share point web service giving me error
Posted by SachinG at 4/18/2007 11:32:01 PM
I am working on share point web part development. As a client requirement we
have to generate our own web part gallery, so I prefer to write one user
control, and in that user control I display all web part definition(dwp)
file. Now user select dwp file, web part zone id and page name from dro... more >>
Security in WS!
Posted by Vai2000 at 4/18/2007 10:37:13 AM
I need to create a WS, that can be called by users who call it with a SSL
Certificate a userID and password...Can someone tell me or point to resource
how to accomplish it?
Also can I have individual certs for different users?
Thanks
VS2k5/C#/IIS 6.0/Win2k3
... more >>
Access Forbidden 403
Posted by Shamresh at 4/17/2007 5:51:14 PM
Hi to all,
I have a web service that is hosted on IIS 5.1. I have found that the web
service works as expected but after about 20 mins of no calls to the web
service, a call that worked earlier gives the error "Access forbidden 403".
Any clues on why this is happening?
Sham.
... more >>
Error when calling a webservice from a windows service
Posted by GD at 4/17/2007 4:50:23 PM
Hi,
I am trying to call a webservice from a windows service application. It
works only if I launch the windows service app from VS.Net 2005 (Worked
around from Main()) or from a winform test application. However, it
generates a kind of security error after I install and start the service in
m... more >>
Returning a file from Web Service
Posted by Alan Sloan at 4/17/2007 1:20:07 PM
I have written a Web Service that interacts with a COM component to extract
a file from another system. Basically the Web Service accepts a part number
and a rev and extracts the file to a subfolder of the Web Service. What is
the best way to get this file to the client?
The client is a w... more >>
Stepping through a Vs .net 2005 web service
Posted by Doogie at 4/17/2007 12:00:10 PM
I have been trying to figure out a way to step through a VS .NET 2005
web service so I can see what is going on. The problem is that I keep
getting this error:
"Unable to automatically step into the server. The remote procedure
could not be debugged. This usually indicates that the debugging ... more >>
How to generate WSDL form a .asmx WebService?
Posted by kris at 4/17/2007 7:08:00 AM
I created a simple webservice .asmx on Visual Studio 2005. As I plan to
deploy it to Sharepoint Portal 2003, I copied asmx to \web server
extensions\60\ISAPI directory of the server, where all other general
webservices reside. Everything is just fine - i can access the service with
the brows... more >>
Consuming Webservice
Posted by Rajiv at 4/17/2007 12:50:01 AM
Hi,
I have a webservice developed using asp.net(c#), which is beign consumed by
oracle PL/SQL client. I have tested my webservice code using a asp.net test
client page and everything seems to be working OK.
But the client is having some problem with some specific requests for which
they ... more >>
WebService Writing temporary file
Posted by Alan Sloan at 4/16/2007 1:04:13 PM
I've written a web service in VS2005 that uses a COM object to get a file
out of another system. I eventually need to stream the file to the
consumer, but I first need to get the file to a temporary location. I'd
like this temporary location to be a subfolder in my web service. When I
attempt... more >>
Java web service , vb .net client
Posted by Jay at 4/16/2007 12:43:27 PM
Hi,
I am trying to connect to a java web service. I have a vb .net client
which uses the service. It was working ok few days ago. The web
service has been updated and i have been getting the following error.
I did update my wsdl but of no avail.
at
System.Web.Services.Protocols.SoapHttpClie... more >>
Soap href tag not being deserialized by .Net Framework
Posted by Fabricio Ferreira at 4/16/2007 5:42:07 AM
Hi,
I'm facing an odd problem when consuming some web services in .Net.
After call a web method, the response SOAP envelope isn't being deserialized
properly. In fact, all href tags are not being deserialized, and for
consequence, all related properties are comming null.
I wrote a soap ... more >>
ASP.NET IO thread pool and asynchronous sockets
Posted by Navin Mishra at 4/13/2007 8:57:05 AM
Hi,
I've an ASP.NET web service that consumes other web services as well as
sends data to client using TCP blocking sockets on a custom thread pool
threads. If I use asynchronous sockets to send data to clients, would it use
threads from ASP.NET IO thread pool ? Is it a good idea ? Or could... more >>
Problem calling method when cookieless is set to true
Posted by Polaris431 at 4/13/2007 1:05:16 AM
I have an ASP.NET website that includes a web service in my project as
well. The web service is a class within my website and not a separate
project.
I am trying to call a method in my web service locally on my
development PC. If I set cookieless to true in the web.config file and
then use th... more >>
MTOM supports in WSE3.0 causes exception
Posted by Ollie Riches at 4/12/2007 5:26:45 PM
Hi,
I am recieving an exception when adding support for MTOM to a web config
file that is using WSE3.0 to talk to a web service.
when the following section is added:
<messaging>
<mtom clientMode="On" />
</messaging>
so that the WSE3.0 section is:
<microsoft.web.servi... more >>
How to expose a class in the Webservice.
Posted by Mani at 4/12/2007 8:20:00 AM
Hi,
I have a webservice which uses a c# Dll,This Dll is a C# class library which
contain few class[Class One, Class Two] .
I am able to see the class when in the Web service but when i create a stubb
class of the webservice using wsdl.exe then these classes are not
exposed.Both the class a... more >>
calling another dll from web service
Posted by sales NO[at]SPAM cazenda.com at 4/11/2007 11:35:47 PM
Hi! I'm newish to writing web services and am trying to deploy a web
service on a hosted server on the internet.
My web service uses a mysql oledb data provider to get data from a
database hosted on the remote server. When I call the method that
uses this provider, i get an error back from... more >>
w3wp.exe just keeps taking more memory....
Posted by WinDev at 4/11/2007 5:18:02 AM
I have a machine that I've moved some web services to and now w3wp.exe just
keeps taking more and more memory (I don't think it did it on the old
machine.) So apparently I have a memory leak somewhere.
Any way to track this down?
TIA - Jeff.... more >>
HttpWebRequest and client certificates
Posted by steveS at 4/7/2007 12:00:00 AM
Hi all,
I'm having trouble connecting to a Java web service using HttpWebRequest. I
get the error message "The request was aborted: Could not create SSL/TLS
secure channel". The Java service requires a client certificate which they
have provided in .cer format. I can connect ok to their te... more >>
Increase default webservice timeout globally
Posted by sameer at 4/5/2007 7:06:02 AM
environment : .net framework 1.1, ado.net, visual studio 2003, vb, sqlsever
2000, winforms, webforms
I want to increase the timout of the webservice in the application which is
being used in a huge number of places and this woudl take me forever if i do
it indivisually, is there any way i c... more >>
Threading issue with COM Wrapper object
Posted by Brian at 4/4/2007 3:53:07 PM
I have run into an issue with a web service I am working on that uses
an object defined in a COM Wrapper. There can be only once instance
of this object initialized at a time on the system, which is naturally
causing problems in ASP.NET 2.0 Web Service.
How does one go about managing this type ... more >>
Namespaces in Vs.net 2005 web service
Posted by Doogie at 4/4/2007 8:25:19 AM
You know they say there is no such thing as a dumb question? This
might be the exception...I'm not sure. :)
In VS.NET 2003, if you create a web service it is namespaced like so:
namespace WebService156
{
...
}
If you do the same thing in VS.NET 2005, there is no namespace. I do
... more >>
Importing WSDL file with external schema
Posted by Filippo Bettinaglio at 4/3/2007 2:54:02 PM
I am trying to use a web service that publishes a WSDL with external schema
(.XSD files), unfortunately the .NET wsdl.exe is not able to generate the
proxy class for it.
It seems that wsdl.exe do not support external schemas.
What can I do?
1. I asked them to change the WSDL inclu... more >>
|