Re: web services - need help
- From: Lew <com.lewscanon@lew>
- Date: Fri, 25 Jul 2008 19:52:31 -0400
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
.
- References:
- web services - need help
- From: Blueparty
- Re: web services - need help
- From: Arne Vajhøj
- Re: web services - need help
- From: Blueparty
- Re: web services - need help
- From: Arne Vajhøj
- Re: web services - need help
- From: Blueparty
- Re: web services - need help
- From: Arne Vajhøj
- Re: web services - need help
- From: blueparty
- web services - need help
- Prev by Date: Re: Missing Lew's posts but not the impostor?
- Next by Date: Re: Distributing Java Source
- Previous by thread: Re: web services - need help
- Next by thread: Re: web services - need help
- Index(es):
Relevant Pages
|