Results 1 to 1 of 1
- 10-13-2010, 06:26 PM #1
Member
- Join Date
- Oct 2010
- Posts
- 4
- Rep Power
- 0
Eclipse creates web service that returns an object but something's wrong...!!!
Hi. i want to created a web service that returns an object.
The object contains string variables, string [] arrays and string[][] arrays.
I have write getters and setters in the object to fill the variables and the arrays and retrieve their values.
I've write some code that creates an instance of that object and fills the variables and the arrays correctly. So the next step i am doing is to convert this code to a web service and a client via the eclipse wizard by right clicking to the .java file->web services->create web service....
but the wsdl that is been created does not contain all the structure of the object i created. To be more specific it does not contain the two dimention arrays.Contains only the single dimention arrays and the string variables.
but at the client, the single dimention arrays arrives with null value.Only the string variables has values.
why this happens??
I attach the object i created ( CustomerInfo.java), A part of web service code (EinvoiceImpl.java) and the wsdl that eclipse creates.
thanks (i know my english sucks...I do my best)
Similar Threads
-
When the compiler creates the variable?
By hitesh_public in forum New To JavaReplies: 14Last Post: 08-17-2010, 10:21 AM -
Send object via web service, with a java.sql.Timestamp attribute
By diegofsza in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 08-15-2009, 11:40 PM -
Consuming web service with return custom object
By dream_ in forum NetworkingReplies: 1Last Post: 04-16-2009, 06:56 AM -
Error Eclipse &drjava displays wrong language
By fenderman in forum New To JavaReplies: 0Last Post: 02-28-2009, 03:24 AM -
Help - something has gone wrong with SWT/Eclipse
By int80 in forum SWT / JFaceReplies: 3Last Post: 08-05-2008, 11:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks