Hi,
I am trying to consume a service for which the WSDL is provided using Axis2. When I try to invoke any of the services it gives
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: You do not have the appropriate permissions to call this function.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:You do not have the appropriate permissions to call this function.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
I am not sure why I am getting this error. There is a sample PHP file which does the same and running the PHP script creates no problems. The authenticate() service works well though. Thats the only one that works actually, rest all of them triggers this error.
Any idea why is it showing that error? Does it mean these services need some kind of signature when being invoked. I do not see that in the PHP file though.
SAMPLE working PHP code
$client->authenticate($uid,$pwd)
$client->generateResult()
When I do the same in
Java I get error for the second step.
Thanks
P