.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > Calling web services from SSIS package
 

Calling web services from SSIS package

I have SSIS package which selects certain records from SQL server table, then calls Web service (web service is wrapped into DLL), sends parameters from selected records and populates anothertable with the data brought from SAP by Web service. Call to the web service's methodresides inside the loop. I noticed only 100 records can be processed, after that connection to SAP is being destroyed and i have to re-start application pool in order to enable web service again. The same web service brings data from SQL server. this connection remains ok.
Does anyone know why web services corrupt or why SAP connection is destroyed?

Something like:

rd = GetDataReaderStoredProc(

"spTest")
If Not rd Is Nothing Then
While rd.Read()
....
dsCompany = oSAP.getSAP_FinancialCompany_Data(rd("Order_Num").ToString) 'calling web service
....
dsCompany = Nothing
End While
rd.Close()
rd =
Nothing
End If

Innazz
Are you using ASMX web services or WCF?
What is SAP?
Is there any type of exception being thrown when the SAP connection is destroyed?

If you do not have tracing enabled you may want to do so, so that you can better see what is going on with your service.

Thanks,
Erica
Erica Mohler - MSFT
Erica Mohler - MSFT

Have you verified that your web service is not getting timedout?

Sandy Kumar 2008

You can use google to search for other answers

Custom Search

More Threads

• Invoking A webservice dynamically without adding a webreference!
• How do I move my service reference to its own assembly?
• Are the proxies generated using WSDL for ASMX web services thread-safe?
• [ASP.net] Is there a guide to configuring a server (softwarelike) for ASP.net 2.0?
• XmlSerializer problems with generic constraints
• .NET Webservice SAML Security
• how to access a unmanaged non-com dll from asp.net webservice
• Net send Harchive
• Associate custom serializer with class?
• Detect connection failure of web service