.NET 1 « Web Service « Java Enterprise Q&A





1. Why won't .NET deserialize my primitive array from a web service?    stackoverflow.com

Help! I have an Axis web service that is being consumed by a C# application. Everything works great, except that arrays of long values always come across as [0,0,0,0] ...

2. .Net Web Service Logging    stackoverflow.com

My ideal situation for logging in our web service would be to log all the method calls (authentication as well as data access) with the parameters passed to them as well ...

3. RMI or Web Services sample application    stackoverflow.com

Does anyone know of a sample distributed application (.NET or J2EE) using RMI or Web Services?

4. Webservices - Java or .NET?    stackoverflow.com

I need to implement webservices in an upcoming project and wanted to know what are the main points to base the decision on whether to implement using java or .NET I'm a ...

5. How do I investigate my java-based web service from .NET?    stackoverflow.com

I have publicised a Java method as a Web Service and I use the Web Service Explorer in Eclipse to invoke it and it works as expected. See

6. Consuming .NET webservice in Java (metro) - XMLNode/XMLDocument consumption?    stackoverflow.com

I am a bit rusty in my Java, and this is my first time using metro/JAX-WS, so if this is a dumb question I apologize. I have to write a client that ...

7. Best way to consume .NET web services in Java    stackoverflow.com

I'm trying to consume some .NET web services using JAX-WS. I have generated the Java classes using the wsimport tool. However, when I try to use these (proprietary, not public) web ...

8. calling java web service by .net web service    stackoverflow.com

HI Could you please give me an idea of how to write a .net web service to call a java web service (written by different person) via SOAP. Thank you regards Aparna

9. Calling .NET Web Services Asynchronically from Java    stackoverflow.com

I need to make asynchronous calls to .NET web services from java since synchronous calls are too slow. I know in .NET this is easily done since the stub (proxy) ...





10. Problem - Java Web Service Consumed by .NET    stackoverflow.com

I am facing an issue while consuming a java web service from .NET. I am able to provide the input to the web serive but not able to get back the ...

11. difference between java (jax-ws) web service and .net web service?    stackoverflow.com

Sorry for such naive question,but can any one can explain me the difference between java web services(jax-ws) and .Net web services behaviours?. Thanks you....

12. Consume a stateful .net web service from java    stackoverflow.com

In C# I have methods that use

   [WebMethod(EnableSession = true)]
I consume them in C# .net by using a cookiecontainer to maintain state. How do I do the same thing in ...

13. Specify a Proxy in config vs code for a WSE/SOAP web service    stackoverflow.com

Is there a way to specify a WSE3 proxy in the config file instead of code. I figured out how to get it working in code as follows:

valservice.Proxy = new ...

14. Calling webservice via server causes java.net.MalformedURLException: no protocol    stackoverflow.com

I am writing a web-service, which parses an xml file. In the client, I read the whole content of the xml into a String then I give it to the web-service. If ...

15. Mapping domain objects to web service proxy objects in Java    stackoverflow.com

I am trying to find a way for mapping domain objects to web service proxy objects, generated by various Java web service stacks. Both the web service (.NET) and the Java code ...

16. Compressing result of Web Service    stackoverflow.com

I have a .NET web service that returns XML, and I'd like to compress this before it is sent. There's a couple of ways that I can do this, but I'd rather ...





17. web services @.net or java    stackoverflow.com

confusion in using either jax-ws(java) or .NET for implementing the web services. i would like to develop some web services and check the security loopholes in them(means to stimulate some attacks ...

18. Calling a .NET web service (WSE 3.0, WS-Security) from JAXWS-RI    stackoverflow.com

I'm writing a JAXWS-RI client that must call a .NET Web Service that is using WS-Security. The service's WSDL does not contain any WS-Security info, but I have an example ...

19. Web services that implement the same interface    stackoverflow.com

My friend build a web service in java I build one in .net I want them to implement the same interface then in my program change the web.config to point to one or the ...

20. Parsing a .NET DataSet returned from a .NET Web Service in Java    stackoverflow.com

I have to consume a .NET hosted web service from a Java application. Interoperability between the two is usually very good. The problem I'm running into is that the .NET application ...

21. Book on optimizing complex real world webservices architecture?    stackoverflow.com

Is there any book that goes beyond "how to create a webservice" but still for java or .net.

22. Invoking .Net WebService from Java    stackoverflow.com

I had a .Net webService that returns a custom class, lets call it "MyClass", used like this example:

[WebMethod]
public MyClass sampleMethod()
{
    return new MyClass();
}
If works ok when invoked from ...

23. Using certificates in a client-application consuming a web service    stackoverflow.com

I am implementing a VB.NET desktop application which consumes a web service. The web service implemented in Java and I currently using Tomcat on my localhost to host the web service. The web ...

24. Consume Java Web Service that returns a hash table in .NET    stackoverflow.com

I want to consume a web service built in Java from a .NET application. The web service returns a hash table in one of the methods and when I run soapUI ...

25. .net webservices using complex types with other platforms e.g. Java    stackoverflow.com

I'm working on a .net system that will both expose and consume web-services with another system to pass data back and forth - the other system is java based. Our proposed XSD ...

26. Consuming Java Web Service from .NET    stackoverflow.com

I have a web service written in Java now I want to consume that web service in the .NET world. I use the WSDL to add a proxy class to my ...

27. Comparable Frameworks .NET and JAVA (Persistence / Webservice / Marshalling)    stackoverflow.com

Are there any .Net frameworks comparable with the follwing JAVA framworks? JPA 2.0 persistence-framework (EclipseLink or OpenJPA implementations)
jersey framework (for REST-webservices)
gson framework (json marshalling library) And is there any reason to ...

28. Calling Java Web Service from .NET Window Service issue    stackoverflow.com

Does anyone have any idea why I am getting "Unrecognised Message Version" exception error back when calling a web service written in java? this is the stacktrace: System.ServiceModel.CommunicationException: Unrecognized message version. ...

29. Language in which web services are easily developed (java or .net)    stackoverflow.com

From an implementation point of view, which would be easier to implement Java or .Net web services? If possible, please provide easy tutorials of web services of the platform you propose. ...

30. Calling web services from Mainframe batch programs    stackoverflow.com

We are currently looking at doing a partial migration away from a Main Frame. Some of the functionality written in Mainframe Cobol is called from Mainframe Batch programs. We would like to move ...

31. calling a .net web service from java using net beans    stackoverflow.com

Hi i need to call a .net web service(.asmx) from java which is already available.. I only know the method prototype and WSDL.. i'm using netbeans IDE.. The signature of my method ...

32. Consume Java web services from .Net    stackoverflow.com

I would like to know if it is possible to consume a Java web service using .NET (doesn't matter which version) and any sources to documentation for this. Google has not helped ...

33. web services communication with .net and java    stackoverflow.com

can i replace this code in C#.net to java

[WebMethod]
    public int SendSMS( string Message, ref string MessageReturn) {
        string _res ...

34. Webservice Notification - what java implementation would you recommend?    stackoverflow.com

I'm looking to listen to WSN produced by a .net webservice using java. What java implementation for WSN would you recommend in this case?

35. Invoking .Net webservices from Java    stackoverflow.com

I have a web service created in .Net and I am interested in invoking this web service in my java application. What set of libraries would be the best suited to do ...

36. Simple Webservice Authentication/Authorization not so simple?    stackoverflow.com

Some years ago I added a webservice interface to an existing web application that would allow the creation of custom clients to manipulate the data held by the application. The clients ...

37. .NET vs Java for webservice    stackoverflow.com

I need some advice - which technology is better for a web service: Java or .NET? My service is basicaly used to provide access to DB - from a site and phone ...

38. Lack of performance consuming Java Web Service in .net    stackoverflow.com

I have been consuming a Java Web Services in .net 3.5 but I have seen a lack of performance during the first time the web service proxy is created. I Added ...

39. Problem in creating and publishing Web Service in Mustang(Java 1.6 sdk)    stackoverflow.com

I am preety new to Java and have some experience in dotnet. The intension is to create a web service in java (jdk 1.6) and consume it thru dotnet. Please assume ...

40. How to consume .net webservices using java    stackoverflow.com

Possible Duplicate:
Consuming a web service in Java
How to consume the webservices(.asmx) using java? I need to parse the response xml and use it ...

41. .NET Web service not working    stackoverflow.com

I'm using following code to .java file...

package com.webservice.call;

import org.ksoap2.SoapEnvelope; 
import org.ksoap2.serialization.SoapObject; 
import org.ksoap2.serialization.SoapSerializationEnvelope; 
import org.ksoap2.transport.HttpTransportSE; 
import android.app.*; 
import android.os.*; 
import android.widget.TextView;  

public class WebservicecallActivity extends Activity {

    ...

42. TimeOut Setting while Accessing .net Web Service    stackoverflow.com

I have developed a Mobile Application for E5 Mobile, Here in my Application I am using .net Web Services for login & other activity. I have created stubs accordingly. My Application ...

43. how to read ArrayOfAnyType from .Net web service using JAVA code    bytes.com

i am try to read an object from .Net Webservice i got this type ArrayOfAnyType as in this lines of code: public class NewClass { try { // Call Web Service ...

44. VB.net    coderanch.com

Hello! If any body can help I have a problem using combo box in VB.net I am filling one combo box with items using an array, so I can easily work on any item using Combobox1.SelectedIndex = Ubound(array) (last element will be retrieved) If I am using the collection property of combo box to fill in the items, so how could ...

45. Java/J2EE to .NET (high-traffic) interoperability    coderanch.com

A couple postings on javaranch have talked about SOAP being much less efficient (although much simpler to implement) for high-traffic applications than using another distributed RPC mechanism like RMI. Any thoughts on this which are specific to Java/J2EE and .NET interoperability? I am concerned about speed of transactions (and of course reliability) via whatever interoperability mechanism I decide to implement in ...

46. Java Vs .NET webservices    coderanch.com

47. To the author: .Net vs Java    coderanch.com

Hi - Let me ask the question again, slightly differently: Is it likely that one group in an organization can go off and write a bunch of stuff in Java with IBM Visual Age, another group in the same organization go off and write a different bunch of stuff in C# with Visual Studio .NET... ... and then expect the two ...

48. Interacting with a .NET webservice    coderanch.com

I'm new to web services and I think I'm missing something big here. I'm able to hit a webservice which was created in .NET. They are returning an ADODB recordset and I just don't know what to do with it. How do I access the data that's been returned? Does it have something to do with deserializing it? Thanks in advance ...

49. Ksoap / j2me / .Net Web Service    coderanch.com

Hi people I am trying to connect to web service created in vb.net, through a midlet with KSoap. My problem is not really connecting and getting a result, but rather setting a property in my midlet.. let me show you my code> testWebService.java ------------------------------------------------------------------------ package testWebService; /* * testWebService.java * * Created on 21. november 2004, 19:18 */ import javax.microedition.midlet.*; import ...

50. Java to .NET webservice    coderanch.com

Originally posted by srini vasan: I'm new to .NET webservice stuff .. the requirement is i have exposed some set of Java methods as webservice , one of our clients appln is in VB and we suggest them to migrate to .NET .. Is there any link that throws more light on this ?

51. .NET or Java??    coderanch.com

52. Calling Java webservices from VB app    coderanch.com

I have a requirement where we need to call webservices (written in java and exposed through wsdl from websphere) from VB 6.0 app. I want to know what are preferred ways through which we can access it from a VB app. I was thinking of providing wsdl file and the VB app will be calling using SOAP.But i dont have much ...

53. .NET newbie    coderanch.com

Hi, I am comfortable with the J2EE Web Service Soup but am now trying to install the .NET environment to be able to run some webservice on it. I installed the .NET Redistribution framework and the .NET SDK. Do I need any other component? Do I need the IIS Server ? If yes, then it is not supported on my XP ...

54. j2ee and .net    coderanch.com

Hi, I have a HelloWorld web service deployed on a Weblogic server. I want to call it from a .net client. So, I do the following: 1. use wsdl.exe to generate the proxy .cs class from the HelloWorld.wsdl 2. compile the .cs class to create the proxy dll and move it to wwwroot/bin Now when I try to run the client ...

55. Problem using simple java webservice from .NET    coderanch.com

Hi all, I'm having a real problem trying to write a webservice that I can call from .NET. I use Netbeans 4.1 and until recently used Tomcat as my App Server, but since wanting to try and do some webservices decided to give Sun's App Server a go. So far so good, everything including jdbc seems to work ok after a ...

56. .net web services with java!    coderanch.com

It should not be any different from accessing a web service implemented in any other language. That is, after all, one of the benefits of web services: that they are platform and language-independent, as long as they work according to the specifications (SOAP, WSDL, BP etc.). Try to get the WSDL for the service, and create a Java client for it. ...

57. .net and java    coderanch.com

I start looking at web services. I have been using Java, Servlet, xml, xslt for about two year. - Should I go with .net or stay with Java? - Seems there are many libraries in Java like SOAP and Axis that make learning curve a bit high and in .Net, they make them seamlessly although Visual Studio is pricy. Am I ...

58. .net java InvalidCastException    coderanch.com

Hi i am using apache axis to write web services but when .net calls my service it gives the following error. System.InvalidCastException: Cannot assign object of type SystemWebService.d31504.organisationdetails to an object of type SystemWebService.d31504.organisationdetails[]. here is the part of my wsdl

59. Java and VB.net    coderanch.com

60. how to invoke web service implemented in MS.NET    coderanch.com

WSDL2java creates a JAX-RPC client, but since you already have a SAAJ client, you should be all set. The whole point of web services is that it shouldn't matter what language the client and the server are written in; as long as they conform to WSI Basic Profile, they should be able to interact just fine.

61. Accesing webservice created in .NET    coderanch.com

Hi, Am trying to connect to a web service, through JDeveloper, that has been created using VB.NET. When I do i get the following error: The WSDL document is invalid for the following reason: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://p21804/ASKWS/Service.asmx?WSDL:Negotiate Have tried adding the WSDL document but i can't post this message, say I have exceeded ...

63. INVOKE A .NET WEB SERVICE FROM JAVA    coderanch.com

64. File transfer from java application to .net application    coderanch.com

I'm not sure why you're posting this to the WS forum, if you don't want to use WS, but any method that lets you transfer bytes between servers would work: Email, FTP, HTTP, WebDAV, direct socket comunication, using a shared repository like a DB or an NFS or Samba mount, ... FTP is of course made for transferring files, so it's ...

65. getting exception access webservice located xmethods.net    coderanch.com

i created stubs using WSDL but when i run the client i am getting below exception;what is this meaning?? log4j:WARN No appenders could be found for logger (org.apache.axis.descriptio perationDesc). log4j:WARN Please initialize the log4j system properly. AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (405)Method not allowed faultActor: faultNode: faultDetail: {}:return code: 405