Calling web service from SSIS - web-services

i am trying to call a web service from a SSIS package, getting the below error
Code: 0xC002F304 Description: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not read the Web Services Description Language (WSDL) file. The input WSDL file is not valid. The following error occurred while reading the file. There is an error in XML document (0, 0).. at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil..ctor(Object connection, String downloadedWSDL) at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThr
can some one pls help
when i deploy in to production server, is it necessary for me to ship the WSDL file along with the package or, does it get downloaded automotically

Related

Problem with wsdl service when loading it to an APIM

I have a problem when trying to load the service in the corporate APIM, I have the error in the image that I attach, I appreciate if you can help me, I include the issue.Best reagards for all
ERROR
##########
Error: Error creating API definition subscriberpackagesv2: API Error (135134): Error importing the WSDL: types does not contain a schema. Verify that the WSDL in the request contains a types element with a schema element, then try again. If the problem persists, contact your system administrator.
#############

IIB10 - BIP3732E: The specified WSDL binding could not be found in the supplied WSDL file

I've created a simple message set in Integration Toolkit 10.0.0.7.
Also created a message flow by drag-and-dropping a WSDL file.
But when deploying, getting this:
BIP2087E: Integration node was unable to process the internal configuration message.
The entire internal configuration message failed to be processed successfully.
Use the messages following this message to determine the reasons for the failure. If the problem cannot be resolved after reviewing these messages, contact your IBM Support center. Enabling service trace may help determine the cause of the failure.
BIP4041E: Integration server 'default' received an administration request that encountered an exception.
While attempting to process an administration request, an exception was encountered. No updates have been made to the configuration of the integration server.
Review related error messages to determine why the administration request failed.
BIP3726E: Failed to setup SOAP transport for node SOAP Input.
The SOAP nodes rely on the configuration of the SOAP transport layer within the integration node, and this has not been initialised correctly. The node will not be operational until the problems have been corrected.
Determine the cause of the error and correct it. Subsequent error messages may contain more information.
BIP3732E: The specified WSDL binding MSETSOAP_HTTP_Binding could not be found in the supplied WSDL file MSET/msetdefns/MSETDEFINITIONService.wsdl.
The WSDL binding MSETSOAP_HTTP_Binding from the target namespace MSETDEFNS associated with message set was not found in the WSDL file MSET/msetdefns/MSETDEFINITIONService.wsdl. This could be because the WSDL file is missing, invalid or corrupt.
Determine the cause of the error and correct it. Ensure that the WSDL file is valid and that it validates correctly.
I've checked: WSDL is ok. SoapUI opens it as well.
What could be the root of problem?
Thanks in advance!
Here is what IBM expert says:
https://developer.ibm.com/answers/questions/352486/bip3732e-the-specified-wsdl-binding-could-not-be-f.html#answer-352715
Also, my workaround:
When dragging WSDL onto message flow and choosing HTTP node instead SOAP - everything runs successfully!
Good luck!

Getting Error while accessing wsimport in Webservice

Getting the below Error while importing an WSDL, I am new to this please guide me what i need to do
[ERROR] com.sun.istack.internal.SAXParseException2;
www.webservicex.net
Failed to read the WSDL document:
http://www.webservicex.net/sunsetriseservice.a smx?WSDL, because 1)
could not find the document; /2) the document could not be read; 3)
the root element of the document is not .
[ERROR] failed.noservice=Could not find wsdl:service in the provided
WSDL(s):
At least one WSDL with at least one service definition needs to be
provided.
Failed to parse the WSDL.
I had a similar issue when using wsimport, specifically specifying the HTTP URL for the WSDL. The solution I found was to download the WSDL and save it locally; wsimport was able to use it fine.
I'm not sure why, but specifying the HTTP URL for the WSDL and running with the -verbose option also solved it.

BizTalk : Consuming WCF Service - There was a failure executing the response(receive) pipeline

I am creating a sample biztalk application which consumes a WCFService for learning purpose. I had no problem in consuming the WCF Service and using that to in BizTalk Application in which I give an input xml file in the input folder and and an Output xml file is generated in the output folder.
Now I am trying to do give the input to the WCF Service via a sample applcation I am getting an error which says
There was a failure executing the response(receive) pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Send Port:
"******Send Port Name****"
URI: "*********" Reason: No
Disassemble stage components can recognize the data.
I am using the wcf-custom adapter for binding. What could be the error here?
The error you are receiving lets you know that the message you received (indeed, the response) is not valid according to any known schema within your BizTalk application domain. Try and setup WCF tracing/diagnostics to see what exactly your web service is responding. Most likely, if this is a SOAP-bases web service for example, it might be a typed SOAP fault.
Valuable links:
Diagnostic Tracing and Message Logging - https://msdn.microsoft.com/en-us/library/cc185303(v=bts.10).aspx
How to Handle Typed Fault Contracts in Orchestrations - https://msdn.microsoft.com/en-us/library/bb246117.aspx
Best practices for handling web service exceptions in BizTalk Server - http://www.codit.eu/blog/2012/01/13/best-practices-for-handling-web-service-exceptions-in-biztalk-server/

MSDN web service WSDL not parsing

I am trying to create a web services client for Microsoft's MSDN service (MSTP Content Service). When I use my local IDE to generate the classes it is failing to parse the WSDL from Microsoft published at http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl and so I tried validating it with a "neutral" validator (XMethods WSDL Validator) and the XMethods validator is saying it cannot parse it with no further significant information. I also tried the eXtc validator and got a similar parse failure. How can I get past this error and create a web services client for MSTP?
I needed code stubs in order to communicate with the MS Content Service System. I used Apache CXF which provides tools for generation of Java or Corba stubs. Apache CXF failed because of a misspelled attribute ("messsage" with 3 s instead of 2):
...
<wsoap12:header messsage="this:AppID" part="AppID" user="literal"/>
...
A download of the formal description file (and correction of misspelled attribute name) wasn't successful because there are further files required for stub generation. I download all missing 14 files.
You could download the WSDL description file and execute the Apache CXF stub generation on this file. This script will abort and print the missing file. So, you have to download this file, manually, and to restart the generation which may abort several times because of further missing files. You can find this files in the schemas folder on the web server, e.g.:
http://services.msdn.microsoft.com/ContentServices/schemas/urn_mtpg_com_mtps_2004_1_image_category_atoms.xsd
http://services.msdn.microsoft.com/ContentServices/schemas/urn_msdn_com_public_content_syndication_2006_09_common.xsd
...
Repeatedly download them and put them into a schemas folder near your WSDL description file.