Tuesday, August 28, 2012

The type must derive from System.Web.Services.Protocols.SoapHttpClientProtocol.....

Another issue that i encountered when calling webservices in biztalk is

:"Failed to load "" type.  Please verify the fully-qualified type name is valid. Details: "". The type must derive from System.Web.Services.Protocols.SoapHttpClientProtocol. The type must have the attribute System.Web.Services.WebServiceBindingAttribute. ".

When a webreference is used in an orchestration, a logical port created for this webreference does not have a portype referred from webporttype.

when you add service reference to the project for the webservices instead of web reference , dont forget to create the proxy class using wsdl.exe tool from visual studio project and configure it in the SOAP send port of BizTalk Administration Console.


Ref: http://seroter.wordpress.com/2007/04/02/consuming-web-services-in-biztalk-without-web-reference/
http://srirambiztalks.wordpress.com/tag/the-type-must-derive-from-system-web-services-protocols-soaphttpclientprotocol/

Missing partial modifier on declaration of type - BizTalk

 Today i came to a problem when consuming webservices. added a web reference instead of service reference got the following error when building the project

Error    1    Missing partial modifier on declaration of type 'project1.WebReference.Service1'; another partial declaration of this type exists    C:\solution\project1\Web References\WebReference\Service1.xsd.cs    8    25    project1

the problem was that there was two service1 datasets when web reference was added. changed the namespace of the other one and compiled . problem solved