i intent to replace wcf service with some java service . how should i design my wcf service such that it's gets replaced or can be replaced with the java service later such that i dont have to do any work or very little work on the client i.e on my silver light application .
any idea's / suggestions?
P.S
1. that is the reason i am not using RIA services.
2.my wcf service should work like wcf data services work. it should allow me to do CRUD operations on my entities.
Create java services using Apache CXF or Apache Axis. Deploy those services in Tomcat server. You can easily create client proxies for those services by using adding service reference in Silverlight Client application. Now you can consume the webservice from silverlight.
The standard answer is this: use the BasicHttpBinding on the service. Don't add anything else to it. Most other stacks support BasicHttpBinding just fine.
Alternatively, use a WCF REST endpoint and standardize on consuming JSON. Then, your service can be PHP, Ruby, Java, or anything else.
Related
I am a .net developer.I had created a WCF service having wshttpbinding.I want to consume this in a java application using eclipse. please provide suggestion or any other way to create client for WCF service having wshttpbinding in Java.
Netbeans Eclipse does not provide drag and drop features for WCF services using wshttpbinding security. If you really want to create a client for the same, you have to write your own classes which can adhere to wshttpbinding security protocols
Besides, I hope the link below can help you tremendously :
http://www.codeproject.com/Articles/777036/Consuming-WCF-Service-in-Java-Client
I need consume a Web Service created with Java JAX-WS, I need to create a client web service in app iOS. but i don't know how.
Ok, so I have found a solution from my problem. First i make a web service Rest and using two libraries JSON framework and ASIHTTPRequest for the web service cliente.
So that's all, I hope to help somebody.
I need to call Java web service from .Net application and that web service should accept the parameters from .Net but am not sure about the procedure. If anyone have some idea then please let me know.
.NET web service is SOAP web service. Just get WSDL, generate stubs and use it.
You should get the WSDL first, then using Eclipse (I would suggest Netbeans) you generate/create the Stubs and call the service. It is really nothing fancy at all. Once you have the WSDL the rest (how you generate the classes using Netbeans) is really covered a lot online.
I have a .net restful wcf service .
I want to know how can i consume in java.
Kindly,help me.
Thank you
Regardless of what technology is used to implement the REST based service, assuming it is using HTTP, from a Java client you should use something like http://hc.apache.org/httpcomponents-client-ga/tutorial/html/
I have SOAP web services for Application 1 available to me. And, I'd like to implement a Java application that translate Application 1's Web Services calls to Application 2's JMX API. So App 1 can manage a bunch of operations through App 2.
If I understand the problem correctly, I want to build a SOAP/JMX Proxy (Remote Proxy design pattern) as my translation layer. This means it will receive SOAP requests and translate them to JMX, forwarding the translated request and then do the inverse to return the response.
Do you have suggestions on this approach and if there is another way to proceed? Any pointers/corrections are highly appreciated.
Epitaph, this looks like a repost of your same question Ideas on how to approach a project involving Integration of APIs. In essence, it is the proxy pattern. Your web services are just calling another object via the JMX API.