Windows Server - Parallel convoy with variying number of receive files

Asked By Idar Hareide
16-Oct-09 05:54 AM
Hi

Here is the scenario:
- There are 2 to 5 files to receive
- The files has correlation
- There is one specific of the files which marks the end of the convoy
- When this file is received, I want the orchestration to continue even if it has received just 2 of 5 files

I have made an orchestration with 5 receive shapes in  a parallel action shape, and all has activate set to true. Now it waits for all the files to be received before it continue execution, but I want it to continue if one given file in one of the brances is received.

Is there any way to implement it like this?

Thanks.

EggHeadCafe - Software Developer Portal of Choice
Basic Contract-First WebServices With XSDObjectGen
http://www.eggheadcafe.com/tutorials/aspnet/073425d4-76fd-4e61-aae9-c130ff34ec04/basic-contractfirst-webs.aspx
XSDObjectGen
(1)
CorrelationSet
(1)
WebServices
(1)
Newsbeitrag
(1)
Fischer
(1)
Joerg
(1)
Contractfirst
(1)
C130ff34ec04
(1)
  news.microsoft.com replied to Idar Hareide
04-Nov-09 05:18 AM
Hi,

Instead of implementing it via an parallel receive, you will have to define
it:

1. Initial activating receive on the document, initializing CorrelationSet
2. Loop with subsequent receives on the same port

Thanks, regards

Joerg Fischer
help
xsd:element name = "MessageInfo"> - <xsd:complexType> - <xsd:sequence> I'm getting strange error: Microsoft.BizTalk.WebServices.PublishingException: Failed to construct code for schema "". Object reference not set to an instance of System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.BizTalk.WebServices.Compilation.DataTypesImplementStrategy.FixSchemaRootAttribute(CodeTypeDeclaration codeTypeDeclaration) at Microsoft.BizTalk.WebServices.Compilation.DataTypesImplementStrategy.ConstructCodeForSchema(CodeNamespace codeNamespace, XmlSchemaImporter schemaImporter, XmlCodeExporter codeExporter, XmlSchema xmlSchema, UInt32 depth) - -- End of inner exception stack trace - -- at Microsoft.BizTalk.WebServices.Compilation.DataTypesImplementStrategy.ConstructCodeForSchema(CodeNamespace codeNamespace, XmlSchemaImporter schemaImporter, XmlCodeExporter codeExporter, XmlSchema xmlSchema, UInt32 depth) at Microsoft.BizTalk.WebServices.Compilation.DataTypesImplementStrategy.ConstructCodeForXsdTypes(CodeCompileUnit codeCompileUnit, CodeNamespace baseCodeNamespace) at Microsoft.BizTalk.WebServices.Compilation.ImplementationGenerator.ConstructImplementationForWebServiceDescription(WebServiceDescription webServiceDescription) at Microsoft.BizTalk.WebServices.Compilation.ImplementationGenerator.Generate(WebServiceDescription webServiceDescription) at Microsoft.BizTalk WebServices.WebServiceBuilder.BuildWebService() What am I dooing wrong? I guess the problem is due to the
This appendix has you look at IIS vroots and their settings: * *ClientWebService *Directory: %ProgramFiles%Update Services \ WebServices \ ClientWebService *Application Pool: WsusPool *Security: Anonymous Access Enabled *Execute Permissions: Scripts Only *Content *Directory[the the WSUS content directory] *Security: Anonymous Access Enabled *Execute Permissions: None *DssAuthWebService *Directory: %ProgramFiles%Update Services \ WebServices \ DssAuthWebService *Application Pool: WsusPool *Security: Anonymous Access Enabled *Execute Permissions: Scripts Only *Inventory *Directory: %ProgramFiles%Update Application Pool: WsusPool *Security: Anonymous Access Enabled *Execute Permissions: Scripts Only *ReportingWebService *Directory: %ProgramFiles%Update Services \ WebServices \ ReportingWebService *Application Pool: WsusPool *Security: Anonymous Access Enabled *Execute Permissions: Scripts Only *ServerSyncWebService *Directory: %ProgramFiles%Update Services \ WebServices \ ServerSyncWebService *Application Pool: WsusPool *Security: Anonymous Access Enabled *Execute Permissions: Scripts Only *SimpleAuthWebService *Directory: %ProgramFiles%Update Services \ WebServices \ SimpleAuthWebService *Application Pool: WsusPool *Security: Anonymous Access Enabled *Execute Permissions: Scripts Only *ApiRemoting30 *Directory: %ProgramFiles%Update STRING) " / LM / W3SVC / WebSiteID / ROOT / ApiRemoting30" AppFriendlyName (STRING) "ApiRemoting30" AppIsolated (INTEGER) 2 Path (STRING) "<WSUSInstallDir> \ WebServices \ ApiRemoting30" AccessFlags(INTEGER) 513 AccessExecute(BOOLEAN) False AccessSource(BOOLEAN) False AccessRead (BOOLEAN) True AccessWrite (BOOLEAN different in the two parts of the document: So is the Api Remoting service in WebServices \ ApiRemoting30 or is it in Administration? Or are these two different things? Harry. The ~ \ Update
of the office ISA isn't there to be connected too. http: / / www.emailsystems.com / webservices.php As we are only running 1 broadband connection I've never considered making users of the office ISA isn't there to be connected too. http: / / www.emailsystems.com / webservices.php As we are only running 1 broadband connection I've never considered = making = 20 to = 20 be connected too.<BR> <BR> <A = 20 href = 3D"http: / / www.emailsystems.com / webservices.php"> http: / / www.emailsyst = ems.com / webservices.php< / A> <BR> <BR> As = 20 we are only running 1 broadband connection I've there to be connected too.<BR> > <BR> > <A = 20 href = 3D"http: / / www.emailsystems.com / webservices.php"> http: / / www.emailsyst = ems.com / webservices.php< / A> <BR> > = 20 considered = 20 making <BR> > users use a VPN to the office
with Appendix D Here are the results from the cacls C: \ Program Files \ Update Services \ WebServices \ apiremoting30 BUILTIN \ Users:(OI)(CI)R NT AUTHORITY \ NETWORK SERVICE:(OI)(CI)R NT AUTHORITY Administrators:(OI)(CI)F NT AUTHORITY \ SYSTEM:(OI)(CI)F C: \ Program Files \ Update Services \ WebServices \ clientwebservice BUILTIN \ Users:(OI)(CI)R NT AUTHORITY \ NETWORK SERVICE:(OI)(CI)R NT AUTHORITY Administrators:(OI)(CI)F NT AUTHORITY \ SYSTEM:(OI)(CI)F C: \ Program Files \ Update Services \ WebServices \ dssauthwebservice BUILTIN \ Users:(OI)(CI)R NT AUTHORITY \ NETWORK SERVICE:(OI)(CI)R NT AUTHORITY Administrators:(OI)(CI)F NT AUTHORITY \ SYSTEM:(OI)(CI)F C: \ Program Files \ Update Services \ WebServices \ reportingwebservice BUILTIN \ Users:(OI)(CI)R NT AUTHORITY \ NETWORK SERVICE:(OI)(CI)R NT AUTHORITY Administrators:(OI)(CI)F NT AUTHORITY \ SYSTEM:(OI)(CI)F C: \ Program Files \ Update Services \ WebServices \ serversyncwebservice BUILTIN \ Users:(OI)(CI)R NT AUTHORITY \ NETWORK SERVICE:(OI)(CI)R NT AUTHORITY Administrators:(OI)(CI)F NT AUTHORITY \ SYSTEM:(OI)(CI)F C: \ Program Files \ Update Services \ WebServices \ simpleauthwebservice BUILTIN \ Users:(OI)(CI)R NT AUTHORITY \ NETWORK SERVICE:(OI)(CI)R NT AUTHORITY
128284751959862753 Trust level: Full Application Virtual Path: / ClientWebService Application Path: C: \ Program Files \ Update Services \ WebServices \ ClientWebService \ Machine name: server2K3 Process information: Process ID: 2588 Process name: w3wp.exe Account name UpdateServices.Internal.Global' is ambiguous: it could come from assembly 'C: \ Program Files \ Update Services \ WebServices \ ClientWebService \ bin \ microsoft.updateservices.webservices.client.DLL' or from assembly 'C: \ Program Files \ Update Services \ WebServices \ ClientWebService \ bin \ clientws.DLL'. Please specify the assembly explicitly in the type name. Request information express 2005, Symantec AV 10 with System Mgr, HP Sys. Mgmt. \ ClientWebService \ bin \ microsoft.updateservices.webservices.client.DLL' I while back I forced out WSUS 2 but the reference is not