Calling soap with C# script in a SSIS Script Task -
Good that there is a mouth for a title, let me start by saying that I am not a programming but rather a DBA . I can write some MSSQL queries with the best of them, but my knowledge of C # is quite limited. I have a piece of software that I need to communicate with web services to do everything in the constraints of SQL Server Integration Services. I can read directly from DB but I can not write it. I am asking for some data, emailing that data, and I have to write back to the software to access the records to be emailed through web services. WSDL is available but as I said, the zero knowledge of C # was able to build SOAPU envelopes through SOAPUI which works perfectly and I call the SOAP using the C # script in my SSIS package I would like to know the way.
I have also tried to run it in the web SSIS and in my WSDL file, the service task gives me only 4 hundred ways, when I should have hundred hundred. It will be easy to solve, but I think there are some limitations with the SSIS Web Service Task.
I have seen this thread:
Which unfortunately does not work for me I am copying and pasting my SOAP and header into the code. To throw another wrench, it is a protected web service for which 3 credentials are required to issue a token to pass the data back and forth. On one side is the question: Can I run several SOP calls (to authenticate first, then push my data into a web service) through a C # script?
After receiving this token, my second soap call was able to run:
Comments
Post a Comment