System.Web.Services.Protocols.SoapException: Internal SOAP Processing Failure

Web service clients may encounter an error with the exception text "Internal SOAP Processing Failure" when consuming (calling) published BizTalk Web services.
Published Web services return the following generic exception when the Web service client encounters an error:


System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Internal SOAP Processing Failure at

Microsoft.BizTalk.WebServices.ServerProxy.ServerProxy.Invoke....


Then Check the event log you will find these two errors :
The Messaging Engine failed to register the adapter for "SOAP" for the receive location "/VirtualDirectory/Name.asmx". Please verify that the receive location is valid, and that the isolated adapter runs under an account that has access to the BizTalk databases.

An attempt to connect to "BizTalkMgmtDb" SQL Server database on server "Server" failed with error: "Cannot open database requested in login 'BizTalkMgmtDb'. Login fails.".

To resolve this issue, configure the application pool identity for the Web service to use a user account that is a member of the BizTalk Isolated Host Users group. To do this on a Microsoft Windows Server 2003-based computer, follow these steps:

1.Start Internet Information Services (IIS) Manager.
2.Expand the computer name that you want to configure, and then expand Web Sites.
3.Right-click the virtual directory for the Web service, and then click Properties.
4.On the Home Directory tab, note the application pool for the virtual directory, and then click OK.
5.Expand Application Pools.
6.Right-click the application pool that you noted in step 4, and then click Properties.
7.On the Identity tab, configure the application pool to use a security account that is a member of the BizTalk Isolated Host Users group, and then click OK.Note This account must also be a member of the IIS_WPG group.
8.Exit Internet Information Services Manager.
9.Click Start, click Run, type cmd, and then click OK.
10.At the command prompt, type Iisreset /restart, and then press ENTER


May be there are other things casue this error , but this solution solved the error that I got...

in a sequential convoy the ports must be identical

If you are trying to receive the same message type ( using the same schema with different message) using a receive port different from the initial one, and If you tried to mark the first Receive shape with “Initializing Correlation Sets“ and the second one with “Following Correlation Sets ” , you will receive this error, so what is the Solution ?
You have more than one solution

1) Receive the same message with the same type to several Receive shapes
2) Send the different messages with the same type to several Send ports

Error While installing ESB

However I had tried to follow the installation guidelines as close as possible,An error occurred while installing Microsoft ESB CTP3 using the “1.CORE_CreateBizTalkApplication.cmd” script

“Error: Failed to update binding information. Cannot update send port" ALL.Exceptions.”Cannot set send port "ALL.Exceptions" send pipeline.Sendpipeline

"Microsoft.Practices.ESB.ExceptionHandling.Pipelines.ESBFaultProcessor,
Microsoft.Practices.ESB.ExceptionHandling.Pipelines, Version=1.0.0.1, Culture=neutral, PublicKeyToken=c2c8b2b87f54180a" not found.”

I had sent an email to Ahmed Farrag (my ex-Manager at ITWorx , now he is working as Biztalk Consultant at Microsoft Middle East Good luck there) ,He said ," this error means that the pipline was not deployed, make sure the pipeline is deployed first. use the deployment from the VS studio to do this" , Thank You Farrag it's working , thank you and Good Luck

Is that the ESB..!!!!

When someone ask me what is Microsoft ESB, I told him the usual definition and I explain it using the terms of SOA and SOI. His face had been changed to this:

So before taking about what is ESB lets explain some important definitions :

What is Infrastructure?
The fundamental structure of a system or organization. The basic, fundamental architecture of any system (electronic, mechanical, social, political, etc.) determines how it functions and how flexible it is to meet future requirements.

So what is the Service Orientation in general?
Service-orientation is a service paradigm that specifies the creation of automation logic in the form of services. It is applied as a strategic goal in developing a service-oriented architecture (SOA). Like other design paradigms, service-orientation provides a means of achieving a separation of concerns.

Okay what is Service Oriented Infrastructure?

Essentially, an SOI is a set of physical and system software level IT resources, which are geared to meeting the demands of an SOA-defined application environment, and in many ways mirrors the attributes that are commonly associated with SOA environments.

Ummmmmmm… Is there is a different between Service Oriented and Object Oriented design?
First lets define what is Object Oriented Design is part of OO methodology and it forces programmers to think in terms of objects, rather than procedures, when they plan their code. An object contains encapsulated data and procedures grouped together to represent an entity.

So Service-oriented programming (SOP) builds on top of OOP, allowing services to be built using OO techniques. These services themselves provide increased reuse of the business logic, by allowing the service to be used in diverse applications. OOP focuses on what objects an application consists of, while an SOP approach focuses on the application's functionality, or in other words, what the application does.


then the term of ESB is:

the context of implementing an infrastructure for enabling a Service-Oriented Architecture (SOA). However, real-world experience with the deployment of SOAs has shown that an ESB is only one of many building blocks that make up a comprehensive Service-Oriented Infrastructure (SOI). The term ESB has morphed in a number of different directions, and its definition depends on the interpretation of individual ESB and integration platform vendors, and on the requirements of particular SOA initiatives.


Based on the experience Microsoft has gathered from many successful real-world SOI implementations, you can think of an Enterprise Service Bus as a collection of architectural patterns based on traditional enterprise application integration (EAI), message-oriented middleware, Web services, .NET and Java interoperability, host system integration, and interoperability with service registries and asset repositories.

Okai , So What ?!

Check this :

  • New ESB Web services, including the Itinerary and Resolver services
  • New samples that demonstrate itinerary processing, UDDI service integration, and the BizTalk
  • Operations and Resolver services; the ESB Management Portal, and an implementation of the Scatter/Gather pattern for Web services
  • New core features, such as itinerary processing, centralized event logging, the Exception Management Framework; it also introduces the AmberPoint Embedded Nano Agent for BizTalk Server and the SOA Software Management Point for BizTalk Server.






Eleven Emerging Ideas for SOA Architects in 2007

http://www.soanowjournal.com/bestpractices.html

What is Service Oriented Architecture? SOA

Saving your SOAP Request in ONE STEP

Do you want to save the SOAP request to your webservice!!!
And you don’t want to write a huge lines of code to do that process!!!

Download this
dll , and just add the following attribute before your method:
[WebMethod, SoapLogger("C:\\soap.log")]

* WebMethod attribute: Attaching the WebMethod attribute to a Public method indicates that you want the method exposed as part of the XML Web service

*SoapLogger("C:\\soap.log"): Attaching the SoapLogger attribute to a Public method indicates that you want the monitor the SOAP request to that method and you want to save this request in that path : 'C:\\soap.log'

don’t care about the code just use the dll , and enjoy soaping... :D