Hi,

I have not good explanation of this effect.

Could you set a breakpoint on marshalling interceptor and debug that?

Regards,
Andrei.

> -----Original Message-----
> From: slhrkc [mailto:[email protected]]
> Sent: Mittwoch, 24. Januar 2018 07:55
> To: [email protected]
> Subject: Weird Unmarshalling Error Incident
> 
> Hi,
> I use cxf to consume a ws. When i first start the application it throws the 
> below
> exception and this exception is true because the service is sending a
> BillingAddress field which is not in the xsd.
> 
> org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element
> (uri:"", local:"BillingAddress"). Expected elements are
> <{}Status>,<{}IsDefault>,<{}Email>,<{}FirstName>,<{}RoleList>,<{}Title>,<{}Gend
> er>,<{}MobilePhone>,<{}Nationality>,<{}CompanyName>,<{}Department>,<{}Cu
> stomerNumber>,<{}MotherName>,<{}CreationResource>,<{}CitizenNumber>,<{
> }AutoId>,<{}LastName>,<{}FatherName>,<{}BirthDate>
> 
> But after some time (like 15-20 requests) it stops giving the exception and 
> just
> ignores the BillingAddress field that comes from the service.
> 
> I am surprised to see this result. What might be happening here?
> 
> 
> 
> --
> Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to