WSDL missing for sharepoint webservices
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
WSDL missing for sharepoint webservices

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Nick Coleman
Guest





Posted: Thu Jan 13, 2005 2:39 am    Post subject: WSDL missing for sharepoint webservices Reply with quote

Hi
I'm trying to write some client side JavaScript to add an intranet site
to a users "My Links" list.


I'm using the web service.htc behaviour from Microsoft and I can use
webservices on from the main portal site or using the http://[protal
url]/MySite/_vti_bin/lists.asmx web service but when I try to use


http://[portal url]/sites/personal/[username]/_vti_bin/lists.asmx web
service it is missing the WSDL.

The MySite webservice doesn't seem return any lists with the
GetListCollection method. When I go the /sites/personal web service I
can click on the "Service Description" link and I get a 404 error.


Has anyone else encountered this, or can anyone suggest a nice way of
adding an "add to my links" button to an HTML page? I guess the other
option to try is going directly through the back end database, a web
service solution would be more elegant though.
Back to top
rdcpro
Guest





Posted: Thu Jan 13, 2005 4:23 am    Post subject: RE: WSDL missing for sharepoint webservices Reply with quote

You can get the WSDL by changing your URL to:

http://[portal url]/sites/personal/[username]/_vti_bin/lists.asmx?wsdl

Regards,
Mike Sharp

"Nick Coleman" wrote:

Quote:
Hi
I'm trying to write some client side JavaScript to add an intranet site
to a users "My Links" list.


I'm using the web service.htc behaviour from Microsoft and I can use
webservices on from the main portal site or using the http://[protal
url]/MySite/_vti_bin/lists.asmx web service but when I try to use


http://[portal url]/sites/personal/[username]/_vti_bin/lists.asmx web
service it is missing the WSDL.

The MySite webservice doesn't seem return any lists with the
GetListCollection method. When I go the /sites/personal web service I
can click on the "Service Description" link and I get a 404 error.


Has anyone else encountered this, or can anyone suggest a nice way of
adding an "add to my links" button to an HTML page? I guess the other
option to try is going directly through the back end database, a web
service solution would be more elegant though.

Back to top
rdcpro
Guest





Posted: Thu Jan 13, 2005 4:27 am    Post subject: RE: WSDL missing for sharepoint webservices Reply with quote

Actually, you shouldn't get a 404 when you click the Service Description...My
link goes to:

http://it/sites/development/_vti_bin/lists.asmx?WSDL
or for a MySite:
http://h2/MySite/_vti_bin/lists.asmx?WSDL

If yours is like this, but you get a 404, there may be something wrong with
the installation.

Regards,
Mike Sharp


"Nick Coleman" wrote:

Quote:
Hi
I'm trying to write some client side JavaScript to add an intranet site
to a users "My Links" list.


I'm using the web service.htc behaviour from Microsoft and I can use
webservices on from the main portal site or using the http://[protal
url]/MySite/_vti_bin/lists.asmx web service but when I try to use


http://[portal url]/sites/personal/[username]/_vti_bin/lists.asmx web
service it is missing the WSDL.

The MySite webservice doesn't seem return any lists with the
GetListCollection method. When I go the /sites/personal web service I
can click on the "Service Description" link and I get a 404 error.


Has anyone else encountered this, or can anyone suggest a nice way of
adding an "add to my links" button to an HTML page? I guess the other
option to try is going directly through the back end database, a web
service solution would be more elegant though.

Back to top
Nick Coleman
Guest





Posted: Thu Jan 13, 2005 7:23 am    Post subject: Re: WSDL missing for sharepoint webservices Reply with quote

Yeah, I did have the ?WSDL when I was trying to get the WSDL. I can get
the WSDL in a similar way to you have above, but according to the
GetListCollection method there are no lists in MySite.

When you click Site Settings in My Site you go to a URL that looks like
this:

http://portal/personal/[username]/_layouts/1033/settings.aspx

going to

http://portal/personal/[username]/

redirects you to http://portal/MySite/default.aspx

however you can find the web services at

http://portal/personal/[username]/_vti_bin/*.asmx

I figured that since there were no lists according http://portal/MySite
webservices, I might have more luck http://portal/personal/[username]
but this is missing the WSDL.

If you go to
http://h2/sites/personal/[username]/_vti_bin/lists.asmx?WSDL do you get
a 404 error?

Thanks for your help

Regards

Nick Coleman
Back to top
Wei-Dong XU [MSFT]
Guest





Posted: Thu Jan 13, 2005 7:27 am    Post subject: RE: WSDL missing for sharepoint webservices Reply with quote

Hi Nick,

Have you tried the suggestion from Mike? If the issue remains, please feel
free to let me know.

Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
Back to top
rdcpro
Guest





Posted: Fri Jan 14, 2005 12:35 am    Post subject: Re: WSDL missing for sharepoint webservices Reply with quote

This is interesting...the lists.asmx is actually located in the ISAPI folder,
but for some reason the ISAPI filter isn't redirecting the request if there
is a query string in this case. I get the same result as you. But it
shouldn't matter--that is, you should be able to get the lists using

http://<portalname>/MySite/_vti_bin/lists.asmx

Are you sure you're connecting as the right user? You might try it with a
SOAP client that doesn't depend on the WSDL. You could even write a simple
client in javascript in an .hta page to make the request.

Hopefully Wei-Dong XU has an idea...

Regards,
Mike Sharp

"Nick Coleman" wrote:

Quote:
Yeah, I did have the ?WSDL when I was trying to get the WSDL. I can get
the WSDL in a similar way to you have above, but according to the
GetListCollection method there are no lists in MySite.

When you click Site Settings in My Site you go to a URL that looks like
this:

http://portal/personal/[username]/_layouts/1033/settings.aspx

going to

http://portal/personal/[username]/

redirects you to http://portal/MySite/default.aspx

however you can find the web services at

http://portal/personal/[username]/_vti_bin/*.asmx

I figured that since there were no lists according http://portal/MySite
webservices, I might have more luck http://portal/personal/[username]
but this is missing the WSDL.

If you go to
http://h2/sites/personal/[username]/_vti_bin/lists.asmx?WSDL do you get
a 404 error?

Thanks for your help

Regards

Nick Coleman

Back to top
Nick Coleman
Guest





Posted: Fri Jan 14, 2005 2:29 am    Post subject: Re: WSDL missing for sharepoint webservices Reply with quote

I think writing a client that doesn't depend on the WSDL is going to be
the best option.

Thanks for your help.

Nick Coleman
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB