Hi,
I have created a java client from WSDL of flow service created using IS 6.1. Now i am settin SOAP header so that IS will authenticate user and then will allow to execute web service. But when i tried this i am getting
[SIZE=2]B[ISS.0084.9004] Access Denied[/b] excepion. I have set my Flow service Execute ACL property to Anonymous.
See this Java code where i am setting SOAP header to populate user credentials.
BSFNFlowServicesBindingStub ws=
(BSFNFlowServicesBindingStub) bsfnLocator.getBSFNFlowServicesPort0();
SOAPHeaderElement xyz=new SOAPHeaderElement(“http://test”,
“Authorrization”);
xyz.setPrefix(“Basic”);
xyz.setMustUnderstand(false);
SOAPElement oElement =xyz.addChildElement(“UserName”);
oElement.addTextNode(“Administrator”);
oElement = xyz.addChildElement(“Password”);
oElement.addTextNode(“secret”);
ws.setHeader(xyz);
String result= ws.getPhoneService(“751”);
System.out.println(“WS Called”);
System.out.println(“Result=”+result);
Thanks
[/size]