Search the web
Sign In
New User? Sign Up
soapbuilders
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Problems with deserialization of SOAP Response (Complex Type from A   Message List  
Reply | Forward Message #10800 of 10820 |
RE: [soapbuilders] Problems with deserialization of SOAP Response (Complex Type from Apache Websevi

Hi Gregor,
 
I have not had the opportunity to experiment with the situation that you described, but I have encountered issues with the opposite - meaning, I cannot consume 'untyped' types such as Dataset in .NET from Java based clients (including Apache).  I believe the issue is the same.
 
One thing I can suggest is to have the web service 'take apart' the hashtable, which in Java is really a collection of tuples of "key" and "value", insert them in an array of Items and send them over. If you do not have the luxury of modifying the web service, create another web service, based in Java, consume the web service and then do the 'translation' into an array. This way, the .NET client can safely consume this data.
 
What do you think?
 
John Lim


From: soapbuilders@yahoogroups.com [mailto:soapbuilders@yahoogroups.com] On Behalf Of gregduck80
Sent: Tuesday, February 20, 2007 3:08 PM
To: soapbuilders@yahoogroups.com
Subject: [soapbuilders] Problems with deserialization of SOAP Response (Complex Type from Apache Websevi

Hi,

I want to consume an Apache Webservice with a C# .NET Client.
Everything works fine, but I'm having problem with the deserialization
of the complex type "Item" that is included in the response of the web
service, what seems so be the type "hashtable" in .NET. Every "Item"
consists of two fields "key" and "value".

I read a lot about SOAP/Apache/.NET/Complex Types/etc. and somewhere I
read that there is no automatic deserialization possible of such a type.
Does anyone know a HowTo-Example or Codesnippet? Or can somebody
explain how to consume Complex Types from Apache?
I didn't find any helpful postings or Code Examples…

I'm looking forward to your replies!

Best regards,
Gregor



Mon Mar 19, 2007 1:23 pm

johnlimyh
Offline Offline
Send Email Send Email

Forward
Message #10800 of 10820 |
Expand Messages Author Sort by Date

Hi, I want to consume an Apache Webservice with a C# .NET Client. Everything works fine, but I'm having problem with the deserialization of the complex type...
gregduck80
Offline Send Email
Feb 20, 2007
7:08 am

Hi Gregor, I have not had the opportunity to experiment with the situation that you described, but I have encountered issues with the opposite - meaning, I ...
John Lim
johnlimyh
Offline Send Email
Mar 19, 2007
1:30 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help