Problem with wsdl service when loading it to an APIM - web-services

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.
#############

Related

org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error

I have installed SOAP UI 5.3 in my university system. While loading web services to a new project the following error is appearing:
org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error
I have done all possible solutions given on the Internet.
I was getting two errors:
org.apache.xmlbeans.XmlException:org.apache.xmlbeans.XmlException: error: does not close tag.
I resolved it by soapUI: Error does not close tag.
But I am unable to resolve below one.
https://community.smartbear.com/t5/SoapUI-NG/Resolved-error-does-not-close-tag/td-p/29309, set none in proxy setting in my system.
The error descriptions are misleading. Please suggest if anyone can help me.
I have tried with the following web services:
https://www.w3schools.com/xml/tempconvert.asmx?op=CelsiusToFahrenheit and used other web services as well, but I am unable to load in the SOAPUI project.
In my case, this problem solution was really simple, you just need to add ?wsdl in web service url.
http://localhost/service?wsdl
Seems like Error was misleading

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!

Error in SOAP-UI while loading the wsdl hosted in localhost

I am getting the following error while loading a localhost wsdl. If I try other wsdls which are not hosted locally it works fine. Please help.
Error loading [http://localhost:7001/xyz?wsdl]: java.lang.Exception: Failed to load url; http://localhost:7001/xyz?wsdl, 0
Errors from the log
ERROR:com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.makeInvalidDefinitionException(WsdlLoader.java:119)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:112)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:488)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:477)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:94)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:209)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Unknown Source)
I have gone through this link and it did not solve the problem.
soapUI failed to load url error when loading wsdl
Based on the errors you're getting, here is a list of possible solutions that come to mind:
Check the URL of the WSDL in a browser. Does it open? If not, your server is not started and the WSDL contract is unreachable.
Make sure you are not using a proxy and you don't have some proxy option set in the SOAP UI preferences
There might be a problem with the validity of your WSDL, but it is impossible to tell without inspecting it.
Hope this helps!
In may case the problem was I was trying to load the .xsd instead the .wsdl
-as both are very similar when open in browser.. is easy to make the mistake.
Added the following parameters to the .vmoptions file, and restarted SoapU helped resolve this for me.
-Dsoapui.https.protocols=TLSv1.2
-Djsse.enableSNIExtension=false
-Djava.net.preferIPv4Stack=true

Calling web service from SSIS

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

Generating WSDL Proxy for external web service

I am trying to configure wsdl proxy in WSO2 ESB. It is not allowing the following WSDL URL.
https://secure-ausomxapa.crmondemand.com/OnDemand/user/Opportunity.wsdl?WSDLOBJ=Opportunity&WSDLTYPE=CUSTOM&XSDOnly=N&ECBS=Y
I am checking " Publish Same Service Contract" check box while creating. But its throwing ERROR - RPCMessageReceiver com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected chara
cter '=' (code 61); expected a semi-colon after the reference for entity 'WSDLTYPE'
But the above url is correct and it opens correctly by giving user name and password.
I have encoded the above WSDL URL, but its not allowing me to even. Please suggest me what should be the problem with this URL.
Thanks&Regards,
Raghu
Download the particular wsdl to your local file system and provide the wsdl path for the "wsdl uri" option like;
file:E:/releases/wso2esb-4.0.3/repository/samples/resources/proxy/sample_proxy_1.wsdl