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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:12:41+00:00 2026-05-15T22:12:41+00:00

In the wsdl I have 2 types, same name, different cases: LoginResponse and LOGINRESPONSE.

  • 0

In the wsdl I have 2 types, same name, different cases: LoginResponse and LOGINRESPONSE.

If I use xfire to generate the java classes, it only generates one class, LoginResponse,
discarding the LOGINRESPONSE.

How do I get around this?

<s:element name="LoginResponse">
    <s:complexType>
      <s:sequence>
        <s:element minOccurs="0" maxOccurs="1" name="LoginResult" type="tns:LOGINRESPONSE" />
      </s:sequence>
    </s:complexType>
  </s:element>

  <s:complexType name="LOGINRESPONSE">
    <s:attribute name="Message" type="s:string" />
    <s:attribute name="Token" type="s:string" />
    <s:attribute name="DataFormat" type="s:string" />
    <s:attribute name="Header" type="s:boolean" use="required" />
    <s:attribute name="Suffix" type="s:boolean" use="required" />
  </s:complexType>
  • 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-15T22:12:42+00:00Added an answer on May 15, 2026 at 10:12 pm

    Names declared in WSDL are indeed case sensitive, and it is legal to use names that differ only in their case. However, it has to be a bad idea:

    • Surely, it is a bad idea from the perspective of readability. (I mean, if you were writing a Java program you wouldn’t declare variables acat and aCat in the same namespace. Would you?)

    • While WSDL is case sensitive, programming language bindings will need to map WSDL names to case insensitive program identifiers (e.g. in Visual Basic I believe), or they may case mangle them so that the generated identifiers conform to the programming language’s style conventions. In either case, WSDL names that differ only in letter case can lead to problems.

    IMO the best long term fix for your problem is to change the WSDL so that you don’t have elements, types, etc whose names differ only by case.

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

Sidebar

Related Questions

I'm trying to generate Java service classes from a WSDL definition I have already
I use JAXB 2.1 to generate Java classes from several XSD files that I
I have wsdl that includes many xsds <wsdl:types> <xsd:schema elementFormDefault=qualified targetNamespace=Name/Space> <xsd:include schemaLocation=role.xsd/> <xsd:include
I have a WSDL which contains 3 schemas inside it's types element. The schemas
I have an WSDL / Web Service and I need to generate an set
I have the following Tags in a WSDL : <xs:element name=promoCodeValues maxOccurs=1 minOccurs=0 >
I have created two wsdl files with shared types imported from xsd schema file.
I have next WSDL file <definitions targetNamespace=http://soft.com/ name=LoggingWebService xmlns=http://schemas.xmlsoap.org/wsdl/ xmlns:tns=http://ws.config.softid.softcomputer.com/ xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/> <types> <xsd:schema>
I have a WSDL document: <definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/ xmlns:tns=http://java.CAEServer xmlns:server=http://caeserver.caebeans.org xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns=http://schemas.xmlsoap.org/wsdl/ targetNamespace=http://java.CAEServer name=CAEInstanceImplService> <types>
I have written a WSDL to generate the Stubs and skeleton but my skeletons

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.