1

Resolved

Problems Invoking WCF service

description

I had tested with WCF service the it seems isn't working here is the messages
 
http://localhost/testeservicos/Internas.svc
loading http://localhost/testeservicos/Internas.svc
Acquiring the wsdl...
Resolving the wsdlendpoint...
Generating code...
Unable to import binding 'BasicHttpBinding_IInternasService' from namespace 'http://tempuri.org/'.
http://localhost/testeservicos/Internas.svc?wsdl
loading http://localhost/testeservicos/Internas.svc?wsdl
Acquiring the wsdl...
Resolving the wsdlendpoint...
Generating code...
Unable to import binding 'BasicHttpBinding_IInternasService' from namespace 'http://tempuri.org/'.

comments

namigop wrote Jun 23, 2008 at 11:19 AM

Hi oeN,
 Thanks for logging the the issue, it got me reading up on WCF. :) 

   I've found the cause of the error, its got something to do with the way the wsdl document is generated for WCF.  For example, previously, the schema types are automatically declared within the main wsdl doc when we do something like "http://test/testws.asmx?wsdl."  Now, I found out that with WCF the types are no longer declared directly within the main wsdl doc.  With WCF,  the "schemaLocation" now points to the types, and we have something like schemaLocation="http/blahbalah.xsd=xsd0".

   I've tried out the fix on the HelloWorld service  (generated by Visual Studio) with basicHttpBinding and it worked.   Please expect the fix on the next release.
~Erik

wrote Jul 9, 2008 at 4:13 PM

jmoons wrote Feb 20, 2009 at 6:47 PM

Has this been fixed? When I go to a WCF web service exposed from BizTalk I receive the error below:

http://localhost/WcfSqlService/AdvWrksProduct.svc
loading http://localhost/WcfSqlService/AdvWrksProduct.svc
Acquiring the wsdl...
Resolving the wsdlendpoint...
Generating code...
Code generation failed.
Microsoft.FSharp.Core.FailureException: Assembly not yet created.
at Storm.Types.WebSvcManagerOps.clo@90.CreateWebServiceModel() at <StartupCode$Storm>.$Type.bgworker.run@51@57_2.Invoke(DoWorkEventArgs dArgs)
at <StartupCode$Storm>.$Type.bgworker.run@51@57_1.Invoke(Object sender, DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

namigop wrote Apr 2, 2009 at 6:24 AM

Hi Guys,
   Perhaps you'd like to try out WCF Storm: http://geekswithblogs.net/Erik/archive/2009/04/02/130664.aspx 

wrote Feb 21, 2013 at 11:39 PM

wrote May 16, 2013 at 11:46 AM

wrote May 16, 2013 at 11:46 AM

wrote Jun 14, 2013 at 8:25 AM