|
Is it possible to do a cross-site call, in Javascript, to a WCF service?
I don't mind if it's a POST or a GET.
But I've heard that these days, browsers don't allow cross-site calls with either POST or GET.
How can I circumvent this and still call a WCF...
Started by jonathanconway on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You'll pass all your RPC method that your WCF service obeys that....
Those entry into the DOM that references a src that is a cross-site URL.
There's not a whole lot you can do to circumvent the browser's cross-site scripting blockers.
|
|
I've been adding quite a few blogs to sites and I'm wondering if it's better to add blogging software on the site or use an external blogging service. The major reason I can think of adding a blog to site is if you want to customize it later on (other...
Started by Darryl Hein on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
As Brian said, integration could be....
If you).
Customization: You get 100% control over every single feature of your blog .
On the other hand, a blogging service with a blogging service.
Blog will become simply an extension to your website.
|
|
I have developed a web service and host it on my server and I would like to know who is using this web service (site Url). I tryed to use "Request.UrlReferrer" but it is not returning any thing! any suggestions/Advices?
Started by Khaled Musaied on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can't get ....
If a simple setup, with no virtual hosts, then that is the "web site" that is hitting your web service.
You can use Request.Url property to get all the information about the requests to your web service to that IP.
|
Ask your Facebook Friends
|
Possible Duplicate:
Accessing all SiteCollections on a SharePoint Server with WebService
There is no Site Directory in WSS 3.0, which is what I would use to get a list of sites in MOSS 2007. Is there a way of getting a list of all site collections from...
Started by Eugene Katz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Deploy the service to sharepoint (maybe to the central admin web.
service and create a method in there that enumerates all webs apps and then all site collections in them, returning the result as xml.
|
|
I'm exposing a web service in a SharePoint site e.g. http://server/_vti_bin/subdir/mywebservice.asmx .
In the web service method, SPContext.Current appears to be null.
(Interestingly, I'm looking at an example in Chapter 5 of Inside Windows SharePoint...
Started by Ariel on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
In SPContext.Current is null?
How do you obtain credentials for the web service?
what authentication are you using.
|
|
I'm getting a 404 error when trying to run another web service on an IIS 6 server which is also running Sharepoint 2003. I'm pretty sure this is an issue with sharepoint taking over IIS configuration. Is there a way to make a certain web service or web...
Started by Stimy on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
STSADM.EXE -o addpath -url http://localhost/<your web service/app> -type exclusion
I depends stopping you from just creating another....
Central.
I believe it is under defined managed paths.
To run on on the same web site as SharePoint.
|
|
I have a WCF service running in IIS that calls a function in a class library where httpContext is available. How can I dynamically get the web site url, this may also be a virtual directory?
Started by JL on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could create a ServiceHostFactory which launches your service host manually example:
(in your myService.svc):
&....
Could possibly have multiple domains or virtual directories pointing to the same service, there is no "one" url anyway.
|
|
I have created a WCF service with NetMsmqBinding, and hosted it in IIS7 using Windows Activation Service (WAS).
Current (works perfectly):
Hosted in IIS at: http://localhost/MyService/MyService.svc
With the service endpoint address: http://localhost/private...
Answer Snippets (Read the full thread at stackoverflow):
For example, I have a netMsmqBinding service hosted in IIS7, it is configured for WAS and it is hosted in the default site as:
http://mymachine/msmqtest/service.svc
The queue name.
In an application.
|
|
I have a Web service and a Web site (both C#) in the same solution (For now); I also have a class library in the solution. Both the web service and the web site reference this class library.
The web service has a WebMethod that creates an object from ...
Started by Jeff Dalley on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
These proxy classes look like objects returned from the web ....
Of the web service actually is a proxy, or generated object rather than the normal type you were reference to your web service you will get proxy classes generated for you.
|
|
For security reason, i need to garantee that only web client running an specif web site can access the web service. I'm doing verification over the domain request only, but i need to do some more robust. I think is too easy to break my security check....
Started by Nitai Bezerra on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The web site would then provide authentication directly to your web service (basic auth under SSL the web service....
You can have the web site proxy all requests to the web service.
Browser call into the service at all.
|