Here is a sample SOAPUI Project they sent me. It looks like there is a context labeled credentials. Does that confirm that I should use the SOAP Header route or am I way off? Unfortunately, the folks on the other end of this are clueless. I also tried to to follow your suggestion but I get an error on the SetPropertyEx call for "index was outside the bounds of the array". I checked previous posts for that error and I'm pretty sure I'm running the latest version.
*** Load Proxy Class and DependenciesDO BatchFilesServiceProxy*** Create Proxy Instance & specify .NET versionLOCAL loService as BatchFilesServiceProxy loService = CREATEOBJECT("BatchFilesServiceProxy","V2") loBridge = loService.oBridge loBridge.LoadAssembly('c:\BatchFilesServiceProxy.dll') loUser = loBridge.CreateInstance("BatchFilesService.Credentials")*o.SetPropertyEx(loInstance,lcProperty,loValue) loBridge.SetPropertyEx(loService,"Credentials.Username","galileotest") loBridge.SetPropertyEx(loService,"Credentials.Password","Webpass2") loBridge.SetPropertyEx(loService,"Credentials.Submitter","INTERN")*** Call your methods and retrieve result lxResult = loService.RetrieveAvailableFiles(loValue)*** Check for error message if result is failingIF !EMPTY(loService.cErrorMsg)MESSAGEBOX(loService.cErrorMsg,16,'ERROR')ENDIF
- <con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="CreateSubmitBatch TestCase" searchProperties="true"><con:settings /> - <con:testSteptype="request" name="CreateSubmitBatch"><con:settings /> - <con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>BatchFilesBinding</con:interface><con:operation>LocalAccum Send - CreateSubmitBatch</con:operation> - <con:requestname="CreateSubmitBatch"> - <con:settings><con:settingid="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>https://services.relayhealth.com/AtsWebServices/pub/Batch</con:endpoint> - <con:request> - <![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bat="http://batch.v1.atsws.relayhealth.com/"><soapenv:Header/><soapenv:Body><bat:CreateSubmitBatchRequest/></soapenv:Body></soapenv:Envelope>]]></con:request> - <con:credentials><con:username>testuser2</con:username><con:password>Webpass1</con:password></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT" /><con:jmsPropertyConfig /><con:wsaConfigaction="http://batch.v1.atsws.relayhealth.com/BatchFiles/CreateSubmitBatchRequest" mustUnderstand="NONE" version="200508" /><con:wsrmConfigversion="1.2" /></con:request></con:config></con:testStep><con:properties /></con:testCase>