I have to consume a webservice where the provider does not have either an asmx
nor a wsdl
. All I have is a wsdl file located on my pc.
I know there are some solutions for vb.net solutions
as this or this but I want to create a SSIS package
using this service and do not know how to handle this and if this is even possible.
Besides the local wsdl file my provider gave me an url like http://a.b.com/services/SOAP
. So what I did is:
1. Creating a Web Service Taks
2. Setting up the HTTP Connection Manager
- With Server URL http://a.b.com/services/SOAP
3. I linked the WSDLFile to the same named field
4. Set up dthe Input and Output
What I got was the following error:
Error: 0xC002F304 at Web Service Task, Web Service Task: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: The request failed with the error message:
--
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://a.b.com/services/SOAP">here</a>.</p>
</body></html>
Could anyone help me 1. understanding and 2. solve the problem. I just cannot find anything about it.