I am trying to consume a WCF Data service in Cast Iron and getting some issues in it.
Following are steps followed by me:
1. Created a WCF Data Service(C#).
2. Hosted this service at one of my development server.
3. Created an orchestration in Cast Iron Studio.
4. Created an WebService end point.
I am getting the folowing error while creating the endpoint:
Could not load the document http://serverName/VDName/Service.svc/?wsdl into the repository.
Error: The document is not a schema@http://www.w3.org/2001/XMLSchema: document element mismatch got document
I have taken Webservice End Point type as Invoke, Location as Remote, and putting my service URL in WSDL-> Add URL and getting the error at this point only.
Please let me know if anyone in the community had ever tried or consumed WCF Data Service in Cast Iron Studio; and if ever had faced such issues and how resolved them.
Thanks in advance.
This topic has been locked.
Pinned topic Problem in Consuming WCF Data Service in Cast Iron
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: Problem in Consuming WCF Data Service in Cast Iron2013-03-27T12:48:37ZThis is the accepted answer. This is the accepted answer.The WSDL is probably not WS-I compliant. If it is WS-I compliant and Studio cannot consume it, your should probably open a support case.
When I have had to consume Microsoft WSDLs, the "wrapped" form causes fewer problems.
Re: Problem in Consuming WCF Data Service in Cast Iron2013-03-29T05:58:13ZThis is the accepted answer. This is the accepted answer.You can validate whether the WSDL is actually WS-I compliant. When you encountered error while importing the WSDL into orchestration in Studio, the error will be logged under Cast Iron Installation folder/error.log and the stacktrace for the error can be found there.
You might want to look at these articles, I have past experience and got stuck while importing MS Exchange 2007 WSDL file as well. Still haven't find how to resolve it and perhaps anyone could share how to overcome this as well. Another question I want to raise is whether this implies that Cast Iron only support WS-I compliant web service?
Re: Problem in Consuming WCF Data Service in Cast Iron2013-03-29T14:50:07ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
<wsdl:port name="ExchangeServicePort" binding="tns:ExchangeServiceBinding">
<soap:address location="https://yourExchangeHost.yourDomain.com/EWS/Exchange.asmx" />
It may help to download the messages.xsd and types.xsd schemas as well to the same folder that you downloaded the WSDL to before attempting to import the WSDL into Studio.