Using Sharepoint WebServices
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Using Sharepoint WebServices




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Using Sharepoint WebServices  
Kallu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-17-06 10:58 PM



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,





[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
kaddourah@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-06 11: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






[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Adrian Hamza [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-06 11: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] 






[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Kallu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 10:59 PM

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-on
li
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.
co
> m!g43g2000cwa.googlegroups.com!not-for-mail 
>
>





[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Adrian Hamza [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 11: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] 






[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Kallu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 02:27 AM


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-on
li 
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.
co 
> microsoft.public.biztalk.orchestration:13645 
>
>





[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Adrian Hamza [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 02:27 AM

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]
 






[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Kallu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 02:27 AM


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 i
s
> 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 promot
e
> 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-on
li 
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.
co 
>
>





[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Adrian Hamza [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 02:27 AM

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] 






[ Post a follow-up to this message ]



    Re: Using Sharepoint WebServices  
Kallu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 02:27 AM

Thanks Adrian,


-Regards,
Sharath

"Adrian Hamza [MSFT]" wrote:

> Yes, that is true. It would be pretty hard to do it directly from a BizTal
k
> orchestration because of the way SharePoint web services are designed.
> Performing an operation in SharePoint through the web services will requir
e
> 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-on
li 
> ne.de!newsfeed.icl.net!proxad.net!216.239.36.134.MISMATCH!postnews.google.
co 
> Microsoft 
> service. 
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:37 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register