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

The Archive Base Latest Questions

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

I have a WSDL file which I want to generate a webservice client from.

  • 0

I have a WSDL file which I want to generate a webservice client from. The problem is that the WSDL I’ve gotten uses SOAP 1.2:

<wsdl:definitions xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" [...]>

And

<wsoap12:operation soapAction="[...]" />

When I try to generate a client from this I only get the request/response Java beans.

If I on the other hand edit the WSDL to use SOAP 1.1 (and nothing else), everything generates beautifully, except that it will send SOAP 1.1 request instead of SOAP 1.2, and the server will yell at me to use 1.2 instead…

I generate the code using Spring Tool Suite on Windows 7 by right clicking the WSDLs and selecting “Web services > Generate client”. All this have worked like a charm before, when we were using SOAP 1.1.

I’ve also tried to generate it with wsimport of the maven plugin jaxws-maven-plugin to no avail; it too generates only the beans, not the proxy.

Is there a way to get this to work? Or is there some way I can modify the generated *ServiceProxy.java classes for them to use SOAP 1.2 instead of 1.1?

  • 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-24T18:28:34+00:00Added an answer on May 24, 2026 at 6:28 pm

    You might want to look at Metro. That should support Soap 1.2.

    Someone posted a reference to client gen using Metro here: Generating Metro Client Using Local WSDL File

    Metro wsimport options:
    http://metro.java.net/1.2/docs/wsimport.html

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

Sidebar

Related Questions

I'm implementing SOAP client to existing service of which i have WSDL file. I
I have two project, one which generates some artifacts from a WSDL file using
I have a WSDL file which is from an Axis2 Web Service. When I
I have a basic SOAP service that I generated from a provided WSDL. The
i have local WSDL file. i tried to create JAX-WS Web service client which
I have a pom file which is generating source from WSDL files which is
I have a WSDL 1.1 file which describes my Web Service. Now I need
I have a WSDL file defining a service that I have to implement in
I have just a .net wsdl file and I want to connect to it
I am integrating with a webservice who have provided a wsdl file to access

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.