all groups > dotnet web services > january 2008
Filter by week: 1 2 3 4 5
Include additional data in Body? Multiple objects in body?
Posted by Spam Catcher at 1/31/2008 7:32:55 PM
Hi all,
I have a customer requirement to include additional data in the SOAP
body, i.e. like the W3C example:
<env:Body>
<p:itinerary
xmlns:p="http://travelcompany.example.org/reservation/travel">
<p:departure>
<p:departing>New York</p:departing>
<p:arriving>Los Ange... more >>
The underlying connection was closed: An unexpected error occurred
Posted by John at 1/31/2008 11:57:02 AM
Calling a .net 2.0 web service, get "The underlying connection was closed: An
unexpected error occurred on a receive."
I have tried everything I have found on the web. The httpRequest override,
disabling keep alives, increasing timeout etc, etc..
I have a client app that calls the web ser... more >>
wrap xml in soap envelope without string builder
Posted by blackpope at 1/31/2008 8:32:01 AM
I need to wrap xml in a soap envelope and don't want to concat strings
possible?
<env:Envelope xmlns:env="http.../envelope/">
<env:Header/>
<env:Body>
<QueryRequest > this part i already got to work using xsd to class and
xmlserializer
I just can't seem to be able to find a way to wrap the ... more >>
WCF vs. Web Service
Posted by cj at 1/30/2008 4:47:38 PM
Can I access a web service with a WCF client?... more >>
web service concurrent requests
Posted by Raan at 1/29/2008 2:41:49 AM
Hi All,
I am newbie to web services. I have developed a web service which do
some kind of encryption and decryption of documents.
I am using iis and asp .net web service.
Now i want to check how many concurrent users can be supported by my
web service. Can you please tell me some tool tha... more >>
WCF SecurityNegotiationException across machines
Posted by Competitive Dad at 1/28/2008 6:56:02 AM
I have a WCF service using wsHttpBinding and a client that is a website,
hosted on the same Windows 2003 Server.
If I use the client on the same machine as a service everything is fine. If
I use the website on a separate machine (IE 6 on XP SP2) I get a
SecurityNegotiationException, "The c... more >>
WCF - MessageSecurityException - when can it occur?
Posted by pstachowicz@onet.eu at 1/28/2008 6:40:38 AM
Hi,
Is it possible to get MessageSecurityException after the security
context has been negotiated and the service operation has been
executed?
i.e. Can I assume that when I get this exception the method has never
been executed?
Thanks,
Piotr... more >>
multi tasking?
Posted by cj at 1/25/2008 4:10:55 PM
Strictly as an example, suppose I write a web service that takes an
employee number and then does some processing and returns their security
clearance, name, department or some such stuff. Again for arguments
sake say this processing takings about 15 seconds each time. Lastly
assume there ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
WCF Hosting Issue
Posted by Tina at 1/24/2008 5:57:25 PM
I'm going through this book on WCF and the first example has me writing a
WCF host in the form of a console app. The code is as follows:
using System.ServiceModel;
namespace Host
{
class Program
{
static void Main(string[] args)
{
using (ServiceHost h... more >>
Hosting Web Services
Posted by davebythesea at 1/24/2008 6:52:08 AM
Dear List,
I have been writing Web Services and running them from either a local IIS
Server on XP Pro or within the built in web server in VS2003 and more
recently VS2005.
I was considering getting a 'real server' to host some web services, but am
not sure which Microsoft server is best ... more >>
<%@ WebService Language="vb" CodeBehind=...
Posted by Will Game at 1/24/2008 12:09:39 AM
Hi, I,m trying to make my web service public, bu I have problems with
this line:
<%@ WebService Language="vb" CodeBehind="~/App_Code/GISAdmin.vb"
Class="GISAdmin" %>
How to fix this?
*** Sent via Developersdex http://www.developersdex.com ***... more >>
WCF basicHttpBinding
Posted by Philip at 1/23/2008 7:21:55 PM
I have created a WCF Service with a basicHttpBinding. It is not easy for me
to deploy a server certificate, so this is the reason I am using a
basicHttpBinding..... with a simple username/password authentication, using
the asp.net membership subsystem.
I am hosting my WCF Service under IIS... more >>
Populate web service response from xml file
Posted by Magnus at 1/22/2008 5:00:22 PM
Hi,
I will implement a mock web service for internal testing of a client
application we're developing. We do not want to hard code the answers, but
instead store the possible answers as XML data/files in a database. Each web
service method could have several possible answers which should be... more >>
.htaccess and soap
Posted by Joshua at 1/19/2008 7:38:08 PM
Hi,
I want to cosume a .htaccess protected webservice by C#. While I am
calling a function I get a Exception like this:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://...'
If I go to the file by browser I get this output:
Browser:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://sche... more >>
There is already an open DataReader associated with this Command..
Posted by Asaf at 1/19/2008 9:57:00 AM
Hello,
I have two Table Adapters that I am storing in a Cache using .NET 2.0 Web
Service and the Database is SQL Server on Windows 2003 IIS6.
Each of the two table adapters has its own Connection string.
The reason that table adapters are in cache is because I would like to
maintain the c... more >>
Can you create a VISIBLE System.Windows.Forms.Form in a webservice?
Posted by jojoba@gmail.com at 1/18/2008 11:16:00 AM
Hi,
I am trying to create a .net webservice such that:
When a user calls the service, the server creates a
System.Windows.Forms.Form
and shows it on the server screen. I know this sounds bizarre, but i
do have a good reason for doing this.
I can get the following to work when i run the ser... more >>
Tweeking webservice to produce small XML representation if dataset
Posted by DC at 1/17/2008 9:08:27 AM
Hi,
the xml my webservice is rather verbose. One simple tweak was setting
the table name to "T" (while it was "Table1" by default) which saves
nicely since the function easily returns 5000 rows. But there is more
redundant stuff, one row now looks like:
<T diffgr:id="T4998" msdata:rowOrder=... more >>
Webservice running very slowly
Posted by John Sheppard at 1/16/2008 11:53:41 AM
Hello there,
I am running a webservice on IIS6, sometimes it runs at a reasonable speed,
sometimes it runs painfully slow and sometimes inbetween. The application
that consumes the service is vb.dotnet and runs on a local area network.
Does anyone have any ideas? Where should I start to lo... more >>
Returning an ArrayList of Custom Objects From a Web Service
Posted by Drew at 1/16/2008 9:24:03 AM
I have a current requirement to all a subsidiary to use a current legacy
application and interface with my new system to inject data when appropriate.
I wanted to create a web service since we are both .Net shops and this would
seem to be the easiest method. But I ran into one snafu. I wanted ... more >>
<%@ WebService Language ="Vb" Class="....
Posted by cj at 1/15/2008 4:54:25 PM
I've seen examples of web services written with <%@ WebService
Language ="Vb" Class=".... at the top. Is it not used in VB 2008?... more >>
different way of writing a web service?
Posted by cj at 1/15/2008 3:45:34 PM
<System.Web.Services.WebService(Name:="CJ's Service",
Description:="Testing 123", Namespace:="http://myco.com/cj/one")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)>
_
<ToolboxItem(False)> _
Public Class Service1
Inherits System.Web.Services.Web... more >>
Exposing VB6 COM dll via WCF
Posted by chriscap at 1/15/2008 8:58:01 AM
I tried searching the forums for this already and didn't find anything. I
want to expose functionality from a vb6 COM component via a WCF service. I
am trying to evaluate if exposing this webservice and using a COM component
is scalable. I have heard there are problems with this revolving a... more >>
using SoapExtensionAttribute to specify soapextension
Posted by Eddie J at 1/15/2008 8:52:12 AM
I'm trying to define a SoapExtensionAttribute to tag web service method calls
that should run through a SoapExtension. However, I can only get it to work
when the SoapExtension is defined in the config file.
Are there any known issues with using the former method?
Thanks--... more >>
Does WSDL.exe's protocol parameter actually allow http post?
Posted by Thomas Lunsford at 1/14/2008 1:31:36 PM
I have been asked to allow one of our old-school .asp pages to support
being used as a web service. Specifically, WSDL was mentioned. I am
not an expert on this , but I have done quite a bit of reading, and I
understand that I can create a WSDL file that supports HTTP POST and
then use WSDL.ex... more >>
WCF: How to disable remote connections
Posted by Markus Strobl at 1/14/2008 1:08:35 PM
Hi!
I'm developing a self-hosted WCF service running on client machines for
interprocess-data exchange using netTcpBinding.
For security reasons i'd like to configure the service in a way it only
accepts local connections.
Does anybody know how this can be done?
Thanks a lot in advan... more >>
Webservice data question
Posted by Matt at 1/14/2008 10:49:02 AM
Just starting to work with webservices (using C#).
We need to build a service that will accept an order from one of our
business partners. The order will consist of 10-12 fields (we are
still finalizing with them). I can have them pass this data as
individual parameters - but was looking at ... more >>
Changing MTU size on client machines
Posted by Glenn Thimmes at 1/12/2008 2:53:01 PM
Hello,
I have a c# application hitting an asp.net web service. .net 2.0
I have been told by a customer of mine that it is necessary that I reduce
the MTU size of all my outbound client web requests to 1470. I've done a bit
of searching on the topic, and it is apparent to me that this can o... more >>
namespace?
Posted by cj at 1/11/2008 3:07:05 PM
What does the line
<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
do in the example below?
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, uncom... more >>
help understand C# example for use in my VB web service
Posted by cj at 1/11/2008 3:03:42 PM
I'm trying to understand writing web services in VB and I have been
pointed to an example that's in C#
http://dotnetjunkies.com/Tutorial/4D13CEFA-D0FD-44BE-8749-8D17B5757564.dcik
Where do I put [WebService(Description="My ...")] in VB?
I'm still working with the default web service that is gi... more >>
HttpChannel in WCF
Posted by Scott at 1/11/2008 6:27:00 AM
I have a small program that exposes an interface via soap as follows:
HttpChannel ipc = new HttpChannel( nPort );
ChannelServices.RegisterChannel( ipc, false );
RemotingConfiguration.RegisterWellKnownServiceType(
typeof(WsdlClient.CJLResponse), "JLSoapResponse.rem",
WellKnownObjectMode.Sing... more >>
Client sends incomplete SOAP-Request
Posted by Martin Hey at 1/10/2008 4:24:35 PM
I'm consuming an AXIS-webservice. Therefore I got the WSDL.
I added a new web reference to my project pointing to this WSDL.
In Visual Studio I can use all objects the webservice returns and The
service responds to all requests. But there is also a method I have to send
one of the complex ty... more >>
Type is ambiguous. Please specify the assembly explicitly...
Posted by Mini-Tools Timm at 1/10/2008 3:50:06 PM
I have an odd web services problem.
I have a shared assembly (shared.dll) that is referenced both by a C#
WinForms client (client.exe) and a C# Web Service (service.dll). When I
upload the web service, naturally both service.dll and shared.dll are
uploaded to the bin folder.
In servic... more >>
WCF error: The request for security token could not be satisfied .
Posted by Jerry C at 1/8/2008 11:04:03 AM
Accessing a WCF service I get this error:
The request for security token could not be satisfied because authentication
failed.
I am trying to use a very simple WCF service and at this point I don't need
much security. I need to know how to configure a WCF service with the minium
securit... more >>
Retrieve a List of WebServices from a Server
Posted by Busby at 1/8/2008 4:33:01 AM
Hi
I need to retrieve a list of all WebServices running on a specific machine.
Much like DevStudio produces a list of WebServices on the local machine.
The machine is XP Pro and as far as I can see does not have a .disco file or
UDDI url to read!
How does DevStudio generate the list of... more >>
calling windows service from webservice
Posted by leo2 at 1/7/2008 9:56:01 PM
Hi All,
I have a question which might be a beginner's question.
I have a webservice whose webmethod has to call a window's service and get
back the results.
What is the best way to implement this scenario.
I am asking this as windows service is an exe and i could not figure out a
way ... more >>
What is outputtrace.webinfo and inputtrace.webinfo?
Posted by John at 1/7/2008 7:24:05 PM
Does anyone know what outputtrace.webinfo and inputtrace.webinfo are for?
Is this just a track of everything sent and received to the webservice?
Is this a security problem to have these?
Can I switch it off?
Thank you for any help
John
... more >>
WCF: Problem with CallbackContract and WinForms-Client
Posted by Markus Strobl at 1/7/2008 10:39:05 AM
Hi!
I've created a WCF Service using netTcpBinding which exposes a Callback
Contract so clients can get notified about specific events.
It actually worked when the client was a Console Client but as soon as i use
this callback-stuff from within a WinForms client the callback just doesn't
... more >>
publishing Hello World to local IIS
Posted by cj at 1/7/2008 10:28:48 AM
Perhaps someone knows how to do this. When I open a new ASP.NET web
service application in VS 2008, it opens with a simple Hello World web
service already written. I want to see this work. Without changing a
thing I built the solution and published it to localhost default web
site. How c... more >>
Error 503 Service Unavailable using VS2005 and Vista IIS 7.0
Posted by Rick at 1/3/2008 2:44:07 PM
I am trying to set up a WCF service using VS2005 on Vista using IIS 7.0.
I created a website, selecting a WCF Service template and
http://localhost/ServiceName. Even the most simple project when I try to
navigate to the http:/localhost/ServiceName/Service.svc always gives me the
error "HTTP... more >>
writing How To on web services..did I miss anything
Posted by jranan at 1/3/2008 1:56:01 PM
I have been tasked with writing a How To document for my organization. I have
written web services before but am undertaking this endeavor. I have started
with a priliminary list of what I think should be involved in this document.
Can anyone think of anything I missed?
what do we need to d... more >>
calling axis webserivce with credentials in header
Posted by Kjartan Furnes at 1/3/2008 9:35:24 AM
Hi,
I'm trying to access a webservice on an axis server from my .net client
(c#). First I have to call a login service that returns a session ID. This
session id should then be added to the header of the actual webserivce call
together with a userid and version number. The header should loo... more >>
Converting an endpoint from a config file to code
Posted by michael sorens at 1/2/2008 10:25:01 AM
As a baseline, I have a working client and service, each of which uses an
app.config file to specify the connections in the <system.serviceModel>
section.
What I need to do, however, is connect to the WCF service via a COM
interface. As I see it, my client then does not have access to the
... more >>
Problems with namespaces
Posted by Simon at 1/2/2008 8:54:55 AM
I have problem with namespaces. I have a program that consumes the web
service and has for instance names space nsProgram. In this program I have
defined several classes that I use for storing and handling internal
information. Than I have web service, that also uses the same classes (I
incl... more >>
Trouble with complex return types
Posted by sebastian.mattar@gmail.com at 1/2/2008 3:11:50 AM
HI there!
I am trying to consume a web service implemented in Perl (SOAP::Lite)
using VS Express 2008. I already implemented a client in java without
problems.
I succeeded in calling the web service, but the SOAP-Call returns a
complex type which is not handled correctly.
Invoke() throws a... more >>
|