05-20-04 10:43 PM
Hello,
>The orchestration in my BizTalk project is exposed as a web service. The or
chestration receives a request from a web service client, sends a
>response to that client, and ends by dropping of the same message that it sent as a
response to the client to folder on the local drive.
>When I test this scenario, the client is able to receive the message from t
he web service, however the orchestration fails to drop the message off into
>the local drive folder. Here is the message:
>The FILE send adapter cannot open file D:\filedrop\send for writing
>Question 1: Does this message correspond to anything else other than the co
rrect permissions not being granted to the file send adapter? Since I
>have made this folder accessible for writing/modifying to everyone for testing purp
oses, but it doesn't seem to work.
The message is usually fired when you do not have the permissions or when th
e given directory (aka D:\filedrop\send) does not exist.
You gave read/write, but make sure that the user that the adpater runs under
can "traverse" this directory. I would suggest that you give full
control to this directory for the user running the adapter for a a minute, f
or testing purposes, just to rule out possible permissions problems.
Also, there is another possibility. How did you configure your FILE send loc
ation? You need to put a valid file name in "File Name".
You can use the %xxx% construct to build file names that are unique. Often,
FILE adapters are configured with %MessageID%. So you should
really have a filename like D:\filedrop\send\%MessageID%.xml or something li
ke it (refer to the BizTalk documentation for the avaialble "macros" -
the %xxx% constructs).
Last but not least, make sure the "Copy mode" is adequate. If you have a fil
e here, you might want to overwrite or apend, or create new.
>Question 2: Which group/account should have the permissions for this folder
? Is there a way to configure the FILE adapter itself to access this
>specific folder? If so, how?
When you deployed your orchestration, you performed two important tasks: you
created the send location that will drop the files in D:\filedrop\send
and you also bound that receive location to an orchestration port. When you
bound the receive location, you had to choose a host. This host runs
under a specific user. This user must have the appropriate rights to save fi
les. So locate the host you are using and use the MMC to figure out
under which user the host is running.
Thanks.
-Gilles.
[ Post a follow-up to this message ]
|