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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:58:45+00:00 2026-05-12T05:58:45+00:00

Spring-WS generates WSDL without operations in binding tag… Do you know why? There is

  • 0

Spring-WS generates WSDL without operations in binding tag… Do you know why?

There is my spring-ws-service.xml:

    <import resource="classpath*:application-context.xml" />

    <!-- Register PayloadRootAnnotationMethodEndpointMapping -->
    <bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping" />

    <!-- Register Endpoint -->
    <bean id="tasktablerServiceEndpoint" class="tasktabler.mpk.service.TasktablerServiceEndpoint" />

    <!-- Configure XML Marshaller -->
    <bean class="org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter">
        <constructor-arg ref="marshaller" />
    </bean>

    <bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
        <property name="classesToBeBound">
            <list>
                <value>tasktabler.mpk.databinding.OptimizeRequest</value>
            </list>
        </property>
    </bean>

    <!-- Add automatic WSDL generation support -->
    <bean id="tasktabler" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
        <property name="schema" ref="schema" />
        <property name="portTypeName" value="tasktabler" />
        <property name="locationUri" value="http://localhost:8080/tasktabler" />
        <property name="targetNamespace" value="http://tasktabler" />
    </bean>

    <bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema">
        <property name="xsd" value="/WEB-INF/schema.xsd" />
    </bean>

And there is wsdl binding part of WSDL:

   <wsdl:binding name="tasktablerSoap11" type="tns:tasktabler">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
   </wsdl:binding>

Thanks in advance,
Etam.

  • 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-12T05:58:46+00:00Added an answer on May 12, 2026 at 5:58 am

    DefaultWsdl11Definition attempts to auto-generate the WSDL by examining the types in your schema. If your schema doesn’t fit its expected patterns, it won’t do a good job of it.

    From the documentation:

    The DefaultWsdl11Definition which
    builds a WSDL from a XSD schema. This
    definition iterates over all element
    elements found in the schema, and
    creates a message for all elements.
    Next, it creates WSDL operation for
    all messages that end with the defined
    request or response suffix. The
    default request suffix is Request; the
    default response suffix is Response,
    though these can be changed by setting
    the requestSuffix and responseSuffix
    properties, respectively. It also
    builds a portType, binding, and
    service based on the operations.

    For instance, if our Orders.xsd schema
    defines the GetOrdersRequest and
    GetOrdersResponse elements, the
    XsdBasedSoap11Wsdl4jDefinitionBuilder
    will create a GetOrdersRequest and
    GetOrdersResponse message, and a
    GetOrders operation, which is put in a
    Orders port type.

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

Sidebar

Related Questions

We use Spring-WS as the basis for implementing a web service (with the WSDL
I have a .NET web-service client that has been autogenerated from a wsdl-file using
we are migrating from WebLogic web-services to Spring-WS (1.5.X). There is currently one issue
I have a REST service which takes JSON and XML as input and does
I`am trying to generate web service client through MyEclipse, using my wsdl. Ive got
I need to write a WSDL file to an existing web service which is
I'm creating a Spring WS client. I have a huge WSDL from a third-party
I am using Spring WS and declaring a DefaultWsdl11Definition bean to generate the WSDL
I need to talk to some web service and thus I imported the WSDL.
In my Spring app, I'd like to use FreeMarker to generate the text of

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.