all groups > dotnet web services > september 2005
Filter by week: 1 2 3 4 5
Why must <configSections> be 1st element of <configuration> ?
Posted by Joseph Geretz at 9/30/2005 2:16:54 PM
Parser Error Message:
Only one <configSections> element allowed. It must be the first child
element of the root <configuration> element.
OK, fine, easy enough to fix, I just need to copy and paste this block to
where .NET wants it to be. But I can't help but think, why??? Doesn't this
insi... more >>
File access rights in Web Service
Posted by gaobaiyun NO[at]SPAM gmail.com at 9/30/2005 12:06:07 PM
Hi,
I wrote a very simple web service which return "Hello World" and save a
log file in c:\. After I invoke the web method. the "Hello World"
returned correctly. but these is a problem on log file. seems there is
no change on the log file.
I think I have permission problem that my web service... more >>
Retrieve non-webform client identity information for Web Services
Posted by John Yung at 9/29/2005 8:51:07 PM
Hi,
I have a client (C# MS Excel Project) calling a Web Service to retrieve and
update data. One of the business requirement is the client's NT Login ID, IP
Address and computer name must be log for each web service method call.
To get client information using integrated Windows authenticati... more >>
Help! How do I Specify .config Information if my Assembly Client is a VB6 Application?
Posted by Joseph Geretz at 9/29/2005 5:35:41 PM
I need to download a greater than 4 megabyte attachment via WSE / DIME. The
only way I know how to configure this is via a .config file. Normally, the
..config file is the same name as the base application. I built a .NET driver
program to test this, NetBrokerDriver and provided a
NetBrokerD... more >>
Contract-First development
Posted by Henrik_Gøttig at 9/28/2005 3:23:42 PM
Hi group.
I am using VS2005 RC1.
I can't figure out how to get started doing Contract-First web services
development.
I am aware of the thinktecture tool WSCF, which does what I need.
I am aware that Indigo supports the contract first paradigm,
unfortunately it is not an option at the cu... more >>
Webservice using strong-named arrays: Generating XML document failed
Posted by Roland Dick at 9/28/2005 9:41:38 AM
Hi,
I'm desperate with a webservice and a consuming WinForms-client. It used
to work well, but all of a sudden (= I don't know what I changed really
:) I get an exception "Generating the XML document failed" ("Beim
Generieren des XML-Dokuments ist ein Fehler aufgetreten").
My code method... more >>
Timeout value at the client proxy
Posted by A.M-SG at 9/28/2005 8:36:35 AM
Hi,
How can I increase the HTTP Timeout value at the client side?
Thank you,
Alan
... more >>
The default IIS invoke method page doesn't call SoapExtentions
Posted by A.M-SG at 9/28/2005 8:22:01 AM
Hi,
I have a web service with two soap extensions enabled on it.
When I run the default IIS method invoke page, the invoke button bypasses
all my soap extensions. But when I call the web method through another
proxy, it works fine.
Why this is happening?
Any help woul... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Form Posting Problem
Posted by Curtis at 9/27/2005 5:11:33 PM
I have an application that is doing some web scraping and needs to submit
certain information to a web form. Is there a method in VB.net or the .Net
framework to POST form data with key/value parameters because the only
method i can find require me to build my own variable string to pass to th... more >>
The data at the root level is invalid exception
Posted by MR at 9/27/2005 12:00:00 AM
I get the following Exception "The data at the root level is invalid. Line
1, position 642" whenever I try to deserialize an incoming SOAP message. The
incoming message is formed well and its length is 642 bytes ( I have
appended it to the end of this message).
I suspect that the reason may h... more >>
AuthHeaderValue in Compact Framework
Posted by Davie at 9/26/2005 10:31:37 PM
I am experiencing a problem with AuthHeaderValue. I have implemented web
services which use authentication through AuthHeaderValue. This works
perfectly for any Windows application but it fails for a Pocket Pc or
Smartphone app. The code is the same, the thing compiles, but I always get
a... more >>
How to pass user credentials from a windows app to a web service?
Posted by webserviceUser189 at 9/26/2005 9:40:02 PM
Hi,
I'm trying to authenticate the user based on the credentials that I get
from the client app, but I'm getting empty string as user name. Can somebody
tell me if I'm doing anything wrong here. Thanks in advance!
Here is what I'm doing:
In the windows app, I've set the current securi... more >>
Namespace Best Practices
Posted by steve at 9/26/2005 2:09:02 PM
Can someone point me to some information on namespace best practices?
Questions I have are as follows:
1) Should I use .NET namespaces or URL, URI and URN's? Ie
mycompany.mydivision.myapp vs http://www.mycompany.com/division/app?
2) Should I use namespace prefixes? I thought I read somethi... more >>
Having Trouble with File TimeStamp Conversion
Posted by Joseph Geretz at 9/26/2005 11:13:45 AM
I'm transferring a file from server to workstation, using Web Service
Extensions and DIME. Along with the file, which travels as a DIME
attachment, I'm also sending along metadata information about the file as it
exists on the server. The metadata also travels as a DIME attachment in XML
for... more >>
Calling a webservice at runtime
Posted by Ash at 9/23/2005 9:14:29 AM
I am passing the webservicename, method to be executed and the
parameters for that method from a page to an intermediate webservice
function which in turn needs to instantiate the webservicename passed
execute the method based on the parameters passed and return the value.
Does anyone know how... more >>
How to find Web services on the local machine
Posted by Kishore Gopalan at 9/22/2005 5:48:03 AM
Hi,
I need to write a windows application, where I have to list all the Web
services on the local IIS. Is there any API or code I can use to get a list
of all the Web Services on local machine.
Thanks.
Kishore... more >>
not to use auto generated proxies
Posted by jason.chen NO[at]SPAM newsgroups.nospam at 9/21/2005 10:41:56 PM
Hi, can someone provide some advise on how to get around with using auto
generated proxies?
basically I already have the proxy classes, and they are used by other
places. I'd like use these existing classes instead of having to generate
another set of proxy classes, which are going to be very si... more >>
invoking a (.dll file) on the client machine from a web site
Posted by sunil at 9/21/2005 10:16:02 PM
Hello there,
I am facing a severe problem, I have to invoke a dll on a client machine
after the user click a certain link on my web page. This dll is first
downloaded to his machine and then invoked. Can this be done, if yes please
suggest me some code to do so
Thanks in advance
--
... more >>
Returning Soap Fault to Axis
Posted by Moshe Kravchik at 9/21/2005 11:26:58 AM
Hi!
We have a Web Service written in ATL Server and a client written in Java
using Axis. When something goes wrong on the server side, it returns an
HRESULT of the error which is translated into the SoapFault. The problem is
that the SoapFault is interpreted by Axis not as a SoapFaultException... more >>
Creating HTML Document
Posted by Ken Kazinski at 9/20/2005 6:55:03 PM
I have a game program I am writing.
I want to publish the results of a turn as a html document that I can then
e-mail to the players.
What would be the best way to create the html document from C#.
Thanks for the help.
Ken
... more >>
Web Services without IIS ? Is it possible and how, please ?
Posted by Mike at 9/20/2005 4:23:01 PM
Hi! I've searched this topic with limited results. I'd like to know if I can
build a
MS WebService in C#(v.1.1) on Windows Server 2003 without using IIS ? Is it
possible? What's involved ? Are there any useful URL's describing how to do
it ?
Thank you in advance,
--Michael... more >>
Create proxy class manually without using wsdl.exe tool. C#
Posted by Chenzo at 9/20/2005 3:12:39 PM
I have an issue where the provided .wsdl file is being generated
incorrectly with the WSDL.exe tool. I have to use digital client
certificates for authentication and it has been determined...by another
business...that the proxy class was generated by the wsdl.exe tool
incorrectly for use with th... more >>
Problem with webservice returning an array (You must implement a default accessor on System.Array because it inherits from ICollection. )??
Posted by Stacey Levine at 9/20/2005 2:32:03 PM
I have a webservice that I wanted to return an ArrayList..Well the service
compiles and runs when I have the output defined as ArrayList, but the WSDL
defines the output as an Object so I was having a problem in the calling
program. I searched online and found suggestions that I return an Arr... more >>
IIS Webservice unauthorised access
Posted by TrinityPete at 9/20/2005 2:47:02 AM
Hi all,
We have a web application that uses web services for data access and
retrieval. The web app and web services reside under IIS on the same
server(WIN2003). The virtual directories have been set for windows
authentication and both the ASP web application and the web services are
usi... more >>
Web Service won't respond and recycling the App Pool doesn't help
Posted by Bob at 9/19/2005 10:57:02 AM
I've got a .NET Framework V1.1 web service running on a Windows 2003 Server
that has 2 web methods that are called from a web application on the same
server.
One is a fire-and-forget method that executes a long running process that
results in a database being updated.
The other is a normal... more >>
Web service through serial port
Posted by Danny W at 9/18/2005 3:03:03 AM
I'm currently developing an application involving using modems to establish a
direct conection with remote server. Is it possible to use web services in
this scenario? Does web services support support communicating through serial
ports or usb ports?
Thanks...... more >>
ServiceDescription.Types: Getting Type Information From Wsdl
Posted by Danny Gagne at 9/16/2005 12:11:10 PM
I'm currently working an .net application (I can use 1.1 or 2.0 if needed)
that needs to read a wsdl file and generate another piece of code that can
use it. I'm encountering a problem where I cannot extract all of the type
information from the wsdl using any standard tools. I'm using HttpG... more >>
http custom Gzip header being stripped on outbound request.
Posted by sameer at 9/16/2005 11:40:04 AM
Hi All,
I am adding a custom header (Gzip header for compression) to the request
when calling a webservice( sitting on a webserver) over the internet from my
application ( If interested in the details of the application , it is a
vb.net winfom application ). The web server receives this reque... more >>
No return from async web service call
Posted by Paul Hasell at 9/16/2005 7:11:03 AM
Hi,
I'm trying to invoke a web method asynchronously but just can't seem to get
it to tell me when it has finished! Below is the code I am (currently) using:
private void btnUpload_Click(object sender, System.EventArgs e)
{
try
{
SO... more >>
Soap Extender and session infromation between BeforeSerialize and AfterDeserialize events
Posted by A.M-SG at 9/15/2005 9:06:50 AM
Hi,
I am developing a SOAP extender and I need to store some session information
at BeforeSerialize ProcessMessage event, so at the AfterDeserialize
ProcessMessage event I know which call I am dealing with.
What would be the best way for storing some session information during
Proces... more >>
Web Service Deployment Question
Posted by Joseph Geretz at 9/14/2005 4:37:40 PM
Do I need to deploy both my ASMX page plus the DLL onto the web site? If so,
can you please explain what role both of these deployment units play? To me
they would seem to be mirror images of each other.
Thanks for your help.
- Joe Geretz -
... more >>
<****Result>
Posted by timba at 9/14/2005 4:08:05 PM
Why every web service method invoked on .NET Framework (addInteger,
helloWorld, getServiceDescription) returns a soap envelope with a additional
tag that ends with "Result" wrapping the result???
Request:
<soap:Envelope >
<soap:Body>
<hello/>
</soap:Body>
</soap:Envelope>
... more >>
Modifying SOAP message at client proxy side without using SOAP extentions
Posted by A.M-SG at 9/14/2005 3:56:19 PM
Hi,
Can I view/modify SOAP message at the client proxy side without using soap
extensions?
Thank you,
Alan
... more >>
Implementing Interface in the Proxy Class
Posted by HenrySeque at 9/14/2005 9:08:04 AM
I have a webservice and I add a web reference from my web project.
I want the proxy class to implements an Interface, but I didn't find the
source code of the proxy class and I don't want to create a Wrapper for the
proxy.
Where is the source code? What can I do?
--
Henry Sequeira
Cost... more >>
Object reference not set to an instance of an object
Posted by SP at 9/14/2005 8:23:41 AM
Hello All,
I have a web method in a web service as follows:
[WebMethod]
public SqlDataReader Display_test_data()
{
string connectionInfo =
ConfigurationSettings.AppSettings["ConnectionInfo"];
SqlConnection sqlconnection = new SqlConnection(connectionInfo);
sqlconnection... more >>
Can I use SoapExtensionAttribute at the client proxy side?
Posted by A.M-SG at 9/13/2005 7:04:04 PM
Hi,
Can I use SoapExtensionAttribute at the client proxy side?
Thank you,
Alan
... more >>
How do I deploy a SOAP extension on the client proxy
Posted by A.M-SG at 9/13/2005 10:41:37 AM
Hi,
I understand that we can install SOAP extensions through web.config at the
server side. How do I install them at the client proxy side?
Thank you,
Alan
... more >>
Removing sequence tag from SOAP WSDL Schema -- help please
Posted by kevin at 9/13/2005 6:56:03 AM
Is that even possible?
I am creating a web service in .NET to expose some already created .NET
programs to other groups. One group is writing the client in PERL, and thus
wishes the wsdl schema to not be sequenced. (PERL hashes do not retain order
information) First, the w3 specs don't m... more >>
Tracking the success of SOAP calls
Posted by A.M-SG at 9/12/2005 10:50:18 PM
Hi,
We are developing a SmartClient application and we are planning to expose
business objects layer to SmartClient application by using ASP.NET SOAP web
services.
The client can send different found transfer request to different web
services.
The problem is upon any inter... more >>
[silly question]web services for querying real-time hotel price?
Posted by Sam Hwang at 9/12/2005 6:17:58 AM
Hello,
Maybe not a suitable question to be placed here, but still appriciated
for someone offering any information, thanks!
... more >>
app.config - Help me get this straight
Posted by Joseph Geretz at 9/10/2005 11:01:04 PM
Help me understand this, please.
I have a Winforms app, lets call it WinApp.exe. I also have a DLL, lets call
it WebBroker.dll. The purpose of WebBroker.dll is to broker an interface
with a WebService. I don't encode this directly into MyWinApp, because I
want to generate a single component... more >>
Problem with web service
Posted by sumeetkbali NO[at]SPAM gmail.com at 9/9/2005 9:39:41 AM
Hi,
I have a web-service that does the following:
It has a number(int) stored in the web config file(under appsettings
tag) so everytime you call that web method, it reads the config file,
increments the value by 1 and then returns the number as a string.
I had initially developed this on... more >>
Web service proxy calling a client-side method
Posted by Mike at 9/9/2005 7:46:01 AM
Hi
Scenario: I am calling a web method from a WinForms method. The proxy
of the web service then checks one of it's settings.
Depending on the setting I want the proxy to call a method in the
instance of the WinForms class that called the web method. Once
the client-side method is complet... more >>
WebService Load Events
Posted by Mat at 9/9/2005 12:00:00 AM
Hi,
I am looking for the equivilent of a Page_Load event in an aspx for an asmx
(webservice).
Is there such a thing? Is it possible to override? I know you can write your
HTTPHandler for asmx files but is there an easier way?
I want to do some customizations / validations to what the we... more >>
Help with webservice to read, store data to and write xml using vb
Posted by AllenM at 9/8/2005 4:01:03 PM
I have a project that requires an XML webservice that will receive an xml
file. The webservice will need to read the XML file, download a pdf file from
a URL stored in the XML file then store the xml data to a SQL table and
finally send back an XML confirmation file.
I have researched sever... more >>
C# Client + Java Web Service developed with WSDP1.3 /Hosted in JBoss 4.0
Posted by William at 9/8/2005 11:18:54 AM
I have a few questions. First, I have a java webservice, which was
developed using the Java Webserices Developer Pack 1.3. Here is the
wsdl for the service. (Note: That this service is not exposed
publicly.)
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<definitions xmlns=3D"http://schemas.xm... more >>
How does the client of a webservice figure out a complex type
Posted by Nalaka at 9/8/2005 8:30:52 AM
Hi,
I created a sinple web service that returns a dataSet.
Then I created a client program that uses this web service (that returns the
Dataset).
My question is, how did the client figure out to create a "DataSet" as the
return type from the webservice?
I looked in the wsdl.... there i... more >>
Accessing webservices from VC++
Posted by Rob C at 9/8/2005 8:19:01 AM
We have a client/server application that is written in VC++/MFC. We are
trying to integrate with a 3rd party product that exposes its data through a
web service. I am trying to figure out the best way to approach this. It
seems like .NET provides the greatest support for accessing web servi... more >>
SoapException character encoding
Posted by Dadi at 9/7/2005 4:35:08 AM
Hi,
My native language is Icelandic and I´m making a web service that returns
results that contain many Icelandic characters. This works fine, however,
when I return a soap:Fault, the string in the faultstring element has the
Icelandic characters encoded like "réttindi", where "é... more >>
WSE / DIME File Transfer Performance
Posted by Joseph Geretz at 9/7/2005 1:08:40 AM
I'm working on an file transfer gateway using WSE with DIME for file
attachments. Our goal is to replace our direct file repository access (via
windows network folder sharre) with the Web Service gateway for security
purposes.
As it stands now, all workstations have direct read-write access... more >>
|