473,799 Members | 3,114 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WinForm + WebService

1 New Member
Hi,
I'm trying to find a way to get and modify the stream sent by my winform application to a Java webservice. It was supose to be easy .... but.. Here are the problems..

1- My first intend was to get the stream just before the send method and then modify it.. But inside the method

protected override WebResponse GetWebResponse( WebRequest aRequest)

the stream isn't readable and not writable.. So, I can't use it..

2-My second intend was to try to add a soapfilter. The problem with the soap filter is that the event is fired before I send the information... So, I can't modify the real content..

3-My third intend was to try to add a soapextenstion. . The problem with that it's I need to add a configuration to allow IIS to start it.. I don't have IIS within this environment.. It is a winform c# which call a Java webservice.. So I think I can't use the soapextension..

Now, I don't really have other ideas..

Someone have any ideas to help me?

Thank You
Apr 22 '09 #1
0 1308

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2939
by: Cenray | last post by:
How to generate a web request from a Winform Application using a WebService? In a C# Windows Application, when I try to genrate a web request using the following code, it is woking fine Winform code --------------- Browser.DocumentHTML = ""; string HTMLData="";
0
1618
by: Max | last post by:
Anyone know some information about this. Any article or something like that How does this work with the certificates. From web you will be prompted with something like a "trust server"-message. How will this work when calling from Winform? Is it possible to prevent or hide this message Will WSE encryption technique give better performance than using HTTPS. Will it reduse roundtrips for every call
2
7166
by: hazz | last post by:
I don't get it. I have a VS2005 solution with a web service project and a windows project. The web service when tested on its own works fine. But when I add it as a web reference and refer to it my windows form code behind I receive the following; {"The request failed with HTTP status 401: Unauthorized."} when trying to execute this.dataGridView1.DataSource = ws.ReturnStudentDS(); not sure if it is relevant but the web.config in the...
3
2324
by: Lucas Tam | last post by:
Is there a way to write to IIS' Application or Session variables from a Winforms application? I am trying to share application state between a web application and a desktop app. Remoting would work too but seems to be an overkill - I only want to pass one value. -- Lucas Tam (REMOVEnntp@rogers.com) Please delete "REMOVE" from the e-mail address when replying.
6
3203
by: IntraRELY | last post by:
I have an WinForm (VB.NET) that is launched from an ASP.NET page that uses Form Authentication. After the WinForm is lauched it calls a web service. I want to use the credentials stored in the cookie and authenticate them on the web service side. Is there a way to access the information? TIA, Steve Wofford www.IntrRELY.com
3
2258
by: carolus.holman | last post by:
I have set <identity impersonate="true" /> on my webservice, and created a proxy user Credential cache in my Winform App inorder to access the service running on Server 2003. What my issue is: I have to grant the User defined in my credential cache administrator access for this to work. If I create low rights user I get 401 unauthorized exceptions. Even though the source folder has r/w access by everyone. If I use the regular...
0
1366
by: Sharon | last post by:
hi all I have a small application assembled from C# winForm client side (few of them) C# webService at the server side
1
2912
by: Dan | last post by:
Hi I have a dotnet application that communicates with a web service running locally on my machine. It connects fine and works ok when I run the application from the c: drive. Am having problems running it from my ftp location, so ftp://localhost/setup.exe In the Runtime security policy I have created a new code group under my
1
365
by: moondaddy | last post by:
I had to repost this becuase I renewed-changed my msdn alias. Also, the asnwer in the other past did not understand what I'm trying to do, so I'll attempt to clarify. I have a .net 2.0 winforms app that calls a web service which creates creates a GUID and caches it, then passes the GUID back to the winform. then it opens a aspx page and passes the GUID as a parameter. this GUID is only cached for about 10 seconds and must be still...
0
9538
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10470
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10214
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9067
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7561
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5583
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4135
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3751
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2935
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.