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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:42:21+00:00 2026-05-16T12:42:21+00:00

Hi I created my first web service. It work fine but now I need

  • 0

Hi I created my first web service. It work fine but now I need to solve some special situation. First situation is mention here Spring Web Services – Exception Skipping ExceptionResolver but there isnt solution which can help me.

Second situation is the client send me correct SOAP message but make mistake in namespace for example send me:
xmlns:urn="urn:org:samples:spring:ws:schemas:calculatorblabla"
but the correct namespace is xmlns:urn=”urn1:org:samples:spring:ws:schemas:calculator”. So when client send me message with wrong namespace he doesnt receive message where he makes mistake just these:

<html><head><title>SpringSource tc Server/6.0.20.C - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource () is not available.</u></p><HR size="1" noshade="noshade"><h3>SpringSource tc Server/6.0.20.C</h3></body></html>

I tested these situation with SoapUI

server receive message but didnt send any response because he didn find correct endpoint [2010-08-26 14:38:19] Accepting incoming [org.springframework.ws.transport.http.HttpServletConnection@1700f3d] at [http://localhost:8080/calculator]
[2010-08-26 14:38:19] Received request [SaajSoapMessage {urn:org:samples:spring:ws:schemas:calculatorblabla}calculatorRequest]
[2010-08-26 14:38:19] Looking up endpoint for [{urn:org:samples:spring:ws:schemas:calculatorblabla}calculatorRequest]
[2010-08-26 14:38:19] Endpoint mapping [org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping@ae2481] has no mapping for request
[2010-08-26 14:38:19] No endpoint mapping found for [SaajSoapMessage {urn:org:samples:spring:ws:schemas:calculatorblabla}calculatorRequest]
[2010-08-26 14:38:19] Successfully completed request

so I need when client send me message with wrong namespace it writes some fault message similar when he send xml which isnt validate with xsd.
Thank for any help and sorry for mistake my english is quite bad

  • 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-16T12:42:22+00:00Added an answer on May 16, 2026 at 12:42 pm

    by default Spring-WS 1.5.x uses org.springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter which uses org.springframework.ws.transport.http.HttpServletConnection to send WebServiceMessages. HttpServletConnection is an EndpointAwareWebServiceConnection which defines a way to handle cases when no endpoint is found. The default implementation sets the servlet response code to 404.

    If you need to do something else, you would need to get your hands into the guts of Spring-WS as the WebServiceConnection is not configurable in the WebServiceMessageReceiverHandlerAdapter. I’m not aware of another HandlerAdapter that allows you to configure the WebServiceConnection so you may have to write one.

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

Sidebar

Related Questions

I am needing to create a web service, so the first thing I did
I created my first WCF service and tested it on my computer, and it
I just created my first MVC2 project using the standard template. I need to
I recently created my first android live wallpaper and it would not work on
I'm designing a RESTful web service utilizing ROA(Resource oriented architecture). I'm trying to work
I work a lot with 3rd party web services. The first thing I look
i have 2 web services, both work just fine when i test them with
I have just created my first rest service using apicontroller. I am using it
I created my first WCF RESTful service with just one GetData, and it works
I am trying to create a contract-first Web Service using Apache Axis2 1.4.1. Since

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.