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

  • SEARCH
  • Home
  • 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 906431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:23:19+00:00 2026-05-15T16:23:19+00:00

i need to develop a .net library which exposes a java web service proxy

  • 0

i need to develop a .net library which exposes a java web service proxy to a legacy vb6 asp web application . Being the first time i do such a task and not knowing vb6 programming language, i need some clearifications by a more experienced programmers.
To begin i’ve searched the web and i’ve found the following link (in case someone might find it useful ) : http://migrationguide.artinsoft.com/Migration-Guide-Faq-Chapter-14.aspx

yet there are still some things that aren’t clear to me :

  1. the web service proxy’s methods take complex types (objects) parameters and return complex types (for instance a list of “records” ) . How should i map thoose types to make them usable by vb6 : structures or classes (some of them are nested into other structures ) ? or arrays of simple types, eventually matrixes for nested types ?

  2. i think it’s obviuos i can’t use generics, but can i use collections or should i use only arrays ?

  3. what kind of exceptions should i throw from inside my library ? COMException ? Any kind of exception i whish ? and how does the vb6 web application consume them : i mean i’d like to give a better feedback than “and exception has been raised” . i’ve found some posts around but they are quite old and related to older version of the .net (actually i’m using 3.5 )

Thank you in advance for any help

  • 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-05-15T16:23:20+00:00Added an answer on May 15, 2026 at 4:23 pm

    In the end i’ve found that the raccomanded pratice is to expose the library as a Com object.
    In case other beginners like me might find it useful, the official msdn guide is :

    msdn.microsoft.com/en-us/library/zsfww439(v=VS.71).aspx

    Since arrays has caused me a bit of trouble the following hints might be helpful:

    1. arrays method parameter must be provided by ref not by value or you get an exception at runtime
    2. if there are properties returning or getting arrays you must specify how to marshal the values

    below i’ve added the msdn guide to marshalling arrays and another post i’ve found useful:

    msdn.microsoft.com/en-us/library/z6cfh6e6.aspx

    huntjason.spaces.live.com/blog/cns!9D2E96F2AA6AE85F!378.entry

    thank everybody for the opinions and examples provided

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

Sidebar

Ask A Question

Stats

  • Questions 524k
  • Answers 524k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Someone is using some heinous reflection to call methods on… May 16, 2026 at 9:52 pm
  • Editorial Team
    Editorial Team added an answer Trying setting the environment variable _NO_DEBUG_HEAP=1 in the program's initial… May 16, 2026 at 9:52 pm
  • Editorial Team
    Editorial Team added an answer textarea tags are not self closing (in HTML). So your… May 16, 2026 at 9:52 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

We need to develop quite a powerful web application for an investment bank. The
I'm trying to develop a form generator in java, in which users will be
I need to develop a software which works for both windows and Mac OS.
I need to develop an application with following features and want to understand if
I'm looking for a library that can be used in native .NET code, just
I need to develop a Add on for Excel (2003 and greater), it must
I have deliberated endlessly over which language/framework best suits the following. I need to
I am using VS2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net
the Requirement in simple words goes like this. Its a charting Application ( kinda
I am developing on Windows Server 2008 with VSTS 2008 + C# + .Net

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.