| Author |
Message |
Nick Coleman
Guest
|
Posted:
Thu Jan 13, 2005 2:39 am Post subject:
WSDL missing for sharepoint webservices |
|
|
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 |
|
|
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 |
|
|
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
|
|
| Back to top |
|
 |
Wei-Dong XU [MSFT]
Guest
|
Posted:
Thu Jan 13, 2005 7:27 am Post subject:
RE: WSDL missing for sharepoint webservices |
|
|
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 |
|
|
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:
|
|
| Back to top |
|
 |
Nick Coleman
Guest
|
Posted:
Fri Jan 14, 2005 2:29 am Post subject:
Re: WSDL missing for sharepoint webservices |
|
|
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 |
|
 |
|
|
|
|