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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:39:38+00:00 2026-06-01T02:39:38+00:00

In my project I created a webservice client with Spring Web Services (2.0.4.RELEASE). The

  • 0

In my project I created a webservice client with Spring Web Services (2.0.4.RELEASE).

The webServiceTemplate is defined in my spring config:

<bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<bean id="wsClient" class="org.springframework.ws.client.core.WebServiceTemplate">
    <property name="marshaller" ref="marshaller" />
    <property name="unmarshaller" ref="marshaller" />
</bean>

When I call the service (wsClient.marshalSendAndReceive(...)) and it returns a SOAP fault the webservice client doesn’t recognize it.
It tries to marshall it and a ValidationException is thrown.

I looked at the Spring Web Service source code. In the WebServiceTemplate class exists a method protected boolean hasFault(WebServiceConnection connection, WebServiceMessage response). But this method always returns false.

I already checked this question: Java Spring Web Service Client Fault Handling

The service sends the response with HTTP status code 500. So that is not the problem.

Does anybody have an idea how to solve this problem?

Thank you!

EDIT: The application runs on a Weblogic 10.3.5

  • 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-06-01T02:39:40+00:00Added an answer on June 1, 2026 at 2:39 am

    The problem was not Spring Web Services. It was our webservice returning an invalid response. :-/

    What I learned from this problem:

    • soapUI has a great HTTP Monitor for recording SOAP traffic: http://www.soapui.org/SOAP-Recording/recording-soap-trafic.html
    • Always check first if your requests and responses are valid according to your schema. (This can be done with one click in the soapUI HTTP Monitor)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If a VS2008 project is created initially with a web app project, and class
In Visual Studio 2010 I have created a WebService (WCF) Application and a client
In my project I have created a web application which has a web service.
I have easily created a JSF project with NetBeans that delivers a web service
I have the following project structure: base project (service layer, model) web project webservice
I am trying to deploy my class project as web service on glassfish. I
I created client from wsdl file using visual studio 2010 Pro, created new project,
I created a new solution with 3 projects: My Client is a ASP.Net Web
Background : I have created a web service client VoucherWebService (consumed from an external
I have a setup project created by Visual Studio 2005, and consists of both

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.