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 7490763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:45:55+00:00 2026-05-29T15:45:55+00:00

I generated classes in JavaScript from a WSDL by using Visual Studio’s WSDL utility.

  • 0

I generated classes in JavaScript from a WSDL by using Visual Studio’s WSDL utility.

wsdl /o:SomeClasses.js /l:js https://SomeCompany.com/SomeService?WSDL

The output contains classes (in JavaScript) that look like this:

public System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "4.0.30319.1") System.SerializableAttribute() System.Diagnostics.DebuggerStepThroughAttribute() System.ComponentModel.DesignerCategoryAttribute("code") System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:some.company") 
class SomeUser {
    private var domainNameField : System.String;
    private var userNameField : System.String;

    ///<remarks/>
    public final function get domainName() : System.String {
        return this.domainNameField;
    }
    public final function set domainName(value : System.String) {
        this.domainNameField = value;
    }

    ///<remarks/>
    public final function get userName() : System.String {
        return this.userNameField;
    }
    public final function set userName(value : System.String) {
        this.userNameField = value;
    }
}

Is it possible to write OOP JavaScript utilizing these classes? If so, what is the syntax, examples, etc.

  • 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-29T15:45:55+00:00Added an answer on May 29, 2026 at 3:45 pm

    When you specify the JS language for the Web Services Description Language Tool, you are NOT specifying JavaScript, but JScript. It’s not even JScript that InternetExplorer can fully understand, it’s JScript.NET.

    JScript.NET is a server side scripting language based on JScript but with added features – available only on the server side – like the class you’ve got in the code you posted.

    You should look for other ways of generating JavaScript code, maybe with a tool like Wsdl2js or performing your WS call with JQuery. You can’t use the Wsdl.exe generated code inside InternetExplorer as InternetExplorer only supports the old JScript language (and non IE browsers don’t even support that).

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

Sidebar

Related Questions

The generated classes from my WSDL using wsimport are not having equals() and hashcode()
I'm using Entity Framework O/R mapper from Microsoft and using entity classes (generated classes
I have some classes generated from WSDL files by the Axis Framework. In one
I have two classes generated by LINQ2SQL both from the same table so they
I've been having a look at making changes to the partial classes generated from
We've generated some (well a lot) of classes using HyperJAXB. All of the classes
I was building a slide-menu with javascript using classes and objects and a little
I auto-generated some classes using xsd.exe for a project I am working on. I
Using EF-generated classes, here's my metadata class: [DisplayName(Approved Date)] [DataType(DataType.DateTime)] [DisplayFormat(ApplyFormatInEditMode = true, HtmlEncode
I have generated classes from xsd and want to serialize the DateTime . My

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.