org.springframework.ws.soap.client.SoapFaultClientException

Unmarshalling Error: unexpected element (uri:"http://xxxxxxxxx", local:"customer"). Expected elements are <{}customer>


Solutions on the web12

Solution icon of stackoverflow
Unmarshalling Error: unexpected element (uri:"http://xxxxxxxxx", local:"customer"). Expected elements are <{}customer>

Solution icon of web
Unmarshalling Error: unexpected element (uri:"http://data.service.icredit.be/", local:"customer"). Expected elements are <{}customer>

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
JAXB unmarshalling exception: unexpected element (uri:"http://localhost:8080/OrderService/schema", local:"cancelOrderRequest"). Expected elements are <{http://www.liverestaurant.com/OrderService/schema}cancelOrderRequest>,<{http

Solution icon of stackoverflow
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

Solution icon of web
JAXB unmarshalling exception: Unable to create an instance of org.springframework.ws.samples.stockquote.schema.StockQuoteRequest; nested exception is javax.xml.bind.UnmarshalException: Unable to create an instance of org.springframework.ws.samples.stockquote.schema.StockQuoteRequest - with linked exception: [java.lang.reflect.InvocationTargetException]

Solution icon of web
[ISS.0088.9168] SOAP Version Mismatch: SOAP Version "SOAP 1.2 Protocol" in request does not match the SOAP version "SOAP 1.1 Protocol" of the Web service. [Server:server-one] 07:29:12,928 ERROR [stderr] (http-/10.99.12.28:8080-13) at org.springframework.ws.soap.client.core.SoapFaultMessageResolver.resolveFault(SoapFaultMessageResolver.java:37)

Solution icon of web
Server did not recognize the value of HTTP Header SOAPAction: .

Solution icon of web
Validation error

Solution icon of web
Server error!

Solution icon of stackoverflow
Internal Server Error

Stack trace

  • org.springframework.ws.soap.client.SoapFaultClientException: Unmarshalling Error: unexpected element (uri:"http://xxxxxxxxx", local:"customer"). Expected elements are <{}customer> at org.springframework.ws.soap.client.core.SoapFaultMessageResolver.resolveFault(SoapFaultMessageResolver.java:38) at org.springframework.ws.client.core.WebServiceTemplate.handleFault(WebServiceTemplate.java:826) at org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:621) at org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:555) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:390) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:383) at org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:373) at einvoice.service.CustomerService.createCustomer(CustomerService.java:40) at einvoice.controller.facturatie.FacturatieOverzichtController.handleRenderRequest(FacturatieOverzichtController.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
6 times, 4 weeks ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
6 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
17 more bugmates