axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhargava Chilakapati" <bchilakap...@hotmail.com>
Subject RE: Interface Serialization / Deserialization, a Solution
Date Tue, 20 Jan 2004 15:48:03 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Hi Purush,</P>
<P>sorry for the late reply, but I hardly get free time,</P>
<P>I dont know the default behaviour of the Java2WSDL, but you must look into your typemappings
and try to give a different typename and see.</P>
<P>I even doubt that it works because the Type that the Java2WSDL creates for any type
is of java.lang.Object. and the message that " there is no default constructor ... " means
that Axis was not successful in Serializing your interface, because it could not find a serializer
/ deserializer for your interfaces.</P>
<P>I have worked for some time on this problem, and have come out with a solution, just
wait till I check it in and some committer reviews my work..</P>
<P>till then</P>
<P>All the best</P>
<P>Rajanikanth<BR><BR></P></DIV>
<DIV></DIV>----Original Message Follows---- 
<DIV></DIV>From: "Marella, Purush" <PMARELLA@TI.COM>
<DIV></DIV>Reply-To: axis-dev@ws.apache.org 
<DIV></DIV>To: "'axis-dev@ws.apache.org'" <AXIS-DEV@WS.APACHE.ORG>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"'bchilakapati@hotmail.com'"
<BCHILAKAPATI@HOTMAIL.COM>
<DIV></DIV>Subject: RE: Interface Serialization / Deserialization, a Solution

<DIV></DIV>Date: Mon, 19 Jan 2004 09:36:37 -0600 
<DIV></DIV>MIME-Version: 1.0 
<DIV></DIV>Received: from mail.apache.org ([208.185.179.12]) by mc1-f21.hotmail.com
with Microsoft SMTPSVC(5.0.2195.6824); Mon, 19 Jan 2004 07:36:46 -0800 
<DIV></DIV>Received: (qmail 65504 invoked by uid 500); 19 Jan 2004 15:36:39 -0000

<DIV></DIV>Received: (qmail 65458 invoked from network); 19 Jan 2004 15:36:39
-0000 
<DIV></DIV>X-Message-Info: JGTYoYF78jGOz7WsZSULyZuTKSTzaCXb 
<DIV></DIV>Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm 
<DIV></DIV>Precedence: bulk 
<DIV></DIV>list-help: <mailto:axis-dev-help@ws.apache.org>
<DIV></DIV>list-unsubscribe: <mailto:axis-dev-unsubscribe@ws.apache.org>
<DIV></DIV>list-post: <mailto:axis-dev@ws.apache.org>
<DIV></DIV>Delivered-To: mailing list axis-dev@ws.apache.org 
<DIV></DIV>Message-ID: &lt;87EA450621E2D211B6EE0000F8CD295714DABB53@dlee07.itg.ti.com&gt;

<DIV></DIV>X-Mailer: Internet Mail Service (5.5.2653.19) 
<DIV></DIV>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 
<DIV></DIV>Return-Path: axis-dev-return-26722-bchilakapati=hotmail.com@ws.apache.org

<DIV></DIV>X-OriginalArrivalTime: 19 Jan 2004 15:36:46.0073 (UTC) FILETIME=[0BCF9E90:01C3DEA2]

<DIV></DIV>
<DIV></DIV>Hi, 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>Are you able to return the same interface from multiple methods?&nbsp;&nbsp;For

<DIV></DIV>example, 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>Interface1 methodOne(...); 
<DIV></DIV>
<DIV></DIV>Interface1 methodTwo(...); 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>I don't have any problems when I return different interfaces, but when
it is 
<DIV></DIV>used more than once as the return type, I get an error thrown in Java2WSDL

<DIV></DIV>step, saying the namespace needs to be defined.&nbsp;&nbsp;When
I use it only once, it 
<DIV></DIV>just gives a warning that "AnyType" is being used, as the interface
does not 
<DIV></DIV>have a default constructor. 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>Thanks, 
<DIV></DIV>
<DIV></DIV>Purush. 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>-----Original Message----- 
<DIV></DIV>From: Bhargava Chilakapati [mailto:bchilakapati@hotmail.com] 
<DIV></DIV>Sent: Saturday, January 17, 2004 3:39 PM 
<DIV></DIV>To: axis-dev@ws.apache.org 
<DIV></DIV>Subject: Interface Serialization / Deserialization, a Solution 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>Hi, 
<DIV></DIV>
<DIV></DIV>Interfaces are the choosen 'messengers' for inter modular communication
and 
<DIV></DIV>is no exception in webservices. 
<DIV></DIV>
<DIV></DIV>I have been working on Axis closely and have developed code for the
process 
<DIV></DIV>of serializing and the deserialization of interfaces. 
<DIV></DIV>
<DIV></DIV>These classes work well and give the desired results. 
<DIV></DIV>
<DIV></DIV>I was wondering how I can check these in, I have gone through the 
<DIV></DIV>documentation, but I have not seen info about this. I have subscribed
myself 
<DIV></DIV>in the developers mailing list. 
<DIV></DIV>
<DIV></DIV>if some one can tell me how then I can check in the code, so that others

<DIV></DIV>could use / develop from there 
<DIV></DIV>
<DIV></DIV>Regards 
<DIV></DIV>
<DIV></DIV>Rajanikanth Bhargava 
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>&nbsp;&nbsp; _____ 
<DIV></DIV>
<DIV></DIV>Marriage? Join <HTTP: 2734??PS="" 8HMAENIN g.msn.com>&nbsp;&nbsp;BharatMatrimony.com

<DIV></DIV>and get married. 
<DIV></DIV>
<DIV></DIV></mailto:axis-dev@ws.apache.org></mailto:axis-dev-unsubscribe@ws.apache.org></mailto:axis-dev-help@ws.apache.org></div><br
clear=all><hr>Get head-hunted by 10,000 recruiters. <a href="http://g.msn.com/8HMAENIN/2731??PS=">Post
your CV on naukri.com today.</a> </html>

Mime
View raw message