SOAP with Axis. Java server and c# client.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alejandro_Salas
Posted On:   Friday, August 27, 2004 02:28 PM

Hello everyone,

I have a problem with a web service. I don't know how to receive complex objects sent to a c# client. If I send strings, ints, even array of strings everything goes fine, but I don't know how to deserialize complex objects. I found somewhere that the problem may come from the WSDD, is this right... any ideas on how to fix this?.. thanks a lot

Alejandro

Re: SOAP with Axis. Java server and c# client.

Posted By:   Brett_Ryan  
Posted On:   Monday, September 20, 2004 05:49 AM

Okay, you are right in thinking it has something to do with the WSDD. What you have forgotten to do is add your beanMapping entries. A bean mapping may look something like the following if you wish to use a namespace of "myNS" and an object to map of "org.somename.somepackage.MyObject"




xmlns:myNS="urn:MyService"
languageSpecificType="java:org.somename.somepackage.MyObject" />


Place this within your descriptor inside your WSDD file.

About | Sitemap | Contact