all groups > dotnet web services > november 2005
Filter by week: 1 2 3 4 5
Newbie serialization question
Posted by Karl at 11/30/2005 4:40:12 PM
Framework SDK 1.1x
There seems to be (at least) two namespaces dealing with serialization.
System.Xml.Serialization and
System.Runtime.Serialization
On reading the .NET Help, the classes in both namespaces seem to both
accomplish the same task (i.e. serializing objects). Are these mutu... more >>
Fisrt WebServices call duration issues
Posted by Dany C. at 11/30/2005 12:20:16 PM
We have a client application running on VS2005 RC. Here is the issues. Each
time the application is restrart, the fisrt webservice call takes a long time
to complete (sometime more that 2 minutes). All subsequent call to the same
webservice are done in few second.
Is there something that c... more >>
Sorry, but I have a dumb question about c# web service
Posted by Chris at 11/30/2005 12:20:08 PM
Dumb question about c# web services Posted on: 11/30/2005 12:14:16
Ok guys, here is what I am trying to do or what I need to know.
I am creating a webservice called db_update. This webservice will have a
couple of methods that allow it to make updates to a db.
Now, I am h... more >>
Upload / Download via WebService
Posted by Julia Beresford at 11/30/2005 8:33:02 AM
Hi
My application consists of a database, WebService and web application. The
web application reads and writes data to the database via the WebService. I
also want to be able to upload/download files via the WebService because my
WebService handles security.
My question is - how can th... more >>
Using Interface in a Webservice client
Posted by Mike9900 at 11/29/2005 10:06:03 PM
I want to use an interface in both the webservice and its client. For
example, the web service implements an interface and then the client cast
that webservice to the inteface. It seems impossible, but I am wondering if
there is a way.
The code below shows how I want it:
/*INTERFACE*/
... more >>
a webservice to authenticate the users against
Posted by J-T at 11/29/2005 11:50:18 AM
I need to create a webserivce which is able to talk to the following
components:
1) Another webservice which is written by java and talks to its own backend
database to authenticate the users
2) Directly talk to a sql server database containg a table to store username
and passwords
3) Direct... more >>
Tricky one (at least for me)
Posted by Sebastian NO[at]SPAM IG&A:: at 11/29/2005 9:18:13 AM
Here's the thing I have a web aplication (1.1) and one of my classes
has an array as a property (let's say Class A, has an ArrayList of Bs).
On the other side I have a win form app which uses web services from
the first app.
The thing is that when I create an instance of A in my win form app, ... more >>
The page cannot be displayed instead of exception
Posted by Tim Reynolds at 11/29/2005 8:57:06 AM
Team,
When my web service throws an exception and I am debugging on my PC - I get
the exception back in my browser fine. My web.config shows <customErrors
mode="Off"/> and this is working well.
However, when I test this web service on the deployment server, I only get
'The page cannot be ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Webrequest and POST
Posted by Jay at 11/28/2005 3:26:21 PM
am trying to call a webservice from C# client.
I am having trouble sending a POST via webrequest.
This is the URL: http://T9946ISP0001:8080/PrintMgr/ProcessRequest.jsp
Here is the method : createSession
The params are :param1=1024
Following is the code snippet - I am not sure how I spe... more >>
xsd:dateTime incompatibility between .Net and Apache Axis
Posted by Lucvdv at 11/28/2005 3:07:23 PM
I have to connect to a server set up by the government, where they used
Apache Axis to create a webservice.
The code I use to interface to the webservice is generated by wsdl.exe,
based on a .wsdl file they sent me.
Now a problem turns up with a date field they implemented as xsd:dateTime,... more >>
Document literal - schema validation/XSLT on SOAP body
Posted by Aditya at 11/28/2005 1:40:58 PM
A major issue I've been facing - It is often said that in document
literal style - one has a lot of flexibility and one can do two things
specifically -
1. Validate the SOAP body against a schema
2. Use an XSLT stylesheet to modify the SOAP body.
At what point can the stylesheet be applied ... more >>
Help on Web service deployement ????
Posted by serge calderara at 11/28/2005 6:39:06 AM
Dear all,
I have build an application with a web service on my local machine.
All works fine
Then I set the web reference to use dynamic url, which automatically update
my application webconfig file by adding:
<appSettings>
<add key="ServiceClient.localhost2.ReelInfo"
value="http://n... more >>
xsd:datetime problem while calling a java webservice
Posted by luckyabhishek NO[at]SPAM gmail.com at 11/27/2005 10:00:20 PM
Hi
I am using a java webservice in a .NET application. The xml type of a
field in this webservice is xsd:datetime. When i call the webservice
from the application i get a deserialization error on the java
webservice side. It says "Can not create instance of [java.util.Date]
from string [11/22/2... more >>
deserializing arrays of complex types
Posted by GAURAV KRISHNA at 11/26/2005 5:29:04 AM
I am able to deserialize an array using XMLSerializer but the size of an
array is 0.The problem seems to be because of unqualified element name but I
am not very sure.
Here is what I did:
I get the following xml from the server
===================================================
<fa... more >>
Web Services and O/R Mapping
Posted by MaK at 11/25/2005 6:26:05 AM
Hello!
I’m looking for O/R Mapping/Code Generator tool that works well with Web
Services. Do you have any suggestions? It won’t by simple .NET to .NET Web
Service. I’ll by writing Web Service in .NET but they will by consumed from
elsewhere (so I need a good WSDL and not some crap wit... more >>
proxy authentication
Posted by Paul at 11/25/2005 4:22:04 AM
Hi,
We have a problem accessing a web service hosted on a server on our local
network through an proxy server which is also part of the local network.
Our administrator set up the proxy for myself and collegue so that it
required authentication. He can access the web service (written in V... more >>
Web service references - Namespace problem
Posted by MarioPereira at 11/24/2005 10:29:01 AM
I have created a website using .NET Framework 2.0 with some web services that
share the same object model (defined in the App_Code).
When adding web references to these web services from a web application,
they assume the same namespace and I have no problem passing objects between
them.
Ex... more >>
Serializing a DataTable
Posted by Jayne at 11/24/2005 3:49:11 AM
I'm building a Web Service with the CLR 2.0 that returns a DataTable but I
get the followng error:
System.InvalidOperationException: There was an error generating the XML
document. ---> System.InvalidOperationException: Cannot serialize the
DataTable. DataTable name is not set.
at Syste... more >>
Web service client proxy returns null instead of response
Posted by BeckyB00 at 11/23/2005 9:57:27 AM
Slightly different situation from the question of the 11/18/05 but the same
error.
(I'm just learning about web services so this is based on a 'quick tutorial')
I'm running a web service using Axis and want to consume it with a .NET
client.
So I've created the web proxy using wsdl.exe and I... more >>
when to use Proxy object for web services
Posted by pradeep_TP at 11/22/2005 11:46:03 PM
I am new to web services.
I created a very simple web service with a method that returns a simple
string object. I added a web reference to this web service from another
project and I could successfully call the method.
Now, I want to understand why many suggests to create a proxy object o... more >>
dataset in a Web Service
Posted by ThunderMusic at 11/22/2005 11:23:52 PM
Hi,
I have a web service. It works fine until it hits a
dataadapter.fill(dataset) Is it normal? it results in a "The page cannot be
displayed (HTTP 500)" page.
Dim dbMan As DBManager
Dim dbConn As IDbConnection
Dim dbDA As IDataAdapter
Dim dbCB As System.ComponentModel.Component
Dim dbds... more >>
Connecting to wrong web service
Posted by Yogesh at 11/22/2005 10:28:02 PM
Hi,
Need some help. I have two copies of the same web services project deployed
in the IIS. The web services are being used by two different applications.
Suppose the web services are WS-1 and WS-2. And the windows applications
using them are App-1 and App-2. I have referenced WS-1 in App-1 a... more >>
ClickOnce Permissions Rqd for XMLSerializer
Posted by Rich S. at 11/21/2005 6:40:02 PM
Hello,
I have a C# .NET 2.0 program which accesses the Amazon.com E-Commerce web
service. I am debugging it as a ClickOnce Partial Trust application.
My question is, What permissions are required for the
XMLSerializer.Serialize method? This is where the application constantly
bombs wit... more >>
WebService Identity- best practice?
Posted by MichaelG at 11/21/2005 10:42:35 AM
I have a web service that talks to SQL Server 2005. At present the WS uses
an SQL Server login and password to connect.
Is this best practice or should I be running the WS under a domain account
and using Integrated Security to connect to SQL Server?
On reading the IIS help it seems that ... more >>
Webservice proxy generation in VS 2005
Posted by Julian Jelfs at 11/21/2005 2:52:10 AM
Hi,
In Visual Studio 2005 it appears that you don't have access to the proxy
class generated by the tool when you add a reference to a web service. This
is a problem for me since I have a web service which makes use of WSE 2. As
such I need the proxy class to be of type
Microsoft.Web.Ser... more >>
Web service security - .NET 2.0
Posted by Henrik Skak Pedersen at 11/21/2005 12:00:00 AM
Hi,
I have a set up where a windows client connects to a web service to retrieve
a license file. The client is a consumer product which is beeing distributed
to multiple locations.
1) I would like to restrict the web service so it only can be called from my
application
2) I guess that I ha... more >>
Timeout Errors
Posted by Charles A. Lackman at 11/19/2005 4:58:59 PM
Hello,
I have a desktop app that retrieves data from a web service, It has worked
really good for over a year, but there is an ongoing problem that I have not
been able to fix.
When the client is not online, it take over 90 seconds for the application
to through a exception that the unde... more >>
wsdl.exe - newbie issus
Posted by jansenh at 11/19/2005 5:59:20 AM
Hi group.
I need to create a server-side c# implementation of the following wsdl
file: http://www.witsml.org/api/131d/WMLS.WSDL
I run the wsdl.exe utility with the /si option. I get the following
message, and have no idea how to approach this matter (being new to
..Net and wsdl.exe):
"E... more >>
Working With Ports
Posted by JLuis at 11/18/2005 10:20:02 AM
Does it make sense?
I added a Web Service Reference to a Windows Application. If I run it from
the .exe file it works fine. But if I run it from the Development Environment
it sends errors such as:
- The underlying connection was closed: An unexpected error occurred on a
receive, Or
- The ... more >>
deployment issue
Posted by Newi at 11/18/2005 3:12:03 AM
Hello all,
I'm having a question which concerns both implementation and deployment of
webservices (coming from one our clients).
Is it possible to have a webserver (in VB.NET) installed on server A, and
the business layer on server B? If so, are there any articles available who
can help ... more >>
Is two way message passing possible using WebServices ?
Posted by Abhimanyu Sirohi at 11/18/2005 1:41:05 AM
I want my WebService to call a client's function whenever it receives a
message from any of the client. A way of notifying all clients when any of
the client send a message to the web service.... more >>
Ws Proxy: working in .NET 1.0, null return in .NET 1.1 or 2.0
Posted by MSDNAndi at 11/18/2005 12:00:00 AM
Hi,
I have a set of simple webservices calls that worked fine using .NET
Framework 1.0.
I am calling a Java/Apache based webservices, the calling side is not able
to supply a proper WSDL.
What it does is to call a webservice with two parameters, one being a
integer, the other one being ... more >>
Serialization of custom object?
Posted by leodippolito NO[at]SPAM gmail.com at 11/17/2005 4:38:36 PM
Dear sirs,
I am using custom wrappers to primitive types in my classes, so I can
have some flags when working with the database ("undefined" and "null")
..
So instead of:
[Serializable]
public class User
{
private int _id;
private string _name;
public int Id
{ get {ret... more >>
Debug COM from Webservice
Posted by Jay at 11/17/2005 1:40:32 PM
I have a web service that uses a legacy COM component developed in vc++ 6.0.
That COM component works when I use the vc++ client. But when I use it in
the .NET webservice, it gives an error. I would like to debug it. How can I
do that?
... more >>
Passing a collection of objects from a web service
Posted by Malcolm at 11/17/2005 10:33:11 AM
Hi. I am attempting something new in my coding and need some direction. I
have a web service that I am attempting to return a custom colleciton of
custom objects of a single type.
When I call the web method from a client host I am getting back a
1-dimensional array and I can't convert ea... more >>
WSE, SSL & Soap Binding Transport
Posted by google NO[at]SPAM funk45.com at 11/17/2005 5:40:01 AM
I have created a simple HelloWorld application in WSE2.0 SP3.
When I browse to the endpoint url over http (e.g.
http://localhost/TestService.ashx) the WSDL is fine and I can create a
client proxy and call into the service. Examining the WSDL shows the
transport attribute is populated...
<ws... more >>
soap viewer
Posted by medhanush NO[at]SPAM yahoo.com at 11/16/2005 9:46:14 AM
Hi,
Is there any tool that allows to view soap messages for a given web
serivce ?
I browsed net for some time, didn't quite successfull to find one.
TIA
MeDhanush
... more >>
Howto create TCP listener webservice(not using XML/HTTP/SOAP) like Servlet/Tomcat in .NET?
Posted by MP at 11/16/2005 12:19:27 AM
Hi group,
I got a problem, in the past I developed in Java a Servlet that just
waits for a connection and when connected it does some things ;-) Nice
isnt it. The same functionality I want to have in .NET because we are
also using IIS6.0 combined with ASP.NET for the front-end and I want to
k... more >>
Transport large binary file from Window client application to Web Server & back
Posted by gauravkhanna NO[at]SPAM gmail.com at 11/15/2005 5:15:54 PM
Hi All
I need some help for the below problem:
Scenario
We need to send large binary files (audio file of about 10 MB or so)
from the client machine (.Net Windows based application, located
outside the home network) to the Web Server and then retrieve the file
back from the web server to ... more >>
document/literal/wrapped or document/literal/bare
Posted by Phil Lee at 11/15/2005 10:22:32 AM
What's the general opinion on which of these to choose?
I see that the SoapDocumentServiceAttribute defaults to literal/wrapped, but
this article -
http://msdn.microsoft.com/msdnmag/issues/05/06/ServiceStation/ - says "it
probably makes the most sense to use document/literal/bare".
In a ... more >>
Questions
Posted by Phil Lee at 11/14/2005 12:00:00 AM
Hi,
I have a few questions regarding web services in .NET 2
1) Why, when I run code analysis do I get a source controlled files named
{guid}/codeanalysislog.xml
{guid}/webproject.lastcodeanalysissucceeded
Can I stop this folder and it's files from being source controlled? It's a
p... more >>
Null Array
Posted by Ben Crinion at 11/14/2005 12:00:00 AM
Hi my client is receiving the following SOAP Envelope and thinks that it is
a null array.
Any idea why?
Ben
<?xml version="1.0" encoding="utf-16"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:namesp3="http://namespaces.soaplite.com/perl"
... more >>
Complex Data types
Posted by Jerod Hatley at 11/13/2005 11:03:02 PM
Can someone point me to a good document on creating and passing complex
datatypes to and from a web service?
I would like to pass a master / detail object. The object would hold the
master information and an array of the detail information. This sounds like a
reasonable thing to do but can... more >>
Webservices ( Amazon and Ebay)
Posted by El Student at 11/13/2005 6:56:03 PM
To all the geniouse your help is need:
In regards to Amazon and Ebay webservices
Identify the issues that need to be solved?
How have they been addressed?
The solutions provided?
thanks for time... more >>
Webservices.....
Posted by El Student at 11/13/2005 6:48:01 PM
To all you geniouses.....Identify the issues with Webservices that need to be
solved by IT?
How have these issues been addressed?
The solutions provided?... more >>
dotnet remoting vs webservices
Posted by Virendra at 11/13/2005 5:03:08 AM
anybody can send complete discription of dotnet remoting and webservice. in
which situation which can be used
--
Virendra Chandra
Software Engineer
Glansa Solution,Secunderabad
... more >>
Thread was being aborted
Posted by Prasad Dannani at 11/11/2005 12:00:00 AM
Hi,
I was created a web service which will execute some functions and will do
some database activities related to our project
When i execute this method directly from browser using webservice link it
sometimes throwing "Thread was being aborted" Exception.
If the time taken by the functio... more >>
WS method return codes
Posted by Rasika WIJAYARATNE at 11/10/2005 4:36:48 PM
Hello,
I would like to know what the best way to return error codes to the
caller from a webservice would be. Here are my situations for returning
error codes:
1. Arguments to web method were invalid.
2. They didn't pass the user context infromation required for
validating their call or ... more >>
SoapDisplayExtension & webservices
Posted by Ron Prowse at 11/10/2005 5:46:28 AM
Im studying for my 70-320 exam and i am working from Amit Kalani exam prep book but i can not get one of the examples to work.
When i add SoapDisplayExtension to the [WebMethod] like [WebMethod, SoapDisplayExtension] i get the follow error:-
An unhandled exception of type 'System.InvalidOperat... more >>
SOAP Standard?
Posted by George Homorozeanu at 11/10/2005 12:00:00 AM
Hi,
I programmed a WebService that has a function that takes an untyped DataSet
as parameter and fills the data in a database. The WebService is programmed
under .Net.
Some guys are doing the client in PHP but they have problems trying to use
my function. They say that my WebService is not ... more >>
|