WCF « Web Service « Java Enterprise Q&A





1. How to abort the call to webservice at both client and server end?    stackoverflow.com

I can abort the web service call from client by calling ABORT method of web service proxy. However at server where web service is hosted, the call only ends when it ...

2. object from java client to WCF Web service, error deserializing    stackoverflow.com

I have a .NET WCF Web service working great when called from another .NET app. Now I was trying to build a Java client to test the service but one of ...

3. In Java, throwing an exception when a network connection is lost during a WebService Call (similiar to WCF CommunicationException)    stackoverflow.com

I'm dealing with an auto-generated WebService stub in Java (generated using JAX-WS RI). My actual service is a .Net program exposing its webservice using the WCF basicHttpBinding. How should I be dealing ...

4. Consuming a WCF WsHttpBinding WebService in Java    stackoverflow.com

I'm trying to get a Java Client to communicate with a WCF wshttpbinding WebService. But I am unable to do so. The call either hangs, or I get "musunderstoodheader expcetions". My ...

5. How to use JAXBElement in Web Service?    stackoverflow.com

I am Developing a Web Service using WCF.It is an interoperable Web Service.Now i am consuming this Web Service from a Java Client.now when i created the proxy class.It created ...

6. Consuming Java Webservice TimeStamp from .net and WCF    stackoverflow.com

We are trying to talk to a (possible)Java WebService from .NET 3.5 using WCF. The WebService defines a Timestamp object which seems to be a datetime without the decimal milliseconds. WCF ...

7. Java: Calling a web service from java 1.6?    stackoverflow.com

Anybody aware of how to call a webservice from Java, whats the recommended way, do i need to download an additional JAR or something? Anybody know of a good tutorial.. i saw ...

8. WCF client calling a Java webservice    stackoverflow.com

I have a small issue logging in with a webservice being hosted using HTML with basic authentication. I have tried the following but it does not work. Are there any restrictions ...

9. How to config WebService to return ArrayList instead of Array?    stackoverflow.com

I have a web service in java that implemented on jax-ws. This web service return an generic list of User. It's working very good :).

@Stateless(name = "AdminToolSessionEJB")
@RemoteBinding(jndiBinding = "AdminToolSessionRemote")
@Remote(AdminToolSessionRemote.class)
@WebService
public class ...





10. Consuming Java Webservice with Date and Time elements in WCF    stackoverflow.com

I need to consume a Java Webservice which has elements of type Date and Time. Example from the wsdl:

...
<xsd:element name="fromTime" nillable="true" type="xsd:time" />
<xsd:element name="dateOfInspection" type="xsd:date" />
...
When consuming the Webservice via Add Service ...

11. Consuming java web service from .NET client    stackoverflow.com

I am trying to consume a java web service from .NET. When I add service reference to generate proxy and run the programme i get the error below

The ...

12. Java Socket exception while trying to reach .NET WCF web service on IIS    stackoverflow.com

When I call, the service's method, I have Web Service Exception happening which I couldn't figure out for now. The issue is this, I am running NetBeans 6.8 against IIS 7.0 with ...

13. How to generate proxy for a child class when my web service return a parent class?    stackoverflow.com

I have a JAX-WS WebService like this:

public class ParentClass{
    public String str1;
}
public class ChildClass : ParentClass{
    public String str2;
}

public class WebService{
    public ...

14. How to import a WCF web service using a Java client    stackoverflow.com

I have a WCF web service using wsHttpBinding that I am consuming from a Java client. I generated code from the WSDL using wsimport. The java client appears to be ...

15. Convert normal web service to wcf    stackoverflow.com

I have a normal web service. Many java and .net users are accessing it. Can I update it to wcf without anyone having to change their code? Any ...

16. Good tool to test WCF service (not SOAP/HTTP webservice)    stackoverflow.com

I recently found SOAPUI and discovered that it is just a great tool for testing any SOAP/HTTP service. Conventionally, we have been developing our own driver to test our services (WCF ...





17. Java Client interoperating with WSE 3.0 Web Service    stackoverflow.com

I have a Interoperable Security Token Service (STS) that authenticates the User and then issues a SAML token. I also have transaction services that expects the SAML token in the incoming ...

18. Converting WCF web service to Java    stackoverflow.com

I currently have a web service built on WCF. It's still in its infancy, so, major changes are still possible. I've been thinking on porting it from WCF to a Java-based ...

19. Can JAX-WS host "web" service in desktop program?    stackoverflow.com

Can Java (JAX-WS) host "web" service in desktop program? For example .net wcf can host services anywhere. Tnx all.

20. WCF - Java web service interop - Signed outgoing message not accepted    stackoverflow.com

I try to sign a message using a certificate and a private key to call a java (JBoss) web service, but the server refuses to accept my signed message. It only ...

21. Need help regarding WCF web service with MQ interaction    stackoverflow.com

I have created a simple WCF web service to write some messages into MQ (Websphere MQ).It was hosted in IIS 6.0 server. Service stated successfully, but while writing the message into ...

22. Visual Studio cannot consume Web Service containing UsernameToken policy    stackoverflow.com

I am getting errors when trying to add a reference to a Web Service in Visual Studio 2010. The Web Service is implemented in Java using the JAX-WS/Metro/GlassFish stack and contains ...

23. Exception Thrown Calling JEE web service from WCF Compact framework    stackoverflow.com

I'm working on a WCF client using the compact framework on a CE device. The desktop version of the project using WCF works fine, but the compact framework implementation of ...

24. Developing a .NET client that consumes a secure METRO 2.1 web service    stackoverflow.com

I have a secured METRO 2.1 web service, and I want to develop a .NET (3.5) client that can use it. I already succeded if the WS was unsecured, but once ...

25. Web Service Vs WCF    stackoverflow.com

I want to develop a web service or WCF .net application for java application development. Which is best for java application web service or WCF and why? By java application it ...

26. WCF HTTP/SOAP Webservice - Returning exception message in faults    stackoverflow.com

I have asimple WCF HTTP/SOAP web service, the service implementation looks something like this:

public CustomResponse DoSomething(CustomRequest request)
{
    try
    {
       ...

27. Web Services Interoperability    stackoverflow.com

I have few fundamental questions Question#1

  • With WCF you can expose a service as HTTP/TCP/MSMQ binding
  • Similar to this do we have any equivalent solution in Java platform for exposing service with different bindings
Question ...

28. Web service written in both WCF and Java    stackoverflow.com

Can I write a web service that implements the same methods and returns the same custom objects using both C#/WCF and also Java Web Services? And if so, can I then ...

29. Communicating with third-party web services from .NET    stackoverflow.com

In the current project I need to communicate with third-party web services from .NET. The difficult part is constructing SOAP messages and posting to the server. After googling enough I found ...

30. WCF Client calling a Java Web Service : XmlSerializer cannot find Derived types    stackoverflow.com

This seems like a fundamental Web Services problem. However an elegant solution is elusive based on some research I have been able to do. I guess I am missing something here I ...

31. Consume WCF .svc WebService in Java    stackoverflow.com

I am new to WebServices. I have created a .NET WebService (WCF service .svc). I am able to consume this service from a .NET Client application. Here I have added the service ...

32. How to build a proxy layer for SOAP/XML webservices    stackoverflow.com

I need to capture and run realtime analysis on messages being exchanged between various web services implemented in Java and client apps. The server code and config can not be ...

33. Always protocolexception is thrown while accessing java webservice from my wcf client    stackoverflow.com

I'm getting the success response when valid data is passed. But In case of any failure, I'm always receiving a protocolexeption instead of the actual exception thrown by the service. From ...

34. Can Metro make Java webservices interoperable with WCF even if Java lacks out parameter support?    stackoverflow.com

I have a WCF client that used to call a WCF method with an out parameter:

int SomeMethod(out int anotherReturnValue);
When reimplementing this method in a Java Webservice will I have to change ...

35. WCF web service and java web service    stackoverflow.com

Can web service developed in Java can be consumed by WCF web service and vice versa.??

36. Call Java webservice from .Net client to get byte[] (have example on Java)    stackoverflow.com

I try to use java web server from .Net wcf client. In Visual Studio I generate SealingServicesClient. The service method must return byte[]

byte[] sealedDoc = File.ReadAllBytes(_SealedFileName);

using (var srv = new SealingServicesClient())
{
 ...

37. How to sniff communication between SSL protected Metro web service and WCF client?    stackoverflow.com

Environment: NetBeans 7.0.1, GlassFish 3.1 I want to sniff the communication between a WCF (.NET Framework 4) client and a Metro (2.1.1) web service, and then check the messages to be sure ...

38. Using MTOM to upload file from C# client to JAX-WS web service thru SSL    stackoverflow.com

So i have a JAX-WS web service to upload a file and the code is like this:

public void fileUpload(String fileName,
            ...

39. Metro web service with SSL - Is this a secure conversation    stackoverflow.com

I have the following conversation log (from WCF Trace file). It shows a WCF client calling an SSL protected Metro web service. Does the conversation have applied security? How do I ...

40. How to catch exception in .net web services client when the ws-secureconversation is used?    stackoverflow.com

I'm testing a simple web services and deploy it with Websphere Application Server 7.0. The web services just has simple methods like this.

@WebService
public class MyServices
{
    public String sayHello1()
 ...

41. WCF client / Java Web Service - deserialized objects are null    stackoverflow.com

I am trying to integrate a Java web service into my C# project. The web service is maintained by another division of my company and it is out of my ...

42. Web service integration with Java, are their any issues with types?    stackoverflow.com

If a web service is written in .net using WCF, can a java client use it without an issue or are there problems with returning specific types/collections like List ? Would using ...

43. Windows Communication Foundation(WCF) WebService and Java client    coderanch.com

Hello I need samething, Could any one suggest which is the best one to go for consuming WCF with Java client. AXIS is better? I heard that Microsoft and Sun Systems have created a joint project called Metro-Tango for providing solution for JAVA consuming WCF, Is this Tango is good or complex to learn Could any one help in this regard ...

44. Access .NET WCF service from Java    coderanch.com

45. Interoperability between WCF and WSIT    coderanch.com

Hi, Recently I have been looking for a example or for a tutorial that would describe the secured communication between two Web Service technologies; WFC(server) and WSIT(client). So far I have tried to establish a .X509 secured communication, first by creating certificate with MS-tools, registering it to IIS, importing the cert with a keytool, and finally binding it to WSIT-client via ...

46. WCF client to WSIT enabled Java service.    coderanch.com

Hi. I have found not too much articles based on this issue, but much more help questions So my in similar. I have tried to use Java service with Username Authentication with Symmetric Keys (UA), from C# win application. I have finally got the right proxy classes, and also the next exception : Unhandled Exception: System.InvalidOperationException: The username is not provided. ...

47. WCF, Rampart, ADFS2 and SAML Interop issue    coderanch.com

Hi Jason, I am looking to implement a similar use case as yours. In my case, I need to write a Java Client to talk to a ADFS2 STS and use SAML authentication which I believe can be done with Axis2/Rampart. I am new to axis2 and Rampart. I am looking for some help as to how to implement this. I ...

48. Connecting from JAVA to WCF web service through HTTPS    coderanch.com

hello all, i am basically a .Net developer, but i am now assigned to a project that uses JAVA, in this project i should use a web service (.Net WCF web service) that is secured (over HTTPS), and the service is signed with a self signed certificate. i almost tried everything mentioned on the web but nothing actually worked. So if ...

49. Call WCF web service from java    coderanch.com