RE: BizTalk Adapter for SharePoint Libraries
- From: adrianhamza@xxxxxxxxxxxxxxxxxxxx (Adrian Hamza [MSFT])
- Date: Tue, 05 Sep 2006 18:24:30 GMT
Are you using BizTalk 2004 or 2006? For BizTalk 2006 you should use the WSS
adapter included with the product. AFAIK, Microsoft does not support the
gotdotnet adapter, but the source code is available for troubleshooting.
With regard to your problem, I believe that the GotDotNet adapter cannot
receive messages from a folder directly. I know the WSS adapter in BizTalk
2006 cannot do that either, but you can workaround it by receiving the
files from the document library through a custom view that returns only
files from your folder. See this post that applies to BizTalk 2006 WSS
adapter, you might be able to do the same for GotDotNet adapter. Anyway,
you should know that this might not work and no support is offered by
Microsoft for the GotDotNet adapter.
See post below that is a little bit relavant to your question:
From: adrianhamza@xxxxxxxxxxxxxxxxxxxx (Adrian Hamza [MSFT])but
Date: Tue, 29 Aug 2006 17:26:08 GMT
Subject: RE: Moving documents in Sharepoint
Newsgroups: microsoft.public.biztalk.orchestration
It would be a lot easier to move the files from:
a) one document library to another document library
b) document library root folder to any folder (including a child folder)
than moving them from a folder (other than root) of a document library.
However see suggestions for your question below:
You cannot specify a folder url for WSS adapter when receiving messages
you can specify a view that would return the files from a particularto
folder. Creating such a view is probably a little bit tricky but you might
be able to do that. Are the files always moved to the same folder? If the
answer is yes, then you can use the archive functionality of the adapter
specify the folder where you want the file to be moved. If the files arefolder,
moved to different folders depending on the content of the file (for
instance) then you don't use the archive functionality, you let the
received file be deleted and instead you send a copy of it to the new
folder (so in this case you will have a receive port and send port tied
together with an orchestration that has the logic that decides where the
files is moved). You can specify a folder URL for send or archiving files
(but not for receiving as I said).
With regard to creating a view that returns files from a particular
you might have to write some code for that. You can ask around onrights.
SharePoint discussion aliases for better solutions, see below my
suggestion. Add a column named "FolderName" (or FolderUrl) and code a
SharePoint event handler that updates that column to contain the name or
URL of the folder where the file was created. Then you can use this column
name in the SharePoint View filter.
An alternative solution, is to use HTTP Web DAV (see protocol here
http://www.ietf.org/rfc/rfc2518.txt section 8.9 MOVE Method) and issue an
HTTP Move request to move the file from one folder to another. You would
code this functionality into a .Net component using HttpWebRequest class
and call that component from your orchestration.
This posting is provided "AS IS" with no warranties, and confers no
Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter
--------------------
Thread-Topic: Moving documents in Sharepoint
thread-index: AcbK+txfYjyA40jXQvOLKU5yZQBvFw==
X-WBNR-Posting-Host: 128.95.82.112
From: =?Utf-8?B?S2VuTQ==?= <KenM@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Moving documents in Sharepoint
Date: Mon, 28 Aug 2006 16:37:01 -0700
Lines: 9
Message-ID: <AF666AAA-6177-4B85-AC0C-70E6F0C3CB8F@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.biztalk.orchestration
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.orchestration:15055
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.biztalk.orchestration
I need to move documents from one Sharepoint folder to another, even to
another user's folder on the site. For example an order comes in to the
order desk and needs to me move into the Sales incoming folder.
Can anyone give me a lead?
Thanks,
Kenn
This posting is provided "AS IS" with no warranties, and confers no rights.
Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter
--------------------
21:24:33 GMT)From: "Ken" <kenneth.lupinacci@xxxxxxxxxxx>
Newsgroups: microsoft.public.biztalk.general
Subject: BizTalk Adapter for SharePoint Libraries
Date: 1 Sep 2006 14:24:28 -0700
Organization: http://groups.google.com
Lines: 75
Message-ID: <1157145868.690370.212200@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
NNTP-Posting-Host: 68.199.50.70
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1157145873 19597 127.0.0.1 (1 Sep 2006
NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PCX-Complaints-To: groups-abuse@xxxxxxxxxx
NNTP-Posting-Date: Fri, 1 Sep 2006 21:24:33 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
4.0),gzip(gfe),gzip(gfe)
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTFEEDS01.phx.gbl!newsfeed00Complaints-To: groups-abuse@xxxxxxxxxx
Injection-Info: i42g2000cwa.googlegroups.com; posting-host=68.199.50.70;
posting-account=oAWWtQ0AAABF2BXja2udOpTG1_7oqtEw
Path:
sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!border1.nntp.dca.
giganews.com!nntp.giganews.com!postnews.google.com!i42g2000cwa.googlegroups.
com!not-for-mail
ForFiles(Object)Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:40511
X-Tomcat-NG: microsoft.public.biztalk.general
Has anyone been able to retrieve a text file with either version 1 or 2
of www.gotdotnet.com BizTalk Adapter for SharePoint Libraries?
I did not install SharePoint on my PC because we have an existing
SharePoint Server and asked the admin to create a dev. site for me.
I've been able to place text files into a document library on the
site but can't seem to retrieve text files from a folder in the same
document library?
Following are configurations I asked our admin to perform on the
Windows SharePoint Services computer to allow use of BizTalk Adapter
for SharePoint Libraries.
1. Copy WSSDocLibServices.ASMX to the _vti_bin folder in the default
web site on the Windows SharePoint Services computer.
2. Copy WSSDocLibServices.DLL to the _vti_bin\bin folder on the Windows
SharePoint Services computer. This DLL goes must reside in the \bin
folder under the folder where you just placed the .ASMX file in the
previous step.
3. To verify that the web service is installed properly, browse to the
URL where you placed the WSSDocLibService.asmx file in the previous
steps. You can do this in IIS manager, by right clicking on the
WSSDocLibService.asmx and selecting Browse, or by pointing your browser
to the correct URL (like Error! Hyperlink reference not valid.
name>[:port]/_vti_bin/WSSDocLibService.asmx). However you get there,
you see the web methods that the web service exposes.
The settings for WSSLib2 receive location properties seem straight
forward, provide site address URL, site folder name and view name. Not
sure when domain, username and password are need but I provide all in
the receive loc properties.
Error I get in BizTalk Administration Console:
Server was unable to process request. --> Cannot complete this action.
Please try again. --> Cannot complete this action.
Please try again.
at VBSampleAdapters.VBSharePointAdapter.Helper.LogError(String,
EventLogEntryType, Boolean)
at
VBSampleAdapters.VBSharePointAdapter.SharePointAdapterRuntime.Receive.Poll
xt"
After this asked admin to grant access to the bin folder for my BizTalk
server account which didn't seem to help.
So, I tried to take a step back and use the BizTalk 'File' adapter
to retrieve the text file. I figure I should be able to just get a
file off the site using folder UNC like this
\\sites.mysite.com\sites\it\devuhc\UnitedHealthApproval\ApproveFolder .
But, I get an error as follows:
The receive location
"\\sites.mysite.com\sites\it\devuhc\UnitedHealthApproval\ApproveFolder\*.T
is shutting down. Details:"The FILE receive adapter cannot monitor
receive location
\\sites.mysite.com\sites\it\devuhc\UnitedHealthApproval\ApproveFolder\.
".
That error is not enough information, I then mapped drive R: to the
above URL. I got the following error:
The Messaging Engine failed to add a receive URL "MY_ReceiveLocation"
to the adapter "FILE". Reason: "File transport does not have read/write
privileges for receive location 'R:\'. ".
Thought the issue might be folder permissions?
Asked admin to grant full control access for the BizTalk application
user to folder
\\sites.mysite.com\sites\it\devuhc\UnitedHealthApproval\ApproveFolder
Didn't seem to make a difference and me admin has had enough of me...
I thought this was going to be a simple thing to do, anyone have any
suggestions?
This posting is provided "AS IS" with no warranties, and confers no rights.
Adrian Hamza [MSFT]
http://blogs.msdn.com/ahamza/
My blog on BizTalk 2006
Windows SharePoint Services adapter
.
- References:
- BizTalk Adapter for SharePoint Libraries
- From: Ken
- BizTalk Adapter for SharePoint Libraries
- Prev by Date: BizTalk 2004, Questions for interview (no answers)
- Next by Date: BizTalk Server 2006 installation issues...
- Previous by thread: BizTalk Adapter for SharePoint Libraries
- Next by thread: Re: Mapping lookup within original document
- Index(es):
Relevant Pages
|