The Artima Developer Community
Sponsored Link

Java Buzz Forum
Hacking around to get Web Services working. What a pain.

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Hacking around to get Web Services working. What a pain. Posted: Jun 3, 2004 7:50 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Hacking around to get Web Services working. What a pain.
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
I saw the article on developerWorks: Web Services Programming Tips and Tricks: Use collection types with SOAP and JAX-RPC. The article discusses how you can get around the problem that "The JAX-RPC specification does not define a mapping for the LinkedList class" (and many other collections). Then we are lead down the world of a hack, in which we need to use arrays instead of these collections, and how you can use a wrapper to do this. When we ported the front end of TheServerSide.NET to ASP.NET talking to our business services layer we tried Web Services (as some people wanted us to ;) ). We ran into this exact problem. We used collections funnily enough, and we had to create a layer in front of our services layer which would just be in charge of converting the collections to arrays..... and back again on the way in. It gave us a bad taste, and we ended up using Borland Janeva. With Janeva we were able to take our EAR file, feed it to Janeva, and out came C# stubs that we could use directly from our ASP.NET application. That was it. It just worked. I was surprised :) In our case, we knew that we wouldn't need more types of front ends (e.g. Perl, LISP, .... ) that would want to talk to us, so it made no sense to have a generic layer such as Web Services.

Read: Hacking around to get Web Services working. What a pain.

Topic: HOWTO Include ASL Licensed Software in GPL(ish) Software Previous Topic   Next Topic Topic: [May 25, 2004 05:40 PDT] 8 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use