all groups > dotnet web services > 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 >>
parameters passed to web service(WS) appear to be nulls on WS side
Posted by SergeyR at 7/31/2006 1:37:01 PM
Hello everybody.
I came across this question before but there was no suitable answer. Since I
have the same problem, I will repeat it here.
this is a simple web servive:
using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.IO;
u... more >>
Web Service Compression with .net 1.1 and gzip
Posted by rew190 NO[at]SPAM gmail.com at 7/31/2006 9:10:39 AM
Hi guys,
I'm currently working on an application that is heavily dependant on
web services. The web services are being run on an Apache Service
through Axis. We'll be using mod_gzip to get the server side of things
to compress the response (given that the header request specfies that
it acc... more >>
Web service fails to run on Windows 2003
Posted by Tom at 7/30/2006 8:29: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 >>
How to Persist Custom Class to Web Client?
Posted by samtilden NO[at]SPAM gmail.com at 7/28/2006 8:06:40 AM
I made my own class, MyCompany.MyClass and I want to send one object of
this class from my webservice to the client.
On the client side, when I Update Web Reference, the object is known as
ProjectName.localhost.MyClass and not MyCompany.MyClass and the C# code
cannot cast from one to the other... more >>
C# Web Services - usage by non .net clients?
Posted by David++ at 7/28/2006 4:54:01 AM
Dear List,
If I develop a Web Service in C# and upload it to my .NET server it is then
very easy to use the Web Service in a .NET programmed client (i.e. C# win
forms) by simply using 'Add Web Reference' and pointing to the url of the web
Service.
However, what if I develop a client in d... more >>
problem with web service.
Posted by stefano at 7/28/2006 12:21:01 AM
I have a web service with codebehind in c#. ASP.NET 2 with framework 2. Some
times I receive this error: The underlying connection was closed: The
connection was closed unexpectedly. Which it is the cause ?
I have setting the <httpRuntime executionTimeout="200" /> on the web.config
of the web... more >>
How to view SOAP requests
Posted by Mahesh BS at 7/28/2006 12:00:00 AM
Hello,
Is it possible to view the incoming SOAP request on my server? I have a
webservice running and I want to view the all the raw SOAP message's which I
receive.
Is it possible to do this by programmatically or enabling some service logs?
Thanks in advance.
Regards,
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to view Soapmessage
Posted by Sanjaya at 7/27/2006 7:37:53 PM
Hi,
I need to observe the in coming soapmessages and responses of my
webservise. what is the easiest way to do it?
regards
sanjaya
... more >>
How to add username and password to a Web Service
Posted by Anthony Biondo Jr at 7/27/2006 1:11:37 PM
I have seen examples of people saying that in the soap header you can pass a
username and password. Is there a reason why putting username and password
information in the header would be better than just including it as an input
in the web service?
thanks,
Anthony
... more >>
NullReferenceException when creating wsdl
Posted by Thorsten Viel at 7/27/2006 12:11:52 PM
Hi @all,
this is not my first webservice and everytime it worked that way, by now i
got following exception when trying to call http://<url>?wsdl in my
browser:
System.NullReferenceException: Object reference not set to an instance of an
object.
at
System.Runtime.Remoting.MetadataServi... more >>
VS2005 vs VS2003 Web Service Calls - The underlying connection was closed: An unexpected error occurred on a send.
Posted by Andrew Hunot at 7/26/2006 4:53:31 PM
I have VB code in VS2003 which creates a HttpWebRequest and performs a POST
operation to a remote URL (an https site), which runs fine and receives a
valid response.
However exactly the same code in VS2005 (to the same site with the same
data) causes an exception 'The underlying connection ... more >>
Identifying UserName and password used
Posted by Anbu at 7/26/2006 7:37:37 AM
Hi All,
I'm hosting WSE 3.0 SoapService based web service, which uses Basic
authentication. Since, it's implemented from SoapService, a receiver
function receives the soapenvelope.
Client posts the soapenvelope using HTTP POST method. How can I get the
username and password used by the clie... more >>
Web serice works when I am debugging, but does not when I am not.
Posted by Ethan Strauss at 7/26/2006 7:24:01 AM
Hi,
I have a C#.net Web application which calls a web service
(http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl). It has run
just fine for months. Recently I started getting "System.Net.WebException:
The underlying connection was closed" errors. I started the application up i... more >>
Web Services and using messaging (msmq, websphere mq) for inquiry transactions?
Posted by Anthony J. Biondo Jr. at 7/26/2006 12:37:15 AM
Hi Everyone:
I was wondering if it is common practice to use some sort of messaging
(MSMQ, WebSphere MQ) with web services. I understand the need for messaging
for insert / update transactions, but do you think using messaging for
inquiry transactions is overkill?
thanks,
Anthony
... more >>
WebService consumer in .NET; synchronous calls and client timeouts...
Posted by intrepid_dw NO[at]SPAM hotmail.com at 7/25/2006 4:48:03 PM
All:
I have prepared a .NET 1.1 client application that consumes a remote,
public web service. All the functions work as expected, and, in
general, the application has been successful for my purposes.
I have discovered one bit of behavior that surprises me, however. At
certain times, under ... more >>
User Security?
Posted by Asaf at 7/25/2006 8:13:02 AM
Hello,
I have created a web service name "TestWS" and published it to my SBS2003
server that uses IIS6 as a web server.
I have set NO anonymous access to TestWS virtual directory and I have
created a simple user account from the User template with the name of
"MyUser".
Problem is that I... more >>
Deserialize (maybe with a HeaderHandler?)
Posted by Francois at 7/25/2006 12:00:00 AM
Hi
I have been using a webservice to return a dataset to a WinForms application
and it has been working 100%. Recently data have increased and I have
started looking for a way to compress the dataset. I found a number of
articles the one I started using was:
http://www.codeproject.com/csharp/... more >>
How to tell if a string element is null or really null?
Posted by Jiho Han at 7/24/2006 12:37:30 PM
Here's the issue.
You have a class,
Class Person
{
public int id;
public string firstname;
public string lastname;
}
when you expose it via webservice,
[WebMethod]
public void UpdatePerson(Person)
{
...
}
How do I know whether a field value has been specified ... more >>
Why Must Impersonation be Used?
Posted by headware at 7/24/2006 11:34:11 AM
We have a web app that is running under Integrated Windows
Authentication. It must consume to a web service we are publishing on
another server, also running under Integrated Windows Authentication.
In order to make this work, we have to impersonate a user account with
access to the web service ... more >>
Using COM dll in Webservice
Posted by Milind at 7/24/2006 6:37:02 AM
Hi All,
I am trying to consume a COM dll into Web Service (written in C#). When I
call the Webmethod that uses the method of COM dll from Web application, It
gives me this error --- "System.IO.FileLoadException: A dynamic link library
(DLL) initialization routine failed". It does not give a... more >>
Newbie to Webservices and SSL
Posted by Khurram at 7/22/2006 3:10:26 PM
Hi,
I am a novice .Net 2 developer and have only been developing in Csharp
for the last 3 months. I have develped a number of WebServices that
are being consumed by ASP.NET website. Currently for developing, I
have everything running on one machine but deployment will result in
the Internet c... more >>
soap service in standalone app
Posted by Rob Frohwein at 7/21/2006 7:50:42 PM
Hi,
In an C# appl I need a soap service to be called by other (unix) systems.
In Visual Studio .NET it seems only possible to create a soap
service as an .asmx file to be used in IIS.
Does anybody know how to create a soap service to be run in a
application (thread) ? (thus *without* IIS)
... more >>
Webservice and Input Parameters
Posted by Anthony Biondo Jr at 7/21/2006 3:50:26 PM
Hi Everyone:
I noticed when I am debugging my web service if I do not provide it with a
value for a a input field that is a datatype Integer it throws an error like
the following. My question is, how do I trap this since it is happening on
the input? Has anyone encountered this issue?
tha... more >>
Best way to pass a Dataset to a WebService
Posted by Deecrypt at 7/20/2006 3:37:41 PM
Hi,
I'm a newbie to the Web Services topic. I have an ASP.NET website and
am trying to send a Dataset from it to a WebService which should insert
all the data from this DataSet to an Access database. Also I'm working
with untyped datasets. I have read some topics in this newsgroup. One
sugg... more >>
What is the best way to secure Web Services
Posted by Anthony Biondo Jr at 7/20/2006 11:47:03 AM
Hi Everyone:
We are looking to start writing some web services and I was wondering what
the standard practices for securing web services out there. I was thinking
that we could create a business partner id and password and authenticate
against a sql database. Can anyone tell me what they are... more >>
What could be causing this error ?
Posted by acteon at 7/20/2006 8:27:20 AM
I've sucessfully installed a web service on a colleague's computer and
it works but on another colleague's computer, looking at:
http://localhost/myCompany/myService.asmx
gives the following error:
<%@ WebService Language="c#" Codebehind="MyService.asmx.cs"
Class="MyCompany.MyService" %... more >>
How to ensure my WS will be consumable by J2EE and others
Posted by Mr.Underhill at 7/19/2006 8:15:02 PM
I'll like to build a WS that will be consumable by Java and other development
languages.
Can I use WSE 3.0? Or this is Microsoft only?
If WSE is not supported outside of Microsoft, what should I use for security
that is highly standard?
What documentation/guidance or links do you have ... more >>
2.0 Web Service Question
Posted by watte at 7/19/2006 11:11:02 AM
Hi,
I am starting to work with VS 2005 and I have created a Web Service. I want
to move the web service to my web server...but, I can't figure out where the
dll is placed when I build the project? There is no \bin folder present in
the asp.net web service project.
Is it still the same... more >>
Webservices and writing to files
Posted by morten.langer NO[at]SPAM gmail.com at 7/19/2006 5:44:44 AM
Hi NG,
It was my understanding that in order for a webservice to be able to
write to a file on the webserver, the ASPNET-user should have write
privileges on the file. Is this correct?
My problem is that I have a logfile that the webservice needs to be
able to write to. However, adding the ... more >>
Upgraded Web Service from VS2003 to VS2005 and all Hell breaks loose!
Posted by Joseph Geretz at 7/18/2006 2:10:48 PM
OK, I'll admit it up front - I just don't get it.
Here's our previous VS2003 development model. Developers develop the WS
solution on their own workstations, using their own IIS web servers mapped
to the local devleopment folder. Project compiles to a subfolder .\bin. To
deploy, the asmx pa... more >>
How to expose a database from a Web Service?
Posted by MisterT at 7/18/2006 9:31:02 AM
Hello,
I have a web service that updates an SQL database thru a web service. I
would like to expose the database table so I can easily add it as a Data
Source in VS 2005 to program the web service client.
Any ideas how to do this?
Thank you,
Tom
... more >>
I set my Web application in offline mode ,but I still can not reopen this application without active network link.Who can give me any advice about it
Posted by msvs NO[at]SPAM newhua.com at 7/18/2006 4:45:51 AM
Array
Posted by Baren at 7/18/2006 12:02:01 AM
Hi!
Can we return an Array of object from a Webservice? If anyone can provide
some example that will be very nice.
Thanks in advance.
Baren... more >>
Proxy generated by VS 2005 from Java web service WSDL has camel case class and property names
Posted by Jon Miller at 7/17/2006 5:29:56 PM
Hi,
I created a web service using Java/JAX-WS. I'm able to consume this web
service using VS 2005 and .NET without a problem. However, the class and
property names that were generated for the proxy are in camel case. i.e. the
first letter is lower case rather than upper case. Does anyone kn... more >>
Webservice for J2EE & .NET application
Posted by jaydev at 7/17/2006 3:22:06 PM
Hello,
I want to create a header and footer control which will be used in
both the java and .net application. We are planning to create a
webservice for this in C#. I am familiar in creating a webservice , but
not sure how to create something compatible for java team (J2EE). Java
team needs t... more >>
.NET WS client connecting to Axis WS - credentials problem
Posted by David R at 7/17/2006 1:20:01 PM
I am writing a .NET web services client that is calling an Axis web service.
I have two questions.
1. The following code should set the authentication; when I call a method
on the web service, the call fails with "bad username/password".
// wrWorkReq is the name of the service
wrWorkR... more >>
Sending SoapEnvelope to Web Service
Posted by Anbu at 7/17/2006 3:44:24 AM
Hi All,
I have a interceptor application which intercepts the web service
called from one site to another.
Is it possible for me to send a SoapEnvelope, which was received from
the prior application to the web service? If so, how this can be
implmented?
Thanks in Advance.
... more >>
Passing a String variable to a Web Service
Posted by Deecrypt at 7/17/2006 12:32:18 AM
Hi,
Passing a string parameter to a webservice to get the dataset generated
as the result, seems to give me an error suggesting that no parameter
is being passed. However it works if I explicitly state the value as
the parameter. Code in Csharp being developed in VS2005 for ASP.NET.
Below is ... more >>
How to Add an new SOAP header envelop to a SOAP header?
Posted by Peter van der veen at 7/17/2006 12:00:00 AM
Hi
I have a problem in VB.net 2.0
We are using a third party webservice.
I have loaded the wsdl file and can access the functions the service
has.
Now this party wants that we add a SOAP header element named 'Vendor'
so that they can distinguis which vendor called the webservice.
How ... more >>
Multiple Web Services on the Same localhost
Posted by Deecrypt at 7/16/2006 8:51:21 PM
Hi,
I'm creating an ASP.NET website in Visual Studion 2005 using Csharp and
have added Web References to "two" Web Services running on my localhost
(Both WebServices and ASP.Net website are on the same machine). Even
though the Web References exist, I am unable to consume the second Web
Servic... more >>
Parsing the data from a webservice
Posted by irishdudeinusa at 7/16/2006 10:53:32 AM
Hello Everyone,
I have been working a webservice where I can use it in other
applications that I am working on. However, I am running into a problem
with the data returned and I was wondering if someone could help.
This is the code for the method that I call
<WebMethod()> Public Functio... more >>
.net 2.0 asynchronous call did not work.
Posted by kkao77 at 7/15/2006 10:36:10 AM
Someone help me please.
I've tried to write an asynchronous method, but it didn't call my web
service, do I need to do something in my webservice project to make it
work?
or if there is something wrong with the code that I have below.
Thanks..
The following are my two methods where one i... more >>
Web service to deliver sql data through http get or post
Posted by Geoff at 7/14/2006 4:42:05 PM
I'm new to web services but am trying to create a web service in VB.NET 2003
to query and convert MS Sql 2000 Data to a comma-delimited text file and
transfer the data based on the parameters supplied in the http request. Any
ideas or further reading suggestions would be greatly appreciated.
... more >>
Server was unable to process request. --> Unable to generate a temporary class.
Posted by UJ at 7/14/2006 2:56:41 PM
I've got a web service that is giving me back this error message. The
directory is Windows\Temp and I have given everybody complete access to this
directory and am still getting the error.
Any suggestions?
TIA - Jeff
... more >>
soap:address - can this be programmatically changed
Posted by Mongo at 7/14/2006 12:11:02 PM
I have an interesting situation with soap:address being dynamically generated.
My production environment has a load balancer that is doing https
encryption. From there it communicates with my webserivce on port 80. This
means that the <soap:address> setting gets set to http rather than http... more >>
WebService with VB6 y ASP.NET
Posted by NN at 7/14/2006 10:31:07 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 >>
System.Runtime.Serialization.SerializationException
Posted by Andy at 7/14/2006 4:27:01 AM
Hi All,
I am calling a Java web service which is throwing some exception which the
catch block is trapping successuly. I can see the "javax.ejb.EJBException:"
in ex.message. but after this function i am getting the following exception
in IDE window like
An unhandled exception of type
'... more >>
Hosting Web Service on remote IIS
Posted by Baren at 7/14/2006 4:05:01 AM
Hi! All,
I facing the following problem. Can anyone help me out. I have developed an
application which has a webservice and its been accessed by a Windows
application. The system where i developed the application doesn't have IIS,
My client has created a virtual directory on some webserver ... more >>
webservices section in web.config
Posted by smarty at 7/14/2006 4:01:02 AM
Hi,
I have written a WSE in vis studio 2005 as and produced a dll that I can use
in other projects by including the following in the web.config.
<webservices>
<soapextensiontypes>
<add type="traceextension, simpleModule" priority="1" group="high"/>
</soapExtensionTypes>
</webserv... more >>
|