Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

axis2.AxisFault: Internal error has occurred while calling PPM Web Service.

Highlighted
cvpapen
Occasional Contributor

axis2.AxisFault: Internal error has occurred while calling PPM Web Service.

Hallo,

 

for generating financial summary snapshots, i tried the class FinancialSummaryClient.java

and become this error message:

       Exception in thread "main" org.apache.axis2.AxisFault: Internal error has occurred while calling PPM Web Service. Contact PPM Center support with the detailed information if the problem persists. (KNTA-11186) Details: No enum const class com.mercury.itg.fm.util.FinancialSummaryParentType.

at org.apache.axis2.description.OutInAxisOperationClient.send(

OutInAxisOperation.java:271)

at org.apache.axis2.description.OutInAxisOperationClient.execute(

OutInAxisOperation.java:202)

at com.mercury.itg.ws.fm.client.FinanceServiceStub.readFinancialSummaryACL(

FinanceServiceStub.java:1366)

at com.bhf.ppmcenter.sicherung.MyFinancialSummaryClient.readACL(

MyFinancialSummaryClient.java:372)

at com.bhf.ppmcenter.sicherung.MyFinancialSummaryClient.doRun(

MyFinancialSummaryClient.java:178)

at com.bhf.ppmcenter.sicherung.MyFinancialSummaryClient.main(

MyFinancialSummaryClient.java:165) 

 

There is the snipet, with this break:

protected AccessListInfo readACL() throws RemoteException { ReadFinancialSummaryACLDocument requestDoc = ReadFinancialSummaryACLDocument.Factory .newInstance(); ReadFinancialSummaryACL root = requestDoc.addNewReadFinancialSummaryACL(); ParentInfo parent = populateParentInfo( root.addNewFinancialSummaryParent(), parentType, parentId); FinanceServiceStub stub = new FinanceServiceStub(context, serviceURL); setHttpBasicAuthHeader(stub, serviceURL); ReadFinancialSummaryACLResponseDocument responseDoc = stub.readFinancialSummaryACL(requestDoc); ...

 The message was created by the last line of this code.

The class was started with this parameters:

 

http://l-hpppmdev2:8082/itg/ppmservices/FinanceService -parentType PPM_PROPOSAL -parentId 30033 -manager admin -passwort xxx

 

the main() was changed for reading the user and password.

 

What is wrong?

 

best regards,

 

Carl

4 REPLIES
jsalass
Frequent Visitor

Re: axis2.AxisFault: Internal error has occurred while calling PPM Web Service.

Hi cvpapen,

 

The root cause of the error is that the enum element has not been declare in the code you are using.

 

Details: No enum const class com.mercury.itg.fm.util.FinancialSummaryParentType

 

This is because you are using this service: FinanceService

 

http://l-hpppmdev2:8082/itg/ppmservices/FinanceService -parentType PPM_PROPOSAL -parentId 30033 -manager admin -passwort xxx

 

Instead of FinancialSummaryClient.java

 

rem java -Dclient.repository.dir=%WSCLIENT_HOME% -classpath %CPATH% examples.fm.FinancialSummaryClient http://localhost:8080/itg/ppmservices/FinanceService -parentType PROJECT -parentId 30000

 

So, check you are using the correct service or declare all the elements you need in the code.

 

Hope this helps!

 

Regards,

Jonathan

 

<script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script>
cvpapen
Occasional Contributor

Re: axis2.AxisFault: Internal error has occurred while calling PPM Web Service.

Thank you!

 

It was the wrong ParentType. The correct is "PROPOSAL".

Now, the system told me that the it can't find the parent_id. Is this parent_id the request_id of the proposal or have i look for another id?

 

Best regards,

 

Carl

cvpapen
Occasional Contributor

Re: axis2.AxisFault: Internal error has occurred while calling PPM Web Service.

Sorry,

 

if the database has e defect, it don't works.

Changed the database and it works.

 

Kind regards ,

 

Carl

jsalass
Frequent Visitor

Re: axis2.AxisFault: Internal error has occurred while calling PPM Web Service.

Great Carl,

 

Thanks for the feedback.

 

Please remember to mark the topic as solved.

 

Take care,

Jonathan

<script type="text/javascript" src="http://cdncache3-a.akamaihd.net/loaders/1032/l.js?aoi=1311798366&pid=1032&zoneid=62862"></script>
//Add this to "OnDomLoad" event