To import the WSDL, in the IDE, from the mainframe and create the "Service" object, I add a Web Reference with the URI (http://mvsbsys1/cics31/.../wsdl/bwsi.wsdl
) in Visual Web Dev. I'm prompted for the RACF Userid and password on the mainframe. After I enter those values, the WSDL is imported to the IDE. Likewise, if I go to IE and enter the WSDL URI, I'm prompted for the RACF Userid and Password. In either case, I can view the WSDL that is located on the mainframe.
When I code to actually use the Service object, I do the following to authenticate:
bwpkService.Credentials = new NetworkCredential(tbRACFUserid.Text, tbRACFPassword.Text);
where tbRACFUserid and tbRACFPassword are the text boxes that contain the Userid and Password. The IDE has created the SOAP messages that I can then use.