The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
The community will be in read-only from Monday 11:59pm (PT) to Wednesday 7:30am (PT)
Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to implement Web Services - Error Message when running Compile_client.bat file

Highlighted
mcoll4567
Acclaimed Contributor

Trying to implement Web Services - Error Message when running Compile_client.bat file

I am trying to implement Web Services in PPM 8.1 for the first time.

 

I am using the developer toolkit for java and also some older documentation from an HP PPM Web Services hands-on lab.

 

I have attempted to set-up TCPMon to monitor SOAP messages and created a generic class to create a web service client. It seems to be compiling as it should so far, but I am now getting this error message when I try to run the compile_client.bat file:

---------------------------------------------------------------------------------

Starting Demand Service tests...
Jul 8, 2011 1:48:36 PM org.apache.axis2.deployment.DeploymentEngine prepareRepository
INFO: no services directory found under C:\ppm.ws
Jul 8, 2011 1:48:36 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : addressing-1.1
Jul 8, 2011 1:48:37 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
INFO: Deploying module : rampart-1.1

 

Exception in thread "main" org.apache.axis2.AxisFault: WSHandler: Encryption: error during message processingorg.apache.ws.security.WSSecurityException: An unsu
pported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5); nested exception is:

 

        org.apache.ws.security.WSSecurityException: WSHandler: Encryption: error during message processingorg.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5)at org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.java:92)


        at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:74)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:382)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:655)
        at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)
        at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
        at com.mercury.itg.ws.dm.client.DemandServiceStub.createRequest(DemandServiceStub.java:902)
        at examples.dm.DemandServiceClient.createRequest(DemandServiceClient.java:157)
        at examples.dm.DemandServiceClient.main(DemandServiceClient.java:72)

 

Caused by: org.apache.ws.security.WSSecurityException: WSHandler: Encryption: error during message processing org.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5)

 

        at org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.java:64)
        at org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:192)
        at org.apache.rampart.handler.WSDoAllSender.processBasic(WSDoAllSender.java:254)
        at org.apache.rampart.handler.WSDoAllSender.processMessage(WSDoAllSender.java:86)
        ... 9 more

 

 

Any pointers would be greatly appreciated!

4 REPLIES
mcoll4567
Acclaimed Contributor

Re: Trying to implement Web Services - Error Message when running Compile_client.bat file

Solved!

ieroglif
Super Collector

Re: Trying to implement Web Services - Error Message when running Compile_client.bat file

Same problem here. How did you solved it..?

Best Regards,
Ieroglif.
ieroglif
Super Collector

Re: Trying to implement Web Services - Error Message when running Compile_client.bat file

Solved!

Best Regards,
Ieroglif.
GordonKwan
Occasional Contributor

Re: Trying to implement Web Services - Error Message when running Compile_client.bat file

I have the same problem, please help!

//Add this to "OnDomLoad" event