(401)[ISS.0084.9004] Access Denied

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]

Hi,

I found the solution for above exception, did some silly mistake while setting USER credentials. Now when i am calling web service i am getting following exception

[SIZE=2][COLOR=#000080]org.xml.sax.SAXParseException[/color][/size]: Character conversion error: “Unconvertible UTF-8 character beginning with 0xa9” (line number may be too low).

Can any one tell me why this exception is comming.

Thanks