Bonjour,

J'ai un souci lors de l'appel à un webservice deployé en mock sur SOAPUI.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
Caused by: javax.xml.bind.UnmarshalException: ?
 - with linked exception:
[java.lang.IllegalArgumentException: ?]
	... 108 more
Caused by: java.lang.IllegalArgumentException: ?
	at org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl$Parser.parseBigInteger(Unknown Source)
	at org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl$Parser.parse(Unknown Source)
	at org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl.<init>(Unknown Source)
	at org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalendar(Unknown Source)
	at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$13.parse(RuntimeBuiltinLeafInfoImpl.java:546)
	... 104 more
16:54:03,968  WARN http-9000-Processor18 [2bd33701-04a2-4e1d-b9b4-dbb0b8128271] com.orangecaraibe.vas.manageidentity.activedir.services.impl.ManageIdentityServiceImpl.identify(ManageIdentityServiceImpl.java:60) - Error while getting identity for user sbio0001
javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: ? 
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
	at $Proxy84.checkUser(Unknown Source)
	at com.orangecaraibe.vas.manageidentity.activedir.dao.impl.IdentityDaoImpl.getIdentity(IdentityDaoImpl.java:27)
	at com.orangecaraibe.vas.manageidentity.activedir.services.impl.ManageIdentityServiceImpl.identify(ManageIdentityServiceImpl.java:51)
	at com.orangecaraibe.vas.manageidentity.provider.ManageIdentityProvider.identify(ManageIdentityProvider.java:16)
Je fais un simple appel à la methode du service checkUser(), la ligne 27 de IdentityDaoImpl pointe sur:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
 
		serviceManageIdentity.checkUser(login, password, user, response); //La ligne 27 dans les logs
		Identity identity = new Identity();
		identity.setFirstName(user.value.getPersonName().get(0).getFirstName());
		identity.setLastName(user.value.getPersonName().get(0).getLastName());
		for (PartyRole pr : user.value.getPartyRole()) {
			identity.addGroup(pr.getPartyRoleID());
		}
Que ce que je fais de pas correct.

Merci