473,626 Members | 3,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calling a WCF service from Non-WCF

Hello,

I have a WCF service that I am using to upload files to a server by using
the streamed transfer method. I am currently calling the service from a
WCF client. All I did was add a Service Refrence to my Windows Forms
project using VS2008.

I now want to allow non WCF clients to use the service. How can I do this?

Thanks,

Jeronimo
Dec 2 '07 #1
4 4119
What is a non WCF client? Assuming its a .NET client not using .NET 3.0 (ex:
limited by Win 2000) then expose a new endpoint with basicHttpBindin g. On
the client side, use "Add Web Reference".

Tiago Halm

"Jeronimo Bertran" <je************ **@newsgroup.no spamwrote in message
news:Xn******** *************** *********@207.4 6.248.16...
Hello,

I have a WCF service that I am using to upload files to a server by using
the streamed transfer method. I am currently calling the service from a
WCF client. All I did was add a Service Refrence to my Windows Forms
project using VS2008.

I now want to allow non WCF clients to use the service. How can I do
this?

Thanks,

Jeronimo

Dec 2 '07 #2
Jeronimo Bertran <je************ **@newsgroup.no spamwrote in
news:Xn******** *************** *********@207.4 6.248.16:
I have a WCF service that I am using to upload files to a server by
using the streamed transfer method. I am currently calling the
service from a WCF client. All I did was add a Service Refrence to my
Windows Forms project using VS2008.

I now want to allow non WCF clients to use the service. How can I do
this?
What type of channel are you using?

I believe non-WCF compatible clients can only talk through web services
(basicHTTPBindi ng).
Dec 2 '07 #3
Here it is.

<basicHttpBindi ng>
<binding name="FileTrans ferServicesBind ing" sendTimeout="00 :15:00"
transferMode="S treamed" messageEncoding ="Mtom"
maxReceivedMess ageSize="524288 000" maxBufferSize=" 524288000" />
</basicHttpBindin g>
Dec 2 '07 #4
Jeronimo Bertran <je************ **@newsgroup.no spamwrote in
news:Xn******** *************** *********@207.4 6.248.16:
Here it is.

<basicHttpBindi ng>
<binding name="FileTrans ferServicesBind ing"
sendTimeout="00 :15:00"
transferMode="S treamed" messageEncoding ="Mtom"
maxReceivedMess ageSize="524288 000" maxBufferSize=" 524288000" />
</basicHttpBindin g>
Does your client support MTOM?

If it's regular .NET, you'll need to use WSE 3.0, not sure about Java or
other languages.

--
sp**********@ro gers.com (Do not e-mail)
Dec 3 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1290
by: Spikus | last post by:
Hi, I'm working with a SOAP client which uses non-standard headers and a non-standard doc... It uses the "SOAPAction" header to supply an authentication key (I've got around the problem of IIS rejecting this) The document seems reasonably valid but, I think the "." is confusing IIS
23
7574
by: Adam Clauss | last post by:
I have a C# Windows Service running as the NetworkService account because it needs to access a network share. As part of the service's initialization, I want the service to terminate, if an unrecoverable error occurs. When that case occurs, I create a ServiceController object and call the Stop() method. However - I get an exception thrown saying access denied. If I switch to using the LocalService account it works fine, but I lose...
1
5789
by: Bucky Pollard | last post by:
I have a web service that needs to create a batch file and call it (since there are no APIs for the functionality I am looking for). I am using the Process and ProcessStartInfo objects. When I try to call the batch file, it just returns with a return code of 1. When I call cmd.exe, and pass the batch file as a parameter it hangs. After much frustration and aggrevation, I found that CMD IS in fact running, but it is running under the context...
0
2239
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. Any help would really be appreciated. Thx
10
3920
by: amazon | last post by:
Our vender provided us a web service: 1xyztest.xsd file... ------------------------------------ postEvent PostEventRequest ------------------------------------- authetication authentication eventname string source string ID string
1
1753
by: jumpinjavabean | last post by:
I am trying to call an XML (non-SOAP) web service with C#. I was provided with a request schema by our web services team, and I generated a CLR class for it using XSD.exe. When I instantiate this schema class and try to set a property on it, however, I get the following error: Object reference not set to an instance of an object. This is essentially the code that's causing the error:
33
11838
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon (NT_AUTHORITY\SYSTEM). I understand that when the service starts, no user may be logged in, but that's ok, as the app I am monitoring can only be run by a logged in user. Do I need to use WMI to get the user context of Explorer.exe or is there a...
6
6470
by: Fabian Wein | last post by:
Hi, is there a way to call a const function from non const function? I have a non-const List GetList(); and want my
3
2016
by: syakirah | last post by:
i was asked to do game that are similar with mastermind game. but i have an error that my program said there is calling of non function. here is my code hope there is solution for this error. tq.
0
8262
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8364
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
7192
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
6122
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
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2623
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
1
1807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1507
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.