The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

IIncident2Service webapi problem

Highlighted
Istvan Czakler
Acclaimed Contributor

IIncident2Service webapi problem

Hi,

I'm using SD 5.10.112 webapi, and i can't create a new incident with attached services.

IIncident2ServiceRelationType name is:
"Eredetileg ?szlelt kies?s"

The server log:
Sep 29, 2008 2:11:00 PM;3525;20;com.hp.ov.obs;WARNING;The type of this ID (00000000-0000-0000-0000-000000000001) cannot be changed from 00000000-0000-0000-0001-000183b20007 to 00000000-0000-0000-0000-0000000000c9
Sep 29, 2008 2:11:08 PM;3530;17;com.hp.ov.obs.impl.apiserver.ApiServerEntity;insert;com.hp.ov.obs;SEVERE;Error while performing webapi request: {0}
com.hp.ov.obs.ApplicationException: At most one Eredetileg ?szlelt kies?s is allowed.
at com.hp.ov.obs.impl.wf.AppEntity.checkUniqueValue(AppEntity.java:5916)
at com.hp.ov.sd.impl.servicedesk.cl.Incident2Service_xSD.validate(Incident2Service_xSD.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.hp.ov.obs.impl.wf.AppEntity.executeHook(AppEntity.java:6533)
at com.hp.ov.obs.impl.wf.AppEntity.executeHook(AppEntity.java:6494)
at com.hp.ov.obs.impl.wf.AppEntity.validate(AppEntity.java:6649)
at com.hp.ov.obs.impl.wf.AppEntity.saveEditValidation(AppEntity.java:3715)
at com.hp.ov.obs.impl.wf.AppEntity.saveEdit(AppEntity.java:3371)
at com.hp.ov.obs.impl.wf.AppEntity.saveStructure(AppEntity.java:3326)
at com.hp.ov.obs.impl.wf.AppTransactionEx.composeTransaction(AppTransactionEx.java:167)
at com.hp.ov.obs.impl.wf.AppTransactionEx.(AppTransactionEx.java:82)
at com.hp.ov.obs.impl.wf.AppEntity.commit(AppEntity.java:3291)
at com.hp.ov.obs.impl.apiserver.ApiServerEntity.insert(ApiServerEntity.java:622)
at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.hp.ov.obs.impl.net.itp.AppItpRequest.localInvoke(AppItpRequest.java:276)
at com.hp.ov.obs.impl.net.itp.AppItpRequestHandler.process(AppItpRequestHandler.java:184)
at com.hp.ov.obs.impl.net.tcp.AppTcpConnection.processRequest(AppTcpConnection.java:683)
at com.hp.ov.obs.impl.net.tcp.AppTcpThread.run(AppTcpThread.java:155)
Sep 29, 2008 2:11:27 PM;3533;19;com.hp.ov.obs;INFO;Removing 1 session(s), because the JVM that runs them has stopped or all ITP connections from it are closed.
Sep 29, 2008 2:11:27 PM;3534;19;com.hp.ov.obs.security;INFO;User Logoff:

Is it a webapi bug?

I attached an example.

The name of the properties (relation type, service, impact,...) are correct.

Thanks in advance.
//Add this to "OnDomLoad" event