This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes interoperatibility  problem :  .net c# soap client and Axis soap server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "interoperatibility  problem :  .net c# soap client and Axis soap server " Watch "interoperatibility  problem :  .net c# soap client and Axis soap server " New topic
Author

interoperatibility problem : .net c# soap client and Axis soap server

mahesh h bhat
Greenhorn

Joined: Feb 27, 2002
Posts: 1
I have a Axis soap server which works perfectly fine with apache soap2.2 client.
I did following to create a .net C# client.
1. Generated proxy stub .cs file using .Nets wsdl utility.
2.Wrote console application that uses proxy class.
Axis Soap accepts the .net soap client request alright.The .net soap client gets a response which it parses and converts it into
object[].From the debugger I see that object[] is filled with System.xml.attributes which has the soap response.But the problem is proxy class tries to typecast this object[] to the response class (which it generated thru wsdl utitilty )and gives a invalidcastexception.
Note: The response class is a complex data type and uses soap :rpc
Any suggestions?
Thanks
maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
why dont u use xml serializer class to serialize the object into the xml formated object so that it can be passed to server in xml responses.
if the datatype is more complex u can use binery serializer also to convert it into binery fromatted stream..
http://www.c-sharpcorner.com/SOAP/WSBNJNCT.asp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: interoperatibility problem : .net c# soap client and Axis soap server
 
Similar Threads
Sample Questions for 288 - Need answers
How to speed up AXIS2 HTTPS/SSL connection?
How to order the elements in soap message?
.Net Client for Axis Web services
JAX-WS xsd:import