DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21930>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21930 .Net not able to serialize data with doc/literal style. ------- Additional Comments From [EMAIL PROTECTED] 2003-07-30 11:23 ------- Yes I am using the latest CVS code downloaded today at morning The client code is client.cs --------------------------------------------- using System.IO; using System.Net; using System; class clientbean { public static void Main(string[] args) { CookieContainer cookieJar=new CookieContainer(); beannullService service1=new beannullService(); service1.CookieContainer = cookieJar; myBean a=new myBean(); a.a=5; a.b=6; Console.WriteLine("initially a has values "+a.a+a.b); myBean b=service1.echo(a); Console.WriteLine("serive returns: "+b.a+b.b); if(b==null)Console.WriteLine("indeed deserialization not proper"); } } -------------------------------------------------------------------- it prints on console -------------------------------------------------------------------- initially a has values 5 6 service returns 0 0 --------------------------------------------------------------------- The request soap message from .net is -------------------------------------------------------------------- POST /axis/services/beannull HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573) Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 352 Expect: 100-continue Connection: Keep-Alive Host: 127.0.0.1 <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><echo xmlns="http://DefaultNamespace"><in0><b xmlns="beannull">6</b><a xmlns="beannull">5</a></in0></echo></soap:Body></soap:Envelope> ------------------------------------------------------------------------ response from axis webservice is ----------------------------------------------------------------- HTTP/1.1 100 Continue HTTP/1.1 200 OK Set-Cookie: JSESSIONID=0DB086894E83C617F4FD70A5CE7985FA; Path=/axis Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Date: Wed, 30 Jul 2003 08:01:04 GMT Server: Apache Coyote/1.0 189 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <echoResponse xmlns="http://DefaultNamespace"> <echoReturn> <b>6</b> <a>5</a> </echoReturn> </echoResponse> </soapenv:Body> </soapenv:Envelope> 0 --------------------------------------------------------------------------- Ankit Gupta
