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

Creating financial data on REQUEST error through webservice

Highlighted
ashu_21
Super Collector

Creating financial data on REQUEST error through webservice

Hi All,

I am getting below mentioned error.Can anybody help me out ?

 

<< Creating financial data on REQUEST #33450 >>

log4j:WARN No appenders could be found for logger (org.apache.axiom.om.util.StAXUtils).

log4j:WARN Please initialize the log4j system properly.

Exception in thread "main" org.apache.axis2.AxisFault: WSDoAllReceiver: Incoming message does not contain required Security header

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.createFinancialData(

FinanceServiceStub.java:501)

at examples.fm.FinancialDataClient_test.createFinancialData(

FinancialDataClient_test.java:224)

at examples.fm.FinancialDataClient_test.doRun(

FinancialDataClient_test.java:148)

at examples.fm.FinancialDataClient_test.main(

FinancialDataClient_test.java:136)

5 REPLIES
Utkarsh_Mishra
Honored Contributor

Re: Creating financial data on REQUEST error through webservice

Hi,

 

It seems that you have not configured the web service security.... You need to follow the steps mentioned in the attached document.

 

 

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
ashu_21
Super Collector

Re: Creating financial data on REQUEST error through webservice

Many Thanks Utkarsh,

That issue got resolved.But Now i am facing other error.see below.Service not found

 

<< Creating financial data on REQUEST #33450 >>

log4j:WARN No appenders could be found for logger (org.apache.axiom.om.util.StAXUtils).

log4j:WARN Please initialize the log4j system properly.

Exception in thread "main" org.apache.axis2.AxisFault: Service not found operation terminated !!

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.createFinancialData(

FinanceServiceStub.java:501)

at examples.fm.FinancialDataClient_test.createFinancialData(

FinancialDataClient_test.java:230)

at examples.fm.FinancialDataClient_test.doRun(

FinancialDataClient_test.java:153)

at examples.fm.FinancialDataClient_test.main(

FinancialDataClient_test.java:141)

Utkarsh_Mishra
Honored Contributor

Re: Creating financial data on REQUEST error through webservice

Can you check wheter any other Web service client is working... (check for Demand Managemt.. it will be quicker)

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
ashu_21
Super Collector

Re: Creating financial data on REQUEST error through webservice

Yup DM is working i created a request..I am able to open FM wsdl file....but this error i got

ashu_21
Super Collector

Re: Creating financial data on REQUEST error through webservice

do you have gmail id we can discuss there if you dont mind

//Add this to "OnDomLoad" event