473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 4098
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 basicHttpBinding. On
the client side, use "Add Web Reference".

Tiago Halm

"Jeronimo Bertran" <je**************@newsgroup.nospamwrote in message
news:Xn********************************@207.46.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.nospamwrote in
news:Xn********************************@207.46.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
(basicHTTPBinding).
Dec 2 '07 #3
Here it is.

<basicHttpBinding>
<binding name="FileTransferServicesBinding" sendTimeout="00:15:00"
transferMode="Streamed" messageEncoding="Mtom"
maxReceivedMessageSize="524288000" maxBufferSize="524288000" />
</basicHttpBinding>
Dec 2 '07 #4
Jeronimo Bertran <je**************@newsgroup.nospamwrote in
news:Xn********************************@207.46.248 .16:
Here it is.

<basicHttpBinding>
<binding name="FileTransferServicesBinding"
sendTimeout="00:15:00"
transferMode="Streamed" messageEncoding="Mtom"
maxReceivedMessageSize="524288000" maxBufferSize="524288000" />
</basicHttpBinding>
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**********@rogers.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
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...
23
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...
1
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...
0
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. ...
10
by: amazon | last post by:
Our vender provided us a web service: 1xyztest.xsd file... ------------------------------------ postEvent PostEventRequest ------------------------------------- authetication authentication...
1
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...
33
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...
6
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
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....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.