Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8200797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:34:27+00:00 2026-06-07T06:34:27+00:00

I created an Array of Object from the .Net environment as follows : Dim

  • 0

I created an Array of Object from the .Net environment as follows :

    Dim names(2) As User
    names(0) = New User("param1", "param2", "param3")
    names(1) = New User("param1", "param2", "param3")

Here I have created a User class with 3 String variables. I also created a User class at Java environment with same String variables and the Java class accepts User[] user. I generated webservice based on the Java class and forwrading the parameter from the .Net environment as follows :

        Dim MyService As localhost.ReadObject = New localhost.ReadObject
        Dim resultString As String = MyService.ReadParameters(names)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:34:28+00:00Added an answer on June 7, 2026 at 6:34 am

    i have done what you need. if you pass array object(list is not supported in WebService) then in java you need to use class which has an array type of variable then generate getter and setter of that array type of variable and then generate wsdl again.
    if you do that then java service will accepts your array input.

    suppose your service need to send “PurchaseOrder” kind of array object then say :

    class OuterObject{
    
        public PurchaseOrder[] order;
    
        public PurchaseOrder[] getOrder() {
    
            return order;
        }
    
        public PurchaseOrder[] setOrder( PurchaseOrder[] order) {
    
             this.order = order;
        }
    
    }
    

    then use OuterObject as input parameter in your service method.say:

    class ServiceClass{
    
      public placeOrder(OuterObject object){
    
          PurchaseOrder[] data = object.getOrder();
          int ordernumber = data.getOrderNumber();
          System.out.println("ordernumber is = " + ordernumber);
    
       }
    
    }
    

    it will work but use only array not list, service doesn’t support list.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a a JSON Array from a normal array of user defined object.How
I would like to create a new System.Windows.Xps.Packaging.XpsDocument object from byte array, as I
I have built up an array of objects, created from a class, I wrote
I have created an empty json object having an array itemlist(which further contains itemid
hi i am updating the keyIndex array, which is created in object, while i
Hello i'm using map() jquery to create a new object array DEMO but this
I have created a custom control inheriting from a panel in .NET 3.5 The
I am new to c#/.net and just switched over to it from classic asp(yesterday).
We are accessing a .NET object from matlab. It's some image capture software, and
I have an object Student with 4 attributes(age,name,department,surname). and I create an array of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.