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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T00:39:52+00:00 2026-05-17T00:39:52+00:00

I was trying to use the Axis2 wsdl2java command wsdl2java -uri somefile.wsdl -o src

  • 0

I was trying to use the Axis2 wsdl2java command

wsdl2java -uri somefile.wsdl -o src -ss

to generate classes from wsdl/xsd files and running into this problem.

say, there’s a complex type defined as follows:

<xs:complexType name="MyType">
  <xs:complexContent>
    <xs:extension base="ctype:IdentifierType">
      <xs:attribute name="id" type="xs:anyURI" use="required"/>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

where anyType is defined as

<xs:complexType name="IdentifierType">
  <xs:simpleContent>
    <xs:extension base="xs:string">
      <xs:attribute name="scheme" type="xs:anyURI" use="required"/>
    </xs:extension>
  </xs:simpleContent>
</xs:complexType>

The generated Java class has a getter and setter for the named attribute “id” of MyType, successfully. But there was neither local field member nor getter and setter to handle the “scheme” of IdentifierType.

Is there anything I am missing?
Thanks in advance.

  • 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-17T00:39:52+00:00Added an answer on May 17, 2026 at 12:39 am

    It seems that ADB binding does not support complex type, I’ve changed to xmlbeans, and it worked well, though the implemention are more trivial.

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

Sidebar

Related Questions

I'm trying to use java2wsdl to generate a document literal wsdl for JiraSoapServiceImpl .
I am trying to use the axis-java2wsdl ant task to create a wsdl from
We're trying to use Axis2 to call a web service that cannot use HTTP/1.1
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
We've got a problem when trying to generate and use a really large proxy
I'm trying to generate a Java Client with the axis using wsdl2java (wrapped by
I have to consume data from axis2 webservice. I added it's URI to Service
I am trying to import certain classes like javax.namespace.QName and org.apache.axis2.* but I am
I'm trying to use maven2 to build an axis2 project. My project is configured
I'm trying to use Axis2 to connect to a SOAP webservice. This was previously

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.