interoperatibility problem : .net c# soap client and Axis soap server
mahesh h bhat
Greenhorn
Joined: Feb 27, 2002
Posts: 1
posted
0
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
posted
0
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: interoperatibility problem : .net c# soap client and Axis soap server