473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

C# generated proxy method different than original Java service method

Hi,

I have a Java service that has the following method signature:

Expand|Select|Wrap|Line Numbers
  1.        @WebMethod(operationName = "getContactList")
  2.         public MyListClass getContactList(@WebParam(name = "myList") MyListClass myList) throws IllegalArgumentException {
  3.                 return myList;
  4.         }
  5.  
  6. public class MyListClass implements Serializable{
  7. List<ContactOD> innerList;
  8.  
  9.     public List<ContactOD> getInnerList() {
  10.         if(innerList == null){
  11.             innerList = new ArrayList<ContactOD>();
  12.         }
  13.         return innerList;
  14.     }
  15.  
  16.     public void setInnerList(List<ContactOD> innerList) {
  17.         this.innerList = innerList;
  18.     }
  19.  
  20. }
  21.  
When i generate the proxy in C# for this Java service, i get the method signature like this:

Expand|Select|Wrap|Line Numbers
  1.   public ContactOD[]  getContactList(ContactOD[] myList)
I see nowhere in my generated proxy MyListClass that wraps this List<ContactOD> .

What do i need to do to the java web service or to the C# generation of proxy so i can see in the proxy class the method like this:

Expand|Select|Wrap|Line Numbers
  1. public MyListClass getContactList(MyListClass myList)
Thank you so much, Adriana
Dec 3 '09 #1
0 1482

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: MIGUEL | last post by:
Hi all, I'm quite lost with how adding web references to a project creates proxy classes. I've developed a web service with two classes inside and that contains three references to three...
1
by: alexttp | last post by:
Introduction: Assume having a MyApp.MyClass class bearing both data (say, DataSets) and functionality (proprietary methods). A WebService exposes this class via some GetMyClass WebMethod. A...
4
by: Fabio | last post by:
An ASP.NET 2.0 web site contains a web form and a web service. The web form consumes the web service. There is a Book class in the App_Code folder. The web service exposes a method that returns a...
2
by: Jon Miller | last post by:
Hi, I created a web service using Java/JAX-WS. I'm able to consume this web service using VS 2005 and .NET without a problem. However, the class and property names that were generated for the...
3
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate...
2
by: =?Utf-8?B?c21pdGhrbDQy?= | last post by:
I'm just now beginning to experiment with WCF, and I've run into an odd hiccup right at the beginning. I presume it's just something I'm doing wrong, but I can't figure it out. I've created a...
2
by: Peter | last post by:
Firstly let me be very clear about this, I do not want to create a web service proxy nor do I want to do anything with web services. Basically, I have a shrink wrapped desktop application which...
5
by: =?Utf-8?B?TWFyaw==?= | last post by:
I'm researching what is the best way to create a generic WCF proxy wrapper that has the following requirements: 1. Remove the System.ServiceModel config section requirement for clients. We have...
1
by: adrya1984 | last post by:
Hi, I have a Java service that has the following method signature: @WebMethod(operationName = "getContactList") public MyListClass getContactList(@WebParam(name = "myList")...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.