Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Spring Webservice - SOAP validation error

  1. #1
    Junior Member
    Join Date
    Jan 2022
    Thanked 0 Times in 0 Posts

    Default Spring Webservice - SOAP validation error


    We have spring webservice (spring-ws) project hosted on weblogic server. Recently weblogic server was upgraded from 12.1.1 to 12.1.3 and from then our application is failing while validating SOAP request with below error.

    <org.springframework.ws.soap.server.endpoint.inter ceptor.PayloadValidatingInterceptor> <BEA-000000> <XML validation error on request: cvc-complex-type.3.2.2: Attribute 'xyz' is not allowed to appear in element 'sampleRequest'.>

    I would be very grateful, if someone can help me out.

    With regards,

  2. #2
    Junior Member
    Join Date
    Dec 2021
    Thanked 1 Time in 1 Post

    Default Re: Spring Webservice - SOAP validation error

    This usually means that the soap xml 'sampleRequest' payload expected has been adjusted slightly. So an existing tag or sub tag/field maybe have changed the type of data it stores or they may have even removed it. I would start there with your investigation since you have not posted enough for us to go on. I would also look at what is running on your server in term of dependencies after your upgrade.

Similar Threads

  1. Replies: 1
    Last Post: September 2nd, 2014, 08:14 AM
  2. Spring Validation - is it possible to put parameter in messages?
    By williamshen25 in forum Web Frameworks
    Replies: 0
    Last Post: March 7th, 2013, 09:17 PM
  3. Replies: 0
    Last Post: September 21st, 2012, 11:11 AM
  4. Spring Form Validation - Enforcing Duplicate Entry
    By jbolat in forum Web Frameworks
    Replies: 0
    Last Post: May 12th, 2012, 06:23 PM
  5. Axis2 WebService Using Spring
    By sjunejo in forum Web Frameworks
    Replies: 0
    Last Post: July 21st, 2011, 09:01 AM

Tags for this Thread