Click here to Skip to main content
15,884,702 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have wcf publish on server. I want to consume web service using dynamically method in linux mono C#, in windows it is working fine but i do not know to consume web service in linux
can any one help me ?
Posted
Updated 12-May-16 4:44am
v4

1 solution

Hi,

This they way to consume WCF from java client now use the same way and execute that java client to linux os

Consuming WCF Service in Java Client[^]
 
Share this answer
 
Comments
Member 11340242 9-Sep-15 8:44am    
Hello ,
Thanks for reply.
Is this static binding or dynamic binding ?
i want to consume WCF dynamically in linux without adding reference of service is this possible ?
Suvabrata Roy 9-Sep-15 9:06am    
Yes you can, but explain your scenario more in detail...
Member 11340242 9-Sep-15 12:58pm    
my wcf is hosted on window server and want to consume through host url using soap method in linux.
i have created a soap request and hit the request but i am getting error "System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown="">:0
at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown="">:0 " in also in status it is showing "protocol error"
my situation is that i want to consume wcf dynamically because any change in service doest not effect the client side. client consume service with the host url given .
How can i do this ?
or any other method you know ?
Suvabrata Roy 10-Sep-15 0:45am    
you have to use fluent configuration : http://www.hoonzis.com/consuming-wcf-services-with-java-client/

above link will help you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900