Hello,
Can I get some help on how the CatalogRecvPort, CatalogSendPort, and CSAck ports should be set up
Specifically, what should the Port Type and Transport Type be for each
Thanks
Hello,
Can I get some help on how the CatalogRecvPort, CatalogSendPort, and CSAck ports should be set up
Specifically, what should the Port Type and Transport Type be for each
Thanks
Biztalk Adapters Sample
AlexVallat
I think that the piece that is missing here is adding BizTalkSvc to the azman file for the catalog web service.
Launch azman.msc and navigate to the the catalog authorization store (probably c:\inetpub\wwwroot\catalogwebservice\CatalogAuthorizationStore.xml), expand the Role Assignments, and add BizTalkSvc to the group that is appropriate for what the adapter will be doing. Initially, you can add that id to CatalogAdministrator which can read, write and update schema, or you can choose a role that has fewer rights.
CodeButcher
kaynos
A catalog receive port is used to export catalog information from the CS system to some other LOB system. This is a one-way port. The transport type will be CS Catalog.
A catalog send port is used to either import data into the CS system, or query the CS system. Both import and query should be configured as static solicit-response ports. The inbound message (either the import or the query) represents the solicit message in this pattern. The adapter passes the message to the CS web service, which generates the response that the adapter then passes back to BizTalk. For send ports, it's important that you configure an endpoint to receive the response message. For development purposes, it easy to set up a file endpoint to receive all response messages by creating a static one-way send port whose transport type is file. Configure a directory to accept the messages and then go to the 'Filters' section and select the Property Microsoft.CommerceServer.GlobalPropertySchemas.CommerceServerMessageType and set the Operator 'Exists'. This will route any CS response to the directory location. Once you've the basic message flow sorted out, you can replace the file endpoint with an LOB endpoint to handle the response, an orchestration, or other BizTalk endpoint.
enric vives
Thank you Brian. That is a big help.
I'm now getting the following error:
Event Type: Error
Event Source: Commerce Server Catalog Receive Adapter
Event Category: None
Event ID: 0
Date: 1/22/2007
Time: 7:40:50 PM
User: N/A
Computer: VM_CS2007_2
Description:
SubmitBatch failed. Message: Failed to perform the specified catalog operation because the current user is not authorized to perform it.
Operation = 'Export the contents of the catalog'
Scope = ''. Stack trace: at Microsoft.CommerceServer.Catalog.HttpExport.ThrowExportFailedException(WebResponse resp)
at Microsoft.CommerceServer.Catalog.HttpExport.Export(ServiceAgent catalogServiceAgent, ExportOptions exportOptions, Stream exportStream, String resourceToExport)
at Microsoft.CommerceServer.Catalog.CatalogAgentContext.ExportXml(CatalogExportOptions catalogExportOptions, Stream exportStream)
at Microsoft.CommerceServer.Catalog.CatalogContext.ExportXml(CatalogExportOptions catalogExportOptions, Stream exportStream)
at Microsoft.CommerceServer.Adapter.Catalog.CatalogReceiveEndpoint.SubmitBatch().
The Host Instance is running under an account called BizTalkSvc which is a member of the following groups:
BizTalk Application Users
BizTalk Isolated Host Users
CatalogAdminGroup
EDI Subsystem Users
IIS_WPG
MarketingAdminGroup
OrdersAdminGroup
ProfilesAdminGroup
SSO Administrators
Users
I thought adding the service to the CatalogAdminGroup would solve it but it didn't. I also tried passing the username and password of a local administrator but that didn't solve it either. Does something in AzMan need to be changed