This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We have CICS programs that are being exposed to WEB through CICS Web Serices. I am trying to write a client program that access the CICS program. I got the wsdl generated for input and ouput mapping for all CICS programs. I exported the wsdl file to Eclipse and Generated the Client Classes. The Appserver is Tomcat7.0 and Web Server is Apache Axis CXF 2.x. The SOAP address is authenticated using user id and password. When i paste the SOAP address IE browser it is asking the user id and password. After keying the userid and password i am able to access the same. But when i run the client program it is giving me 401 authentication error.
When i googled about it, i could realize that i need to supply security header in wsdl and generate client classes (or) need to handle this in the main program. Could anyone help me out on how to make the changes so that i can invoke the CICS program.
Note : When i changed the authentication type to No Authentication in CICS resource definition, i was able to invoke the CICS program.