all groups > dotnet web services > september 2006 > threads for september 22 - 28, 2006
Filter by week: 1 2 3 4 5
Exposing webservice
Posted by Asfar at 9/28/2006 9:07:33 AM
Hi,
I have developed my first webservice using Web Service Software Factory
provided by Microsoft.
Java client will consume my webservice.
Now my question is what information do i need to provide to the developer
who will be developing the Java client.
Should I just use wsdl.exe and genera... more >>
Using XSDs in Web Services
Posted by David Jessee at 9/28/2006 4:35:01 AM
A WSDL file contains a Schema that defines the XML Types transferred from
client to server. However, from what I can tell, this schema is never
validated by the default MS implementation of the Web Service class.
I know that I could, within the server's implementation, validate the input
b... more >>
strange date behavior
Posted by Jeremy Chapman at 9/27/2006 2:10:41 PM
I've created a web service method which looks like
public MatchResult CheckMatch(MatchData MatchValues)
MatchData is a class defined as:
public class MatchData
{
public string GivenName;
public string FamilyName;
public DateTime BirthDate;
public string Gender;
}
When I c... more >>
Invoke web service tester from remote machine.
Posted by Chris Davoli at 9/27/2006 12:21:02 PM
Somebody I work with created a web service and of course it creates an asmx
page for the web service. When you open this page up on the browser it gives
you a kind of tester page where you can enter parameters and invoke and test
the web service and get back xml to see what the output xml look... more >>
underlying connection was closed: unable to connect to the remote server: COM --> .Net --> WebService --> Error
Posted by Monty at 9/27/2006 9:28:57 AM
OK, I had an issue with this and found lots of advice that did not apply, so
I'm posting what I found hoping it might help someone else. Here's the
sitch: you have a COM app that calls to a .Net assembly which in turn calls
a web service. You know the web service is reachable and that the COM ... more >>
PDA - Unable to connect to the remote server
Posted by David++ at 9/27/2006 4:22:01 AM
Hi folks,
I have built a VS2005 project which includes a C# Web Service, C# Windows
Forms app (which uses the Web Service), and a C# PocketPC app (which also
uses the web service).
When I run the Windows Forms app from the desktop I am able to use the Web
service with no problems. On the... more >>
Question regarding oneway attribute of webmethod.
Posted by archana at 9/26/2006 10:02:37 PM
Hi all,
I am having one confusion regarding webmethod's fire and forget
behaviour.
Say suppose i have method like
[ SoapRpcMethod(OneWay=true) ]
[ WebMethod(Description="Starts nightly stats batch process.") ]
public void StartStatsCrunch() {
// Begin a process... more >>
How to compensate for missing header information in WSDL?
Posted by Lee Franke at 9/26/2006 10:51:35 AM
The application that I want to use requires the header to contain a
username/password.
Example:
<soap:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">
<wsse:UsernameToken>
<wsse:Username>fluffy</wsse:Username>
<wsse:Password Type="wsse:PasswordText">bunny... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Classes in webservice have the same name
Posted by yads12 NO[at]SPAM gmail.com at 9/26/2006 10:34:10 AM
We have a webservice that is a passthrough to a third party webservice.
The third party webservice uses the classes that are named the same for
both the submission and result message. We have separated these out to
different namespaces in our webservice. Eg.
SubmissionMessage.WebServiceMessage... more >>
No Query Text Received
Posted by owenmj at 9/26/2006 8:04:02 AM
I have a written a web service which takes some user input and then looks up
the relevant details on a SQL server.
All works fine until I embed it in the Research pane - at which point I
receive no query text when I invoke the service
I'm deploying the service on my local machine so is the... more >>
Using SoapExtensions with web service clients built in VS2005
Posted by Ravikanth at 9/26/2006 7:58:02 AM
I created a web application in vs2003 which cosumes a web services. I used
SoapExtensions to log the Request sent to server and Response received from
server by adding a SoapExtension attribute to the web method in Reference.cs.
This logic worked fine.
But now I have a similar requirement a... more >>
web service call in VC++ 6
Posted by saurabh at 9/25/2006 10:16:57 PM
Hi,
I have written web service in C#.Net.
I want to make a call to the web service in VC++6.
I want some pseudo code for that.
What are the libraries, header files are to be used ?
A code sample for the same will be highly appreciated.
Regards,
Saurabh
... more >>
How to disable WSDL generation in web.config file
Posted by John K at 9/25/2006 12:53:01 PM
I am trying to eliminate the capability of displaying the details of a web
service by disabling WSDL generation in the web.config file. I have made the
following changes to the web.config:
<webServices>
<wsdlHelpGenerator href="helpPage.aspx"/>
<protocols>
... more >>
Web Service method works on local machine but fails on remote
Posted by Abhi at 9/25/2006 11:40:02 AM
Hi All,
I have a web service method which works fine when called from my local
machine i.e. from localhost but when I publish the web services to a remote
machine it throws an invalid cast soap exception.
That web service method access Active Directory to get the group names for
the give... more >>
Recovering data out of dataset from client
Posted by TiGeR79 at 9/25/2006 8:07:02 AM
Hello,
I've written a webservice which returns a dataset containing just one table
with two columns. One colum holds a string while te second holds an image
serialized into a byte array.
This dataset is returned to a client application.
Now i'd like to know how i can retrieve the data thats i... more >>
(500) Internal server error ReadXml
Posted by webmaster NO[at]SPAM 1stmiami.com at 9/23/2006 2:27:54 PM
I have a .net web service that when I call using http returns this auto
format xml:
<string>
<coverage memkey="001" hplan="hmo" effdt="1999-10-01T00:00:00"
termdt="1999-12-01T00:00:00" />
</string>
The below code worked when the code was a local object method, however
now as a web service... more >>
DataTable returned from a Web Service
Posted by jsoques at 9/22/2006 6:43:05 PM
Hello, I created a Web Service using .Net 2.0 that has a function that
returns a DataTable. I can test the function from the web page when I access
the .asmx from a browser on localhost and it works. I can also test the
function using VB6 and the xmlhttp activex object. The problem I have now ... more >>
Passing class with methods to a WS. Data not methods serialized
Posted by twahl at 9/22/2006 11:52:01 AM
Hi,
In the WS I've defined a class that contains both data and methods. I'm
trying to pass this class to a client application using a web method. When I
access this class on the client only the properties are available not the
methods. I guess this makes sense but how can I get access/inst... more >>
Web service slow the first time
Posted by Marlene A. Roman at 9/22/2006 7:22:24 AM
Hope everybody is doing OK.
I have a webservice which I request via https://. I'm also using WSE to
generate an authenticated token.
I understand that the very first call to the webservice is slow because the
webservice needs to JIT. But I've noticed that after a period of t... more >>
|