Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond
Search BizTalk 2004
Jobs (Hire A Guru)
BizTalk 2004 Forum
Newbie: Simple webservice orchestration
Edit Newbie: Simple webservice orchestration
This group is for all content related to BizTalk Server 2004. This includes a forum, samples, videos, labs, whitepapers, and tools. Most of the content here also applies to other versions of BizTalk beyond 2004.
Get this RSS feed
The message you are editing: Newbie: Simple webservice orchestration
My post is a:
I'm trying to make a simple orchestration and deploying it as a webservice. The orchestration is actually now just relaying webservice calls, but I'm planning to incorporate other stuff later.<br><br>Process:<br>1a. A user of a client application hits the Add button and sends data to the BizTalk webservice. <br>1b. The orchestration calls the database' webservice method to store the information. <br>1c. The response is relayed back to the client application.<br><br>2a. Another application will later call another biztalk webservice method to fill in some additional information and update the record.<br>2b. The orchestration calls database' webservice method to update the information.<br>2c. The response is relayed back to the calling appliaction.<br><br>[img:99670b1ec1]http://home.no.net/phpnet/bilder/orchestration.jpg[/img:99670b1ec1]<br><br>The data sent from the two client applications both have the same two fields uniqely identifying the record being added or updated. They are \"OrganizationNumber\" and \"Name\" both of type String. <br><br>So I want to add correlation between the messages from the two client application. I added correlation between 1b (initiating) and 2a (following)<br><br>As message types in all receive and send messages, I used the ones from the DatabaseWS like [databaseWS].Add_request, [databaseWS].Add_response, databaseWS.Update_response and databaseWS.Update_response. Maybe I should make local schemas and map between the two ?<br><br>Anyways. Is this kind of orchestration even possible ? Any ideas on how to make it work ? I've been struggling for some time. Facing problems with correlation. <br><br>=============================<br>Event Type: Error<br>Event Source: XLANG/s<br>Event Category: None<br>Event ID: 10034<br>Date: 19.10.2005<br>Time: 13:12:12<br>User: N/A<br>Computer: Computername<br>Description:<br>Uncaught exception terminated service com.domainname.project.portal.biztalk.RegisterOrchestration(2d35c649-1b3d-a4bf-2b6a-93867077b424), instance c24b00df-93b1-4855-a2f4-18f85acfb303<br><br>Failed to initialize the correlation property name: OrganizationNumber namespace: http://project.domainname.com/portal/biztalk/ from message: AddReq.<br> <br>Exception type: CorrelationViolationException<br>Source: Microsoft.XLANGs.Engine<br>Target Site: Void InitializeFromMsg(Microsoft.XLANGs.BaseTypes.XLANGMessage, Microsoft.XLANGs.Core.XlangStore)<br>Help Link: <br>Additional error information:<br><br>A property cannot be associated with the type 'com.domainname.project.portal.schemas.OrganizationNumber'.<br> <br>Exception type: InvalidPropertyTypeException<br>Source: Microsoft.XLANGs.Engine<br>Target Site: Microsoft.XLANGs.RuntimeTypes.MessagePropertyDefinition _getMessagePropertyDefinition(System.Type)<br>Help Link: <br>Additional error information:<br><br><br><br>For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.<br>=============================<br><br><br>I was thinking of expanding the orchestration if I get i to work. The idea was that if process 2 isn't started before say 5 days after process 1 is finnished, a mail should be sent to the administrator, then looping back to waiting for the updatemessage.
(Click to Add)
Powered by Telligent