all groups > dotnet web services > april 2006
Filter by week: 1 2 3 4 5
Sending data over internet using web service
Posted by Jonathan Woods at 4/28/2006 9:29:07 PM
Hi there,
I have encountered problem of losing data sending over internet using
web service. I consume web service that connected Oracle Database. I
submit 687 SOAP Messages to 1 Web Method concurrently. (With
synchronize method)
[WebMethod]
public bool SubmitDPSuccessResult(string dpNo,... more >>
Wati for SOAP response
Posted by Sagaar at 4/28/2006 2:04:01 PM
Hi
I want to wait for SOAP response for 10 sec if it doesnt come up I want to
cancel and notify the user...
how to do this in asp.net using c#..any ideas?
Any pointers, links
Thn in advace
Sagar... more >>
Access web service from a COM dll
Posted by eric.kirkham NO[at]SPAM gmail.com at 4/28/2006 1:15:52 PM
Hi,
I'm new to posting on this group so I'm sorry if this post should be
directed to another, more appropriate, group. In any case, I've been
working on adapting a COM dll developed by someone else to access a web
service.
It works like this...a program (that I can't modify) calls a COM dl... more >>
WinFX Download
Posted by salman.rahmat NO[at]SPAM gmail.com at 4/28/2006 11:26:20 AM
Hi there,
I have faced a problem in instailling hte WinFX. I have downloaded the
original file but when it begins downloading the call to the server
fails several times before it ends. Anyone faced the same problem?
Regards
... more >>
Forcing single in-line web service execution?
Posted by eross NO[at]SPAM cots.com at 4/28/2006 8:12:56 AM
Noob here,
I am trying to manage calls from multiple clients to my web service by
only letting one execute at a time and forcing the others to wait.
Code is as follows:
------------------------------
<WebMethod()> Public Function myFunction(ByVal sXMLData As String) As
String
Static D... more >>
How to write a webservice that only uses http and xml(no soap) and require client authentication?
Posted by jens Jensen at 4/28/2006 12:00:00 AM
Hello,
I need to write a webservice. That can be posted to the webservice using
http post.
the data is only xml. The user must provide a username and paswword.
where can i see example of such a scenario?
Many Thanks
JJ
... more >>
Problem adding a web reference - VS.Net 2005
Posted by Monty at 4/27/2006 12:35:10 PM
VS.Net 2005 on Win XP SP2
I'm trying to add a web reference to an external SOAP application written in
RemObjects, but when I attempt to add the reference I get an error message
saying "The proxy settings on this computer are not configured correctly for
web discovery. Press F1 for more inform... more >>
How to map XML to .NET class?
Posted by Zean Smith at 4/27/2006 11:24:25 AM
I was given an XML (see below) already in string format, is it possible to
map the data to an Array of a .NET class? I read some article about
XMLDataDocument and XMLReader, but never talk about mapping... help.
It would be cool if I can get data fill out like this from XML..
((myclass)... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cheap .NET hosting??
Posted by David++ at 4/26/2006 6:26:01 AM
Hi folks,
Anyone know of any cheap(ish) Web hosting packages out there for hosting
..NET web services?
Thanks for any tips!
David... more >>
How to generate web service code from wsdl?
Posted by Sek at 4/26/2006 1:33:31 AM
Folks,
>From my understanding of web services, an ASP.net C# web service is
written first and .wsdl file is made available to the client.
The client generates the proxy class code using the .wsdl file.
In my situation, i have a .wsdl file alone. Is it possible to create
the signature of w... more >>
Webservices and TableAdapters
Posted by William Buchanan at 4/26/2006 12:00:51 AM
Hi folks
There is lots of information on how to work with table adapters and Windows
forms, but very little for web services.
Can anyone point me in the direction of the best way to create a web service
which will use the new table adapters, etc, and a client which will consume
the servi... more >>
help with service on win 2003 server x64
Posted by Sedgehog at 4/25/2006 3:39:01 AM
hi
I am having a problem getting my web service to run on server 2003 x64. The
web service uses some dlls and these are 32-bit dlls. When running the web
method which uses these dlls, I get the follwing error
An attempt was made to load a program with an incorrect format.
Does anyone h... more >>
Web Service Proxy -- Begin/End pattern?
Posted by D.J. Heap at 4/24/2006 5:43:02 PM
Is there a way to get VS2005 to generate the Begin/End pattern (as VS2003
always did) for async web service calls rather than the
MethodAsync/MethodCompleted pattern when adding web references?
The MSDN documentation seems schizophrenic and references both patterns, but
I can't find a way t... more >>
Problem with Web services
Posted by salman.rahmat NO[at]SPAM gmail.com at 4/24/2006 2:43:19 PM
hi there
I am using MapPoint Webservices in my navigation application using
VS2003 and some others using VS2005. The problem is that when I call a
web service sometimes it gives me the results (rarely) and often it
gives me the error of time-out.
I searched about the probelm and found in some r... more >>
How to compress a soap message?
Posted by Fariba at 4/24/2006 1:14:02 PM
Is there a way that I can compress my binary data inside my soap message?
Thanks ... more >>
VS2005 WebService Debug against VS2003
Posted by Craig at 4/24/2006 10:46:02 AM
Hi All,
Not too long ago, I posted a question about any known issues of a VS2005
application calling a VS2003 web service. We narrowed it down to an issue
with VS2005. If our customer runs their application outside of VS2005, it
works. If he runs it in VS2005, the webservice call will ti... more >>
SQL XML Bulk Load VB Web Service Error
Posted by Andy Hunt at 4/24/2006 5:31:01 AM
Hi,
I am having a problem with SQLXML Bulk Load inside of a web service ( also
inside of a basic aspx page). I have a WebMethod in a web service that
makes a call to bulk load. This works perfectly on my local test machine (it
has VS 2005, SQL Server 2005 Ent, SQLXML 4.0 Libs and standa... more >>
Keepalive = false 401 Access Denied
Posted by okaminer at 4/23/2006 11:34:51 PM
Hi
This is for the experts
I have override the GetWebRequest method and set the keepalive property
to false in order to overcome a certain in .NET web service problem.
My problem now is that when I set keepalive property to false I always
get 401 exception access denied.
It seems that the ... more >>
WebReference Question
Posted by Rob Schieber at 4/21/2006 1:25:52 PM
Hi,
I'm trying to add a web reference to my ASP.net project. Is there a way to
tell VS.Net not to generate the proxy types and instead use a specific
interface? For example, if I have a class "Person", and a webservice that
returns "Person" i want VS.net to use that same person class and ... more >>
Generate .vb/.cs class file from a .dll/.COMPILED file of a web se
Posted by nowwebserviceha at 4/21/2006 11:16:02 AM
Hi,
Its a web service(.asmx) precompiled dll. I used wsdl tool, but that only
generates wrapper code. I have access to .asmx file which links to the dll
(no code inside it). I need to look in what the service is doing, its
methods, code written for each method etc.
thnx
... more >>
Http to windows service
Posted by markoueis NO[at]SPAM hotmail.com at 4/20/2006 11:47:16 AM
I want to have clients accross the internet send information to my
Windows Service (all the way to the main business appdomain) as fast as
possible and with the least ammount of processing (serializing, ports
etc.). Also, i want to code this as easily as possible (webservices?).
What's the best ... more >>
HELP:Using dlls with Visual 2005 Web Services?
Posted by rino65 at 4/20/2006 12:40:03 AM
I have just converted a 2003 webservice to 2005. It used a dll created in C++
however now when running the web service I get the error that it could not
load the specified dll. It seems like a path issue. With the 2003 both the
Web Service Dll and the other dll resided in the bin directory.
... more >>
VS2005 App Calling WebService built with VS2003 Issue
Posted by Craig at 4/19/2006 9:50:02 AM
Hi All,
One of our customers wrote an application in Visual Studio 2005 and is
trying to use our webservices that was built with Visual Studio 2003. He
reports that the call to the method always times out. If he uses the same
code in Visual Studio 2003 it works fine (it's a simple sign-in... more >>
slow web services
Posted by BonaM at 4/19/2006 5:20:02 AM
Hi,
I'am a running web service on IIS 6.0 and asp.net 2.0. Every time the
first request to the service takes about 15 seconds to give a response.
For the next 60 seconds the response returns in about 3 seconds, but
after that 60 seconds period it takes again that 15 seconds delay to
load. This ... more >>
Certification questions
Posted by Johhy at 4/19/2006 12:00:00 AM
Hi,
I recently took the web services certification test, and afterward I looked
at some braindump-question to see what the correct answer was. However, I
still don't know the correct answer and hope you can help me :) Here are 5
questions I want to know if I answered them correctly:
/Jonny... more >>
Accessing an https webservice error as
Posted by ShilpaM at 4/18/2006 11:13:02 PM
Hai,
I am trying to access an java https webservice in c#,i have wrriten coding
for everything to handle the security but i am getting error as Response of
Type text/html expected text/xml,why am getting this error
Regards
shilpa... more >>
minOccurs="1" for webmethod array parameter
Posted by NoNickname at 4/18/2006 4:36:02 PM
Right now I'm getting this in the wsdl:
<s:element minOccurs="0" maxOccurs="1" name="Items"
type="tns:ArrayOfMyClass" />
I would like to get minOccurs="1" for this webmethod:
[WebMethod]
public string HelloWorld(MyClass[] Items)
{
return "Hello";
}
I've ... more >>
Weird .NET folder structure?
Posted by cada0310 at 4/17/2006 8:36:01 AM
Hi there,
I'm new to Web Services, and whenever I create a new soltution, VS 2005
seems to REALLY want to put my solution and my code in 2 seperate locations -
making source control very angry.
It seems to want to put my solution file here:
C:\Documents and Settings\CA\My Documents\Visual... more >>
Using Mutex across web applications
Posted by Yair Nissan at 4/16/2006 6:16:03 PM
Hi,
I've been using Mutex to synchronize files over between several windows
applications. Is it also safe to use the Mutex for synchronizing between web
applications ?
In particular :
I have several different web applications on the same server. I want all the
applications to write data to... more >>
WebSerice Call from Application to https://
Posted by Aikido at 4/14/2006 8:52:01 PM
Hi,
I'm having an issue calling my WebService from an application.
I published the WebService successfully on our DMZ box using https://, and
in a Windows Application I made a WebReference to the Service without an
issue, passing the correct user/password to the site. However when I execu... more >>
web reference in a .net class library
Posted by russell.lane at 4/14/2006 6:04:18 PM
I have a web service that exposes database contents as disconnected
datasets. I would to use that web service from within a class library.
I have included a web reference to the service in my class library project.
If I bring up the reference in the object browser, I see the web service
n... more >>
Webservices and Access 2000.
Posted by UJ at 4/13/2006 1:08:34 PM
Can you make calls to web services with Access 2000?
... more >>
WebService proxy not generated classes
Posted by vincent at 4/12/2006 11:13:16 PM
Hello,
I'm webreferecing some webservice.
I have one WebMethod returning "List<SomeClass>"
I don't want "SomeClass" to be proxy generated on client side But i want
to use the same "SomeClass" that i have on server side.
I have seen one day an attribute to put on the WebMethod to specify ... more >>
DIME
Posted by Matt B at 4/12/2006 6:20:23 PM
Does anyone know if DIME is available for Visual Studio.NET 2005?
I have Visual Studio.NET 2003 and I installed the Web Services
Extension pack 2.0 in order that I could use DIME. Seems to work well.
I'll probably getting VS.NET 2005 soon, which uses Extension pack 3.0.
I know this extension... more >>
Help - How to forward an asmx?wsdl request to an alternate WSDL URL?
Posted by jjouett at 4/12/2006 3:33:28 PM
I'm setting up a manually created WSDL file that defines the specifics
of the required elements, default values, etc. instead of using the
generated WSDL from the asmx?wsdl mechanism. Everything works with my
web service, but I would like to have some mechanism that forwards any
asmx?wsdl reque... more >>
Problem with DIME attachments
Posted by Matt B at 4/11/2006 6:34:56 PM
Hi all,
This problem is close to driving me insane.
Basically, I'm trying to use DIME to add an attachment to a SOAP
message and send it to the web server. The WSE 2.0 toolkit is
installed, which allows for DIME to be used and everything is set up
correctly as far as I know.
My code is:
... more >>
Web service parameters
Posted by Matt B at 4/10/2006 10:15:44 PM
Hi all,
I am creating a web service which takes in a bulk of training text for
each of two authors, along with a third bulk of anonymous text, and
predicts which author is most likely to have written the anonymous
text.
I have no experience with web services and I am confused about the
bes... more >>
Some basic questions
Posted by Peter Morris [Droopy eyes software] at 4/10/2006 7:17:00 PM
Hi all, I have some basic WebService questions
#1
Let's say I have a business class named "Customer". The customer would be
able to log in and update their personal information like so
void UpdateCustomerInformation(Customer customer)
changing information such as their telephone number ... more >>
Passing an enum to a web method
Posted by Tony at 4/10/2006 1:49:01 PM
Does anyone know how to pass an enum to a web method?
public enum RptSetStatus
{
PendingApproval,
Active,
}
[WebMethod]
public void SetRptSetLoadComplete(Guid oUserInstance, int nRptSetId,
RptSetStatus eRptSetStatus)
{
}
Tony
... more >>
Session State
Posted by Victor Paraschiv at 4/10/2006 12:00:00 AM
I have created a simple webservice using C#. Now I want to consume it
from a windows application.The problem is that the information saved in
Session object do not persist across calls of different methods from the
same instance of application.All of them have the
[WebMethod(EnabledSession ... more >>
Java client to C# web service
Posted by maleone41 NO[at]SPAM gmail.com at 4/8/2006 11:50:20 AM
I have a C# web service running on a machine that I would like to
connect to with a Java client.
To verify the web service is working properly, i quickly made a C#
client, added a web reference, and connected to the web service no
problem.
My problem is developing the Java client. I'm crea... more >>
Calling .NET web service from standard asp
Posted by ecydba at 4/7/2006 4:47:02 PM
When attempting to use a web service that has NTFS permissions to the Domain
Users group and Anonymous access turned off in IIS on a WinXP machine with
the following classic ASP code:
Dim oSoap
Set oSoap = Server.CreateObject("MSSOAP.SoapClient30")
oSoap.ClientProperty("ServerHTTPRequ... more >>
401 Access Denied on web service call
Posted by Robert May at 4/7/2006 4:10:43 PM
Here's the setup:
Windows 2003 running .net 1.1 webservice with Integrated Authentication set.
Client machine running .net 1.1 on xp pro with latest service packs and
updates.
User also has Solomon 6.0, Microsoft Office Basic and Microsoft Office
Profesional, Acrobat reader, Adobe Acrobat... more >>
WebProxy url : web method call intermittently failing
Posted by John A Grandy at 4/7/2006 11:50:13 AM
I am always RAS'd into MS CorpNet VPN under my REDMOND account.
I am always able to ping "itgproxy.redmond.corp.microsoft.com"
I instantiate a System.Net.WebProxy object as follows:
using System.Net;
string proxyUrl = http://itgproxy.redmond.corp.microsoft.com;
WebProxy proxy = new WebPro... more >>
Need to be able to post without soap headers to a web service
Posted by Heena Patel at 4/7/2006 10:29:05 AM
Hi,
I have a implemented a web service interface that has a webmethod accepting
xml, but I need to also have post option available to my webservice. I
understand if a client Posts a SOAP reqyest, it will work with my webservice.
The problem is my client cannot send soap method, they will be... more >>
Refferencing a Webservice proxy class
Posted by Vi at 4/7/2006 7:28:01 AM
Hi,
I'd like to invoke a web service from a Windows Forms client, without
creating a web reference to the web service in the client project (VS.NET
2005).
I created the proxy class using wsdl.exe, added it to the client project and
I'm not sure what to do next in order to reference/invoke ... more >>
Error 500 - 'text/html'...expected 'text/xml' (string overflow?)
Posted by Jon at 4/6/2006 6:11:02 PM
Anyone seen a webservice return this error:
Error: Client found response content type of 'text/html;charset=utf-8', but
expected 'text/xml'.
The request failed with the error message:
--Error 500:--
I'm hitting a web service which retuns XML data in a string. It works fine
for smaller r... more >>
web service behind reverse proxy
Posted by bart at 4/6/2006 5:19:32 PM
Hello,
We have a web service running on IIS (running on port 8080) that is behind
an apache web server (running on port 80) with reverse proxy to the IIS.
Accessing the webservice with the url http://ourhost/webservice.asmx?wsdl
works fine (in browser). However, the urls described by the wsdl ... more >>
Using Enum type as Webservice Parameter
Posted by Martin Engelhardt at 4/6/2006 6:33:02 AM
Hi,
I want to use the following:
Class Test ...
Public Enum TestEnum as integer
Enum1 = 128
Enum2 = 256
End Enum
<Webmethod...> _
Public Sub TestSub( parm as TestEnum)
....
End Sub
....
End Class
The enum we want to use is a enum from oracle .net client (db-datatypes)
wh... more >>
Precompile ASP.NET Web services problems
Posted by Bragadiru at 4/6/2006 12:00:00 AM
Hi,
I have 2 pbs :
1. When I'm using VS2005->Publish Web site => everything is pre-compiled
fine (App_global.asax.dll is generated, too), except that I don't find
Global.asax file in my destination folder and I need to copy it there
manually. What is strange : Global.asax.resx file is co... more >>
|