org.springframework.ws.soap.client.SoapFaultClientException: Unmarshalling Error: unexpected element (uri:"http://xxxxxxxxx", local:"customer"). Expected elements are <{}customer>


Solutions on the web10

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
Server did not recognize the value of HTTP Header SOAPAction: .

Solution icon of web
Server error!

Solution icon of web
Validation error

Solution icon of stackoverflow
Internal Server Error

Solution icon of stackoverflow
1929|Application|This is an error message.

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, 2 months ago
6 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
17 more bugmates