web-services

How do I set basic authentication on .NET web service on install?

Is it possible to set a web service to use Basic authentication during install or dynamically when the web service is started? I am currently using Visual Studio to create and MSI to install the web service. ...

Webservice Jira gives: Error: No such operation 'getIssuesFromJqlSearch' from Jira 4.01

When I use the Webservice of Jira, I need to use the method getIssuesFromJqlSearch to describe a certain (JQL) Query. But it returns me "No such operation 'getIssuesFromJqlSearch'". Is this method in Jira 4.01 not implemented yet? BTW: I need a method to get all Issues from one specific project, without creating filters first. This was...

Total number of built-in functions in php?

Hi, does any one know how many built in functions are there in PHP (latest version)? Thanks ...

Authenticating servers - what's a good approach?

Edit Thanks for the suggestions; to clarify, we already use SSL, but that doesn't generally authenticate the requesting party, merely the responding party (IIRC?). I'll look into the other ideas right away, thanks for the brainstorm! Background The organization I work for has a heterogeneous bunch of servers providing various service...

Authentication and Authorization scheme for an application exposed as WCF Service Layer?

Hi, I know this question must have been discussed million times in your organization. One more go. Designing a LOB application which has its business operations exposed as services. These services would be accessed by our own web application(ASP.Net MVC), smart desktop clients, mobile clients, as well as, our partners via either thei...

SSL Webservice Call Fails when called from within Windows Service

Have a webservice call from within a c# windows service. Service is behind an SSL cert. Certificate was registered into trusted root (password provided by provider). Problem is that from the development machine verything works perfectly but once deployed onto production server, we keep on getting a 403 error. Can browse to the service...

When a method has too many parameters?

When debugging some web-service client code today (in Java, with jax-ws) I ran across a web-service method with the mind-blowing amount of 97 parameters! I had to create a test case that calls this method, and I noticed several things: code assist/hover doesn't scale well. I am using Eclipse, and the tooltip over the method is as wide...

WCF, Web services or ADO.NET data services: What shall I use?

For a project I have to implement a communication between a database hosted on a web server and several clients out there in the internet. After reading a bit and watching a few introductory videos about possible (Microsoft) technologies I figured out that I seem to have (at least) three options: 1) Windows Communication Foundation (WCF...

How to expose custom object (with sub objects) in web service?

I'm kinda new to web services and want to make sure I am doing things correctly. I have a custom object which has sub objects as well. (let's say Company object, sub object is collection of Employee objects) I want the web service to return a collection of Company objects. Do I make the service return a Dataset and custom generate a d...

wsgen ant task ignore @webMethod(exclude=true) annotation

I Have a web service implementation class in java and I use wsgen to generate the service end point classes. There is a public method in my SEI that I want to exclude from the web-service interface. It seems that the annotation @WebMethod (exclude=true) is meant to do that but it does not seem to work with the wsgen ant task. ...

Can you change the location/endpoint of a dynamic web reference at run-time in .NET?

In a fairly standard fashion, I created a Web Reference to a SOAP service in Jira for an extension that I'm building (Jira is an issue tracker for those unfamiliar with it). Visual Studio auto-generates a .Settings file and an app.config that contains the web service URL. Since I'm developing an extension/plugin to an ALM product we're ...

How to Handle WCF Service Error in Silverlight When Authenticated Session Times Out

I have a WCF Service that I'm accessing in Silverlight. The Silverlight application requires authentication (authentication happens through a call to the service.) I've noticed that when the authenticated session times out and the user does something application-side that would make a call to the service, the application just hangs wait...

.Net Web Service content-type

I need to create a .Net web service (WCF is out of the question) that should receive xml and return xml. I initially setup the function like so: [WebMethod] public string myFunc(string xmlRequest) { How can I change the HTTP POST content-type to text/xml? Also, I'm returning the xml response as a string, but in the web service help pa...

using and web service call

What does the using statement do? Is it actually needed? using (MyWebservice x = new MyWebservice()) { //random code } ...

C# / Webservice app on server throwing strange exception...

We use ADP for employee information. I had to create a small app that called some web services that ADP has to pull employee information. The app is fairly procedural..not really object orientated in a sense. Basically I go through some web services to pull general information, work information, employee status, etc. I have most of...

Unauthorised access when accessing WSS Lists.asmx web service using AD accounts

I am having an issue where I try to access the Lists.asmx web service in a remote or local site and am getting a 401 error. To be clear, this is /_vti_bin/Lists.asmx. The setup is I have one WSS 3.0 site which connects via soap to the lists service of another, WSS/MOSS site. On our stage environment these two sites are on the same box, b...

How to add a web service reference in a DLL

I'm creating a DLL with a reference to web services (I don't have the choice to do so) but I have to add web service references to the project that uses the DLL for it to work. Example, I have the DLL called API.DLL that calls a web service called WebService.svc that I want to use in a project called WinForm. First, I have to add a "Ser...

How to retrieve parameter passed to WebService Async method in the handler of the Completed event

Like the title says: My web service method call looks like proxy.BeginGetWhatever(int param) { } Lets assume the handler registered with this call is private void GetWhateverCompleted(object sender, GetWhateverEventArgs e) { //HERE } How do I get access to the parameter param in the handler? (e.Result will return whatever the ...

How can you sell or auction your code?

Say you write some python code using your expertise in some knowledge-domain that could be used to perform some sort of Web Service for a wider set of people. (ie. you take their data and do something magic with it and return something of more info value.) So you get the code to work -- you get to the proof of concept stage by deployin...

how do I create a widget of my web application

Hello everyone, I want to create a small widget of my website. This widget will facilitate easy viewing of latest content posted on the website embedding it on other website. posting of comments instantly to my website from within the widget How shall I start building such widget. I heard of this CROWDSOUND, and this is exactly ...