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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:53:41+00:00 2026-05-24T16:53:41+00:00

The Java 6 JAX-WS wsimport utility does a great job of generating a web

  • 0

The Java 6 JAX-WS “wsimport” utility does a great job of generating a web service skeleton (interface) given a WSDL file but with one personally annoying exception.

When given a WSDL that uses the SOAP Document/literal wrapped style (also described here) it generates a service interface with a “bare” SOAP binding parameter style (with multiple arguments and return values expanded as “holder” objects in the method signatures) instead of the simple wrapped parameter and return value specified by the WSDL. Other tools, such as Axis2 wsdl2java simply use the wrapper elements as the input parameter and return value instead of automatically “unwrapping” them.

Is it possible to tell “wsimport” to keep the SOAP binding parameters as “wrapped” instead of “bare”?

  • 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-24T16:53:42+00:00Added an answer on May 24, 2026 at 4:53 pm

    AFAIK, you’d need to specify a custom binding file to disable the wrapper style:

    <bindings
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        wsdlLocation="OperationService.wsdl"
        xmlns="http://java.sun.com/xml/ns/jaxws">
            <!-- Disable default wrapper style -->
            <enableWrapperStyle>false</enableWrapperStyle>
    </bindings>
    

    and then invoke wsimport

    $ wsimport -b binding.xml OperationService.wsdl
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JAX-RPC (Java) web service that needs to return a complex polymorphic
I have a JAX-B java web service which I'm using to update a database.
I'm trying to develop a standalone Java web service client with JAX-WS (Metro) that
I'm calling a web service from a jax-ws java client, when i recieve a
In java i have created a JAX- web service, which is up and running,
I've got a Java web service in JAX-WS that returns an OutputStream from another
When debugging some web-service client code today (in Java, with jax-ws) I ran across
I've written a JAX-WS webservice in Java by generating a WSDL and classes from
I'm just getting acquainted with implementing REST web services in Java using JAX-RS and
For a new project, we want to build a web service in Java using

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.