|
Home > Archive > BizTalk Server Orchestration > January 2006 > Using Sharepoint WebServices
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using Sharepoint WebServices
|
|
|
|
Hi All,
I get a "Failed to add a reference" when i try to add a Web Reference for
a sharepoint list webservice
Any suggestions or articles on consuming sharepoint webservices
-Regards,
| |
| kaddourah@gmail.com 2006-01-23, 6:02 pm |
| That's the same problem we had a while back, we contact Microsoft
support and the problem was as follow:
BizTalk currently doesn't support array parameters.
workaround: build assembly/webservice that calls your web service.
--Cal
| |
| Adrian Hamza [MSFT] 2006-01-23, 6:02 pm |
| There is one more thing.
You need to add the reference to the <ServiceName>wsdl.aspx page but then
change the URI on the web service proxy class to point to the <Name>.asmx
page.
For instance if you use the Lists web service.
You will add a web reference to http://ServerName/_vti_bin/Listswsdl.aspx
URL but then when you use the web service proxy
you need to use the Lists.asmx page and include the site URL as well, like
this http://ServerName/sites/MySite/_vti_bin/Lists.asmx
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
--------------------[vbcol=seagreen]
22:06:52 GMT)[vbcol=seagreen]
Gecko/20051111 Firefox/1.5,gzip(gfe),gzip(gfe)[vbcol=seagreen]
posting-host=209.131.211.138;[vbcol=seagreen]
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co
m!g43g2000cwa.googlegroups.com!not-for-mail[vbcol=seagreen]
| |
|
| Does BizTalk 2006 has support for Sharepoint WebServices?
-Regards,
"Adrian Hamza [MSFT]" wrote:
> There is one more thing.
> You need to add the reference to the <ServiceName>wsdl.aspx page but then
> change the URI on the web service proxy class to point to the <Name>.asmx
> page.
> For instance if you use the Lists web service.
> You will add a web reference to http://ServerName/_vti_bin/Listswsdl.aspx
> URL but then when you use the web service proxy
> you need to use the Lists.asmx page and include the site URL as well, like
> this http://ServerName/sites/MySite/_vti_bin/Lists.asmx
>
> 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
>
> --------------------
> 22:06:52 GMT)
> Gecko/20051111 Firefox/1.5,gzip(gfe),gzip(gfe)
> posting-host=209.131.211.138;
> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co
> m!g43g2000cwa.googlegroups.com!not-for-mail
>
>
| |
| Adrian Hamza [MSFT] 2006-01-24, 6:00 pm |
| BizTalk 2006 includes a fully supported adapter for Windows SharePoint
Services 2003. This adapter is available out of the box.
See my blog for additional info about this adapter
http://blogs.msdn.com/ahamza/
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
--------------------[vbcol=seagreen]
<1138054007.156890.164480@g43g2000cwa.googlegroups.com>
<0Aj077GIGHA.3680@TK2MSFTNGXA02.phx.gbl>[vbcol=seagreen]
then[vbcol=seagreen]
<Name>.asmx[vbcol=seagreen]
http://ServerName/_vti_bin/Listswsdl.aspx[vbcol=seagreen]
like[vbcol=seagreen]
rights.[vbcol=seagreen]
rv:1.8)[vbcol=seagreen]
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli[vbcol=seagreen]
ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co[vbcol=seagreen]
microsoft.public.biztalk.orchestration:13645[vbcol=seagreen]
| |
|
|
Hi Adrian,
I have read your post on new WSS Adapter. Looks great for Infopath
Integration
But can we read and write to sharepoint lists?
I will give it a try
Any whitepapers or articles on the WSS adapter?
-Regards,
"Adrian Hamza [MSFT]" wrote:
> BizTalk 2006 includes a fully supported adapter for Windows SharePoint
> Services 2003. This adapter is available out of the box.
> See my blog for additional info about this adapter
> http://blogs.msdn.com/ahamza/
>
> 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
>
> --------------------
> <1138054007.156890.164480@g43g2000cwa.googlegroups.com>
> <0Aj077GIGHA.3680@TK2MSFTNGXA02.phx.gbl>
> then
> <Name>.asmx
> http://ServerName/_vti_bin/Listswsdl.aspx
> like
> rights.
> rv:1.8)
> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co
> microsoft.public.biztalk.orchestration:13645
>
>
| |
| Adrian Hamza [MSFT] 2006-01-27, 9:27 pm |
| You can send messages to a SharePoint list in which case a new list item is
created. You cannot receive messages from a SharePoint list.
To send messages to a list, you send them the same way as you do to a
document library ( Destination URL is /Lists/MyCustomList ) and you promote
values from the message to the SharePoint columns. The file/message won't
be attached to the list but the property promotion will happen and values
will be saved in the new list item.
For info on what column data types are supported look in documentation at
"Supported Windows SharePoint Services Column Types"
So far, I don't think that there is a whitepaper available.
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
--------------------[vbcol=seagreen]
<1138054007.156890.164480@g43g2000cwa.googlegroups.com>
<0Aj077GIGHA.3680@TK2MSFTNGXA02.phx.gbl>
<B7E0F360-7A8A-4C19-8F35-B6CA0FB4775A@microsoft.com>
<Hd2mVTTIGHA.3680@TK2MSFTNGXA02.phx.gbl>[vbcol=seagreen]
rights.[vbcol=seagreen]
microsoft.public.biztalk.orchestration:13650[vbcol=seagreen]
but[vbcol=seagreen]
well,[vbcol=seagreen]
<1138054007.156890.164480@g43g2000cwa.googlegroups.com>[vbcol=seagreen]
2006[vbcol=seagreen]
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli[vbcol=seagreen]
ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co[vbcol=seagreen]
| |
|
|
Hi Adrian,
Thanks for the reply
Cool. But if i want to read from Sharepoint List, theres no way in BizTalk
that i can consume the existing Sharepoint WebServices. The only way is to
create an external assembly or webservice as 'Cal (kaddourah@gmail.com)'
suggested
-Regards,
Sharath
"Adrian Hamza [MSFT]" wrote:
> You can send messages to a SharePoint list in which case a new list item is
> created. You cannot receive messages from a SharePoint list.
> To send messages to a list, you send them the same way as you do to a
> document library ( Destination URL is /Lists/MyCustomList ) and you promote
> values from the message to the SharePoint columns. The file/message won't
> be attached to the list but the property promotion will happen and values
> will be saved in the new list item.
>
> For info on what column data types are supported look in documentation at
> "Supported Windows SharePoint Services Column Types"
>
> So far, I don't think that there is a whitepaper available.
>
> 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
>
> --------------------
> <1138054007.156890.164480@g43g2000cwa.googlegroups.com>
> <0Aj077GIGHA.3680@TK2MSFTNGXA02.phx.gbl>
> <B7E0F360-7A8A-4C19-8F35-B6CA0FB4775A@microsoft.com>
> <Hd2mVTTIGHA.3680@TK2MSFTNGXA02.phx.gbl>
> rights.
> microsoft.public.biztalk.orchestration:13650
> but
> well,
> <1138054007.156890.164480@g43g2000cwa.googlegroups.com>
> 2006
> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co
>
>
| |
| Adrian Hamza [MSFT] 2006-01-27, 9:27 pm |
| Yes, that is true. It would be pretty hard to do it directly from a BizTalk
orchestration because of the way SharePoint web services are designed.
Performing an operation in SharePoint through the web services will require
multiple web service calls to multiple SharePoint web services, so I
recommend you
to build this functionality in a .Net assembly and then call your class
from the orchestration.
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
--------------------[vbcol=seagreen]
<1138054007.156890.164480@g43g2000cwa.googlegroups.com>
<0Aj077GIGHA.3680@TK2MSFTNGXA02.phx.gbl>
<B7E0F360-7A8A-4C19-8F35-B6CA0FB4775A@microsoft.com>
<Hd2mVTTIGHA.3680@TK2MSFTNGXA02.phx.gbl>
<22CF44D1-CA89-4026-9323-52A99CC1C5F9@microsoft.com>
<nNKOuxgIGHA.1236@TK2MSFTNGXA02.phx.gbl>[vbcol=seagreen]
BizTalk[vbcol=seagreen]
to[vbcol=seagreen]
[vbcol=seagreen]
item is[vbcol=seagreen]
promote[vbcol=seagreen]
won't[vbcol=seagreen]
values[vbcol=seagreen]
at[vbcol=seagreen]
rights.[vbcol=seagreen]
microsoft.public.biztalk.orchestration:13671[vbcol=seagreen]
SharePoint[vbcol=seagreen]
page[vbcol=seagreen]
confers no[vbcol=seagreen]
<63E3F6D5-58EE-4118-9E3B-0438E324F0EE@microsoft.com>[vbcol=seagreen]
Jan[vbcol=seagreen]
<63E3F6D5-58EE-4118-9E3B-0438E324F0EE@microsoft.com>[vbcol=seagreen]
en-US;[vbcol=seagreen]
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli[vbcol=seagreen]
ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co[vbcol=seagreen]
Microsoft[vbcol=seagreen]
service.[vbcol=seagreen]
| |
|
| Thanks Adrian,
-Regards,
Sharath
"Adrian Hamza [MSFT]" wrote:
> Yes, that is true. It would be pretty hard to do it directly from a BizTalk
> orchestration because of the way SharePoint web services are designed.
> Performing an operation in SharePoint through the web services will require
> multiple web service calls to multiple SharePoint web services, so I
> recommend you
> to build this functionality in a .Net assembly and then call your class
> from the orchestration.
>
> 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
>
> --------------------
> <1138054007.156890.164480@g43g2000cwa.googlegroups.com>
> <0Aj077GIGHA.3680@TK2MSFTNGXA02.phx.gbl>
> <B7E0F360-7A8A-4C19-8F35-B6CA0FB4775A@microsoft.com>
> <Hd2mVTTIGHA.3680@TK2MSFTNGXA02.phx.gbl>
> <22CF44D1-CA89-4026-9323-52A99CC1C5F9@microsoft.com>
> <nNKOuxgIGHA.1236@TK2MSFTNGXA02.phx.gbl>
> BizTalk
> to
>
> item is
> promote
> won't
> values
> at
> rights.
> microsoft.public.biztalk.orchestration:13671
> SharePoint
> page
> confers no
> <63E3F6D5-58EE-4118-9E3B-0438E324F0EE@microsoft.com>
> Jan
> <63E3F6D5-58EE-4118-9E3B-0438E324F0EE@microsoft.com>
> en-US;
> TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.co
> Microsoft
> service.
>
>
|
|
|
|
|