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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:30:30+00:00 2026-05-24T07:30:30+00:00

When I have in web.xml: <param-name>transformWsdlLocations</param-name> <param-value>true</param-value> and <servlet-mapping> <servlet-name>personWS</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> auto-generated WSDL

  • 0

When I have in web.xml:

<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>

and

<servlet-mapping>
    <servlet-name>personWS</servlet-name>
    <url-pattern>/*</url-pattern>
</servlet-mapping>

auto-generated WSDL contains right URL:

<soap:address location="http://localhost:8888/MyWSApp/getPerson/"/>

So when I create new project based on wsdl in SoapUI, EndPoint is set to right url (http://localhost:8888/MyWSApp/getPerson/)

But when I change url-pattern to:

   <url-pattern>/something/*</url-pattern>

auto generated wsdl still contains the same URL like before:

<soap:address location="http://localhost:8888/MyWSApp/getPerson/"/>

but it is wrong, the service is running now on:

   <soap:address location="http://localhost:8888/MyWSApp/service/getPerson/"/>

I have also tried change my portTypeName in servlet definition, but without success:

<bean id="personService" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
    <property name="schema" ref="personServiceSchema"/>
    <!-- <property name="portTypeName" value="getPerson"/> -->
    <property name="portTypeName" value="something/getPerson"/>
    <property name="locationUri" value="/getPerson/"/>
    <property name="targetNamespace" value="http://www.geonis.com/geonis/delivery_site"/>
</bean>

Please, do you have idea how can I fix it?

  • 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-24T07:30:31+00:00Added an answer on May 24, 2026 at 7:30 am

    The transformation only affects the server and port portion of the URL, so for other modifications, like adding to the path, you will have to update your WSDL manually.

    Basically, the URL will only adapt to detected values in the square brackets:

    http[s]://[domain]:[port]/path/in/your/wsdl
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I have: <context-param> <param-name>SomeParam</param-name> <param-value>SomeValue</param-value> </context-param> in my web.xml , is this the
In my web.xml I have: <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> <init-param> <param-name>enable-cache</param-name> <param-value>true</param-value> </init-param>
I have the following in my web.xml: <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:applicationContext-*.xml</param-value> </context-param> I have 2
I've added some parameters in my web.xml config file, as follow: <context-param> <param-name>service1</param-name> <param-value>http://www.example.com/example2.html</param-value>
I have specified my JAX-RS Application in the web.xml as follows: <servlet> <servlet-name>CXFServlet</servlet-name> <servlet-class>
I'm getting this error. my web.xml has this <servlet> <servlet-name>springweb</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <init-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/web-application-config.xml</param-value>
I have a filter that looks like this: <filter> <filter-name>TestFilter</filter-name> <filter-class>org.TestFilter</filter-class> <init-param> <param-name>timeout</param-name> <param-value>30</param-value>
Most tutorials propose a default JSF configuration similar to the following web.xml: <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
I have the following xml block (a standard jboss web.xml file) : <web-app> <servlet>
We have the usual web.xml for our web application which includes some jsp and

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.