March 19, 2009 at 5:14 pm
Hello Gurus. I have a problem little hard to explain. Lets try.
I have one Web Service (Service1) in the Server1, this web service have a web reference to another web service that is out of my organization (Service2).
so, I have a SSIS Package that have a web service task calling method1 in Service1. This method (method1) calls Method2 in Service2.
the service1 works fine, the problem is when I run the web service task. SSIS is saying that no such method 'Method2' on class service2.
this is the 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: System.Web.Services.Protocols.SoapHeaderException: java.lang.NoSuchMethodException: no such method 'method2' on class sat.rtu.contribuyente.__ConsultasPublicasStatelessWrapper at sat.rtu.contribuyente.__ConsultasPublicasStatelessWrapper.invokeMethod(__ConsultasPublicasStatelessWrapper.java:460)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SATWebService.ConsultaSATWS20061201.ConsultasPublicasSW.busca_contribuyentesPorNombres(String usuario, String clave, String primer_apellido, String segundo_apellido, String apellido_casada, String primer_nombre, String segundo_nombre, String pFecha_Nacimiento) in C:\Inetpub\wwwroot\SATWebService\Web References\ConsultaSATWS20061201\Reference.vb:line 42
at SATWebService.Service1.busca_contribuyente20061201(String primerApellido, String primerNombre, String segundoApellido, String segundoNombre, Int32& codError, String apellidoCasada, String fechaNacimiento) in C:\Inetpub\wwwroot\SATWebService\Service1.asmx.vb:line 776
at SATWebService.Service1.ReqBuscaContribuyente20061201(String primerApellido, String primerNombre, String segundoApellido, String segundoNombre, String apellidoCasada, String fechaNacimiento) in C:\Inetpub\wwwroot\SATWebService\Service1.asmx.vb:line 736.
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
Task failed: Web Service Task
any idea?, i dont know why is cheking the method2 in the package.
Tanks.
Viewing post 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply