Re: web services - need help



blueparty wrote:
The question here is can WSDL on Java site decode Microsoft's
ArrayList and can MS WSDL decode
Java ArrayList ? Doesn't matter, I have made a working example with
DataContainer[] array. I think it is a safe bet.

Neither.

WSDLs don't decode anything.

The Microsoft and Java platforms respectively encode to XML from their native types, and decode from XML to their native types. The WSDL is the schema that guides the process.

The question of whether one's ArrayList is compatible with another's or even whether either uses ArrayList at all for a given element in the WSDL is completely immaterial. The important thing is that each platform correctly produces a semantically useful XML document to send to the other.

By way of example, if the documents fake out a call from Java to

ArrayList <String> names = service.obtainNames( criteria );

it makes no difference whatsoever if the Microsoft end used an ArrayList to encode the response, save that the result looks like the sort of XML the Java end expects and can correctly decode into its own ArrayList.

It's the XML.

--
Lew
.



Relevant Pages

  • Re: SOAP to webservice
    ... If the Java app builder has a WSDL file for their service, ... SOAP and simply send the values you need. ... > I am writing an application which needs to send some XML in a SOAP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: web services, SOAP request, Get
    ... Not if it's SOAP - there's an XML payload too, ... Apache Axis (for Java) or lots of M$oft .NET can turn this WSDL ...
    (comp.infosystems.www.authoring.html)
  • How do you transparently implement the same web service (WSDL) with java axis and .NET ?
    ... When I have tried to generate java and C# servers/clients from the same ... WSDL as described further below, these are the results I have been able ... When I try to invoke a C# web service with a java axis client I get the ... ..NET that are supporting the same WSDL and to be able to reuse client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How do you transparently implement the same web service (WSDL) with java axis and .NET ?
    ... > When I have tried to generate java and C# servers/clients from the same ... > WSDL as described further below, these are the results I have been able ... > When I try to invoke a C# web service with a java axis client I get the ... > .NET that are supporting the same WSDL and to be able to reuse client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Java Socket Programming
    ... decode the message when it arrives on the Java side. ... C header file and convert it into something Java would use to decode the ... You mey need a protocol analyser to find out what padding the compiler is inserting, ...
    (comp.lang.java.help)