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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:59:28+00:00 2026-05-24T13:59:28+00:00

Can any one please let me know what is the method to generate WSDL

  • 0

Can any one please let me know what is the method to generate WSDL in Apache CXF Server using original WSDL.

I know Axis 2 has a configuration in Service.xml to set useOriginalWSDL to TRUE and I get the original wsdl.

I want to know the setting in CXF.

  • 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-24T13:59:29+00:00Added an answer on May 24, 2026 at 1:59 pm

    For using the original WSDL to generate WSDL in CXF Server we can use the attribute wsdlLocation in the element jaxws:endpoint

    The attribute ,Specifies the location of the endpoint’s WSDL contract. The WSDL contract’s location is relative to the folder from which the service is deployed.

    OR
    in CXF we can use @WebService annotation we can specify the WSDL location Please refer the documentation
    about @WebService

    I myself found the answer, I think this is a simple question, but felt that this answer can be in stackoverflow

    EDIT:

    Eventhough I added wsdlLocation , the service could not be created by CXF framework. Errors in apache tomcat are not that helpful, except stating that Service could not be created.
    For proper working jaxws:endpoint should have following attributes:

    1. wsdlLocation – relative path from the project folder e.g /WEB-INF/originalwsdl.wsdl
    2. serviceName – service name in the WSDL, with namespace specified in wsdl e.g e:ServiceName
    3. endpointName – this is the port binding name, same rules as serviceName e.g e1:endpointName

    Remember to define the namespaces for e: and e1 by xmlns:e="namespace as in your wsdl"

    After all this setting my application worked.
    The classes we create from wsdl should have the same package name as target name space, for creating exactly same WSDL using original WSDL. Please someone confirm this finding.

    I found that there is very little documentation for CXF, and had to
    dig in the code and xsds for my solutions

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

Sidebar

Related Questions

Can anyone please let me know how to deterimine the number of address lines
can any one please tell me how to make the some items in multichoice
Can any one please tell me the difference between target and currenttarget in flex?
can any one please tell me how to get the Google places api key
Can any one please help me solve this. I am resizing some flash object/embed
I want to create a box like this with title: Can any one please
can anyone please suggest a good code example of vb.net/c# code to put the
Can anyone please tell me if Certifying Authorities (CAs) are allowed to make modifications
Can anyone please tell what is change request management tool and what is involved
Can anyone please tell me why compiling a C# application with a .cs file

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.