Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic