all groups > dotnet web services > may 2006
Filter by week: 1 2 3 4 5
401 Error
Posted by David Jessee at 5/31/2006 12:54:02 PM
I can't make heads or tails of this.....
I can browse to the URL:
http://servername:8080/services/v1.0/registration.asmx
I can set a reference to it.
However, if I try to call one of the mothods on the service, I get a 401
error.
If I set my Proxy's UseDefaultCredentials=true it works... more >>
web service tracking
Posted by goowa12 NO[at]SPAM gmail.com at 5/31/2006 4:53:03 AM
Is there a way I can track if a web app is making a call to a web
service, and/or how many calls are made, what time etc? Ive heard it
can be done with Ethereal, but have no Idea what it is Im looking for?
Please help!
... more >>
How to Compile project without having WEB-Service available
Posted by Peter Stojkovic at 5/31/2006 12:00:00 AM
VS 2005 , WINDOWS XP SP2
I have a WIN-FORMS project and a secons project with a web-service.
The WEB-Service is called from inside the WIN-Forms Project.
I am normally working in the network of the customer , where the WEB-Service
is available.
But now i am working at home with my laptop... more >>
June is web services webcast month
Posted by Kirk Allen Evans at 5/30/2006 12:01:59 PM
I wanted to let you know about a fantastic webcast series focusing on web
services technologies. From ASMX 2.0 to WSE 3.0 to WCF, there are some
great sessions that you will want to check out.
All - please blog the webcast series, "Windows Vista: Improve Your Desktop
Security and Deploymen... more >>
Choosing source IP of webservice call
Posted by berto at 5/30/2006 7:13:57 AM
Hi all,
I've been searching around for a long time to solve a question I have,
and haven't found a solution yet, hope some of you can help me.
The problem is that I have a server which has two IP addresses, and a
web application which consumes webservices from other servers. The
thing is that... more >>
Setting URL Behaviour to Dynamic in C++ Project
Posted by James at 5/30/2006 6:55:01 AM
Hello,
I have an existing MFC C++ project which I need to add the ability of
sending WSDL calls out to a web service. When this project is deployed the
web service URL will always change depending on the user's local setup.
I can use the "Add a Web Reference" wizard to do this, however wh... more >>
parameter order when calling a web service
Posted by Duffcase at 5/29/2006 6:54:02 AM
Hi.
I'm having some problems consuming a webservice. The server keeps
complaining about the wrong element beeing sent..
I have this method that takes two strings String_1 and String_2
The server expects to get String_1 first, but somehow my client (C# .net cf)
sends String_2 first.. On t... more >>
WebServices and XMl dataset
Posted by Sam at 5/29/2006 2:36:46 AM
Hi there!
I would like to know:
a) How to read xml datasets from cache?
b) How to save it as xml and map the fields and update the my sql /
SYbase database?
Please help me out.
With Thanks!
Sam
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Maintaining state using static members
Posted by dmitri.pekker NO[at]SPAM gmail.com at 5/28/2006 6:00:45 PM
I'm relatively new to web services and I stumbled on some code that
maintains state between calls using a class with static members. This
is not the actual code, but you get the gist:
[WebMethod]
void AddToRepository(string name, int v)
{
ClassWIthStaticMember.AddToRepository(name, v);
}
... more >>
WSE 3.0 Example code
Posted by Simon Hart at 5/28/2006 2:24:19 PM
Anyone have any links handy?
Regards
Simon.
... more >>
tracing web service calls
Posted by magennisw NO[at]SPAM etrade.com.au at 5/28/2006 12:24:20 AM
Our three tier web application is "pausing" under test loading (IIS 6.0
(win2003) -> Web services (win2003) -> SQL server) . The CPU usage on
the W3WP.exe on both the web server and middle tier drops to zero for
about 5 seconds then springs back into life. Nothing in the NT event
logs. No SQL da... more >>
How to use WSDL file
Posted by Kumar at 5/27/2006 10:56:01 AM
How to use WSDL file provided by my CRM application (Salesforce.com) in my
own ASP.NET application. Please follow the steps to get WSDL file.
Click on the following link to get connected with Salesforce.com CRM
application : -
https://www.salesforce.com/login.jsp
User id: sunil_mzp@y... more >>
"Unable to connect to the remote server" while debugging webservice
Posted by Stefan Rogge at 5/27/2006 12:00:00 AM
Hi at all.
I am new in this newsgroup and also it ist he first time I try to
implement a webservice. This works very good but the last days I had
some problems with the error mentioned in the headline. In the internet
I found some things but they do not work. The local maschine name is
i... more >>
Generated proxy class conflicts with custom class --REVISED--
Posted by Fabio at 5/26/2006 5:11:01 AM
An ASP.NET 2.0 web site contains a web form and a web service. The web form
consumes the web service. There is a Book class in the App_Code folder. The
web service exposes a method that returns a Book object. The consumer
includes a method that require a Book parameter. However the Book genera... more >>
Generated proxy class conflicts with custom class
Posted by Fabio at 5/25/2006 11:33:01 PM
An ASP.NET 2.0 web site contains a web form and a web service. The web form
consumes the web service. There is a Book class in the App_Code folder. The
web service exposes a method that returns a Book object. The consumer expects
to receive a Book object. However the Book generated proxy class... more >>
Authenticate SOAP Message only no GET OR POST
Posted by bhu at 5/25/2006 8:24:08 PM
Hi
i need to write a webservice which will accept only soap message NO POST or
GET.
i can see this in WSE using RequestSoapContext.Current but we don;t want to
use WSE, is there way ?
Can any one post some link samples for this.
ALSO i see this type of message on some of the services
S... more >>
Issue Regarding 401 error by web service
Posted by Rosi at 5/25/2006 12:54:01 PM
Hi,
I am having web service with number of methods. We are using integrated
windows authentication for this web service. This service is working fine
with integrated windows authentication.
If I call this service after two minutes of idle time, for first request I
will get 401... more >>
commas instead of dots???
Posted by David++ at 5/25/2006 6:11:02 AM
Hi folks,
Just been having a play with my .net server space and have added a few basic
web forms and a couple of web services. I noticed that when I return double
precision values from the server and display these, the decimal point is
replaced by a comma?
For example,
51,12345 is ret... more >>
using WSDL.exe programmatically
Posted by Pierre at 5/24/2006 6:26:18 AM
Hi all,
I'm building a small app that allows users to create proxys by clicking
on an interface (web, winform).
I started my project, imported wsdl.exe (add reference) and tried to
figure out a way to use it programmatically (throught object browser,
research engines, msdn...).
But I hav... more >>
Authenticating Web Service
Posted by Anbu at 5/24/2006 5:44:55 AM
I'm using VS 2005 (Framework 2.0) to consume a Web Service. This web
service is hosted on an Unix Server with Digest authentication mode.
How can I autherize the client to access the Web Service?
In .NET Framework 1.1, there was an option to setup Credentials. How
this can be done in ,NET ... more >>
Best Practice for Sending/Receiving XML Files Through Web Methods
Posted by WoodenSWord at 5/23/2006 3:39:02 PM
Hello,
I am just wondering what is the best practice for sending/receiving XML
Files Through a web service method.
For example:
1) As a string
<WebMethod()> _
Public Function SendXml(ByVal xmlString As String)
(But what happens with the xml's encoding then?)
2) As an array o... more >>
Hosting & web service question?
Posted by prefersgolfing at 5/23/2006 1:07:46 PM
I have a web site that is being hosted @ godaddy. Let's just say
www.mysite.com. I have a webservice that returns a product list, an xml
stream. Can I put the web service(myproducts) in a folder at mysite and call
the list method?
Something like: www.mysite.com/mywebservice/myproducts.list ? ... more >>
SOAP over HTTP
Posted by Anbu at 5/22/2006 11:55:22 PM
Could anybody help me on how to implement SOAP Receiver on VS 2005 with
WSE 3.0?
TIA
... more >>
First WebService..but what files to upload?
Posted by David++ at 5/22/2006 10:37:02 AM
Hi folks,
Just been having a play with C# Web Application project. So far I've just
created a single Web Form with some text and links. I now want to upload the
Web Form to my server space. The Form is called index.aspx . However, I'm not
sure what files exactly I need to upload? The projec... more >>
cannot pass xmldocument
Posted by ojinfo NO[at]SPAM gmail.com at 5/22/2006 5:34:13 AM
hi
i am currently working on a web service which is supposed to take a
xmldocument as input parameter, and then returns another xmldocument.
the service is added to the web references in my windows application,
and the call is executed. problem is that the input arguments gets
value nothing i... more >>
problem using <xs:import tag
Posted by Julia at 5/22/2006 2:38:01 AM
Hi
I have got two xsd files. One xsd imports the second file using the
<xs:import tag.
I have now put both files in the App_Code directory (is that ok). When I
debug I got an error saying that the Type xxx is not declared. How can I
solve this problem?
Thanks
Julia... more >>
Web Service on custom port
Posted by Peter at 5/21/2006 5:08:16 PM
Hi,
I am calling a web-service hosted on a BEA WebLogic webserver which uses
custom port 8100 from .NET 2.0 web-service code. I am having major problems
just calling their WebMethods. I am sure everything is set up OK on my side
but they say the HTTP header is malformed because the port (... more >>
web service with mime attachments
Posted by flo at 5/21/2006 2:20:24 PM
hi,
i have to develop a web service client (must be .net, currently i'm
using c# with wse3) for a java service. the java service uses mime
attachments for up- and download of files.
i googled around for mime support in .net and only saw "don't do it" ;)
(apparently even dime is not possibly... more >>
Error in XML Document
Posted by rajendra.purohit NO[at]SPAM gmail.com at 5/21/2006 2:36:12 AM
Hi,
The problem i am facing is when i get back the object from web service.
I get the foll error:
System.InvalidOperationException:There is an error in XML
document[1,2968] --> System.Xml.Xmlexception.
I am unable to track the problem.
Thanks,
Rajendra.
... more >>
Custom object with a System.Web.Security.MembershipUserCollection property - "implement a default accessor" error
Posted by Justin Drerup at 5/20/2006 1:20:55 AM
I'm tryng to return a custom object that contains a collection of
MembershipUsers through a web service however I receive the following
error when trying to return the object through a web method:
You must implement a default accessor on
System.Web.Security.MembershipUserCollection because it ... more >>
Batch file from web service
Posted by Military Smurf at 5/19/2006 10:25:02 AM
I have a batch file that outputs to a basic text file, but when I try to
launch it using System.Diagnostics.Process.Start, it doesn't seem to work.
System.Diagnostics.Process.Start seems to work just fine as a VB.NET EXE
file...
So is it possible to launch a batch file from a web service?... more >>
Using WSDL
Posted by Anbu at 5/19/2006 6:55:59 AM
Hi,
I have WSDL files generated by Java based Axis software. I need to use
these WSDL files in ASP .NET.
How can I import the WSDL files? Should i need to create a stub to
using WSDL.exe to use the WSDL files?
TIA,
Anbu
... more >>
xsd
Posted by Julia at 5/19/2006 5:30:01 AM
Hi
I have got two xsd files. The first file is containing some complex types
(for example a product structure). The second file is containing the
structure for some messages that a web service will send. The messages are
returning the product structure. The second file has importing the sec... more >>
Debug and release webservice projects
Posted by Epetruk at 5/18/2006 8:19:17 PM
Hello,
In VS2003, I used to have two solutions - a debug and release solution.
Each solution had a webservice project and several other class library
projects. The webservice project referenced all the other class library
projects (i.e. so that it used the dll created when those other projec... more >>
Newbie Question - Remote Webservice
Posted by Zagor at 5/18/2006 5:44:33 PM
Hi All,
I just build the simple Hello World Web Service and tried with my localhost
and everything is fine (I am using vs 2005 and c# - add web reference and
that is it - everything works).
Now I want to use this (for test) web service remotely .I created a
directory called web services on... more >>
Critical Section in a Webservice?
Posted by Harry Whitehouse at 5/18/2006 4:29:53 PM
Hi!
I've been migrating some legacy ISAPI appliations to .NET Webservice. In
one, I call a third party routine which is not thread safe. In the ISAPI
world, I put a critical section around the call to avoid problems.
Is there a comparable strategy in Webservices?
TIA
Harry
... more >>
Updating Post and Get WSDL HTTPS
Posted by Duffman at 5/18/2006 11:56:01 AM
Hello,
I am working with dynamically created WSDL's and I need to change the
transaction urls from http to https in the WSDL without redirecting customers
to a different location. (I'm using vs 2003) I was able to find helpful
information about the soapExtensionReflector that works great f... more >>
Download File from Https
Posted by Nader Shahin at 5/18/2006 11:23:01 AM
I tried to develop an application to download a file from an Https server.
My application was able to download a file from a regural Http server.
I used a WebProxy and i passed the NetworkCredential, but also it didn't
work like:-
Dim myProxy As New WebProxy("https://TheServername.com/", 443)... more >>
Viewing request XML
Posted by Stuart Irving at 5/17/2006 4:09:22 PM
Hi,
I've written a web service in C#/ .NET that is called by clients written in
Delphi (we don't do Delphi any more)
Using a .NET test harness the service works, but when called by a Delphi
client all the input parameters arrive as null, empty string or 0.
I wonder if the Delphi component... more >>
Accessing Session state in Web Service from Background thread
Posted by JEB at 5/17/2006 2:34:01 PM
I know that with Web Services, you should be doing everything in a stateless
environment. However, I have three methods out of over 100 that need state.
I have the client cookie container, WebMethod with Session enabled = true,
the works. However, my issue is I am running logic on a backgro... more >>
Get Element Value
Posted by Jay at 5/17/2006 11:41:49 AM
In a loop like so:
....
xmlr=cmd.executexmlreader()
xmlr.read()
do while xmlr.readstate <> xml.readstate.endoffile
loop
How do I return each individual element name and value from a document like
so:
<Customer>
<custno>2</custno>
<lname>Doe</lname>
<fname>John</fname>
<address>1... more >>
Synchronous Web Service
Posted by Walther W at 5/16/2006 6:10:35 PM
Hello,
Is it possible to make a synchronous Web Service?
I have a situation where quite big piece of data should be send from client
to
Web Service server but client and server should not disconnect or "swap"
connection to
other one until all data has been transfered.
Is this possible? ... more >>
Calling web service from asp.net page fails
Posted by Jon at 5/16/2006 7:53:01 AM
Hi all,
I'm trying to call a web service from an asp.net (v1.1) page written in C#
(the web service was written in C# too) and I keep getting a "The request
failed with HTTP status 401: Unauthorized. " error message. Calling the web
service works fine when I create a windows form applicat... more >>
Log Request to Web Service
Posted by at 5/15/2006 1:33:00 PM
Hello,
In a Visual Studio 2005 VB.NET Web Service where would I write the code to
get hings like the clients IP address, etc upon connection to a web service?
Basically I want to log attempt/visits to a web service. There doesn't seem
to be anything like an OnConnection method. Also, what... more >>
log contents of request
Posted by Jacob at 5/15/2006 11:58:37 AM
Hi All,
Is there a way to get the contents of a web service request? Preferably
including the HTTP headers too.
I tried saving Context.Request.InputStream to a stream, but it always
appears to be 0 length. Is that because it's only used in a regular Page
request and not for web services?... more >>
WebSerive DataSet
Posted by JIM.H. at 5/15/2006 9:47:02 AM
Hello,
I am quite new in asp.net, here is the code I retrieve data from a web service
SVP.ThisWebService.loadMethod lm = new SVP.ThisWebService.loadMethod();
System.IO.StringReader sr = new System.IO.StringReader(lm.loadXlm());
DataSet ds = new DataSet();
ds.ReadXlm(new System.Xlm.XlmTextRe... more >>
Webservice and Profile
Posted by Antonio at 5/15/2006 6:47:03 AM
I have deployed a web site with some webservices.
The user have the details of his account, saved like object into
profile but I can use the membership properties and I can authenticate
the user by WebServices in https mode but I can't use the profiler..
what can I do?
Regard
Antonio Felizia... more >>
conneceting to a XML credentials file, stored in App_Data
Posted by Victor Paraschiv at 5/14/2006 4:17:28 PM
In a webservice I need to store the credentials in a xml file.Of course
the password string is hashed.
The XML is stored in App_Data.
Now I need to open this file for read/write.
I've tryed a lot of paths but none worked.
Cassini tries to open a file from "'C:\Program Files\Microsoft Visual
... more >>
Setting Source IP address of WebService Call
Posted by Ezz at 5/14/2006 3:53:44 PM
I have an interesting problem...and its one of those where I know what I
want but don't know how to ask it =)
I have an eCommerce application that uses Paypal for its payment gateway.
It is an XML webservice that my eComm app makes the request to.
Well, It has to do so over a SSL link. We... more >>
q; return value
Posted by JIM.H. at 5/14/2006 9:19:01 AM
Hello,
I am trying to learn web service implementation, I have a question about
return value. I will be returning and xml string with many records if
everything is fine and the reader reads it and puts it into a data set.
However if the there is some kind of problem, how should I return error... more >>
|