• Post Reply Bookmark Topic Watch Topic
  • New Topic

Newbie Doubts on Custom Types  RSS feed

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have few doubts on custom types transferring between java/.net using axis 1.2 rc2 document style web services.

Say I have below structure of my classes

class a
{
public boolean a1=true;
}
class b extends a
{
public boolean b1=false;
}

class c
{
public boolean c1=true;
}
class d extends c
{
public boolean d1=false;
}



now say I have an POJO or EJB method with below signature:

public d sayHello(B b);


Now if I transfer b object between .NET as Client and Java as Server then can I read d.d1 and d.c1 on client side and b.b1 and b.a1 on the server side. In this case, how can the schemas that need to be included inside WSDL for this POJO/EJB web service for these objects looks like. Will it include all schema definitions for all a, b, c, d objects ?



Can anyone please clarify my doubts ?



Thanks & Regards,
Kumar.
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The following series of articles may help you with interoperability issues

http://www-106.ibm.com/developerworks/webservices/library/ws-tip-j2eenet1/
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-j2eenet2.html
http://www-106.ibm.com/developerworks/webservices/library/ws-tip-j2eenet3/
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jean- You are everywhere to help ppl :-)
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jean- The articles do not directly hit the nail on its head. Do you have any suggestions ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!