web-services

Issue submitting XML from an iPhone to a .NET SOAP Web Service

My iPhone application needs to submit an object to an already existing .NET SOAP Web Service so it can be saved to a database server. I figured the easiest way to go about this would be building an XML representation of the object and passing it to the web service. However, this doesn’t seem to be working. If the XML is more than one lev...

Java Restful Web Service Tutorial with Eclipse and Tomcat

Hi, I was wondering if anyone could post or know of instructions on creating a simple restful web service with eclipse and deployed on tomcat. ...

can jquery ajax call external webservice?

Can jquery ajax code call a webservice from another domain name or another website? Like this: $.ajax({ type: "POST", url: "http://AnotherWebSite.com/WebService.asmx/HelloWorld", data: "{'name':'" + $('#price').val() + "'}", contentType: "application/json; charset=utf-8", data...

.NET Web Services - SOAP Faults

How can I have any uncaught exception get returned as a SOAP fault in my C# web service? It appears that IIS is 'catching' the exception and displaying it on the default error. Below is santized web.config. <?xml version="1.0"?> <configuration> <configSections> <section name="hibernate-configuration" type="NHibernate.Cfg.Confi...

Pull string value out of JSON object.

Hey Everyone.. I have a web service that returns me a JSON object that contains the string "Hello World". How do I pull this string out of the object? data = [object Object] Thanks Nick ...

Missing Parameter in Web Service...

I am currently working on an Webservice to retrieve a pdf Document from an Crystal Report. As lonmg as there are no parameter Values in the Report, the service works fine. As soon as I use parameters in a Query the Reports can't be shown anymore and I retrieve an error like 'missing parameter values'. But there is only one Parameter and ...

jboss5 deploying webservice

Trying the example from the below link http://www.codeproject.com/KB/java/webservice-for-jboss.aspx Getting this exception Caused by: java.lang.NoSuchMethodError: org.jboss.wsf.spi.deployment.DeploymentA spectManager.deploy(Lorg/jboss/wsf/spi/deployment/Deployment;)V Any help is appreciated The full Stack Trace is as below 14:01:57,4...

How to call external webservice using jquery "jsonp"?

I had a previous question can jquery ajax call external webservice? and some good developers answered me to use jsonp, but i don't know how to use it, i am trying to call my service using this code: $.ajax({ type: "POST", url: "http://localhost:1096/MySite/WebService.asmx?callback=?", data: "{}", ...

Convert HTML (WSDL/XSD doc) to MHT in a MSBuild step

Folks, I have some HTML generated from my WSDL and XSD files for a web service, and I'd like to convert thos two HTML, along with some images (company logo) and CSS file(s), into a single MHT file during my continuous integration, so that I can distribute it to customers (other devs outside the company using this web service). I'd li...

Looking for Real Stories of Web Service Security Breaches

I'm a full time software developer, but on the side I'm teaching a university course on web services. I'm going over security right now and was wondering if any of you all have had any security breaches that you could tell about (details obscured as needed) that I could share with my students. Real life stories are a lot more meaningfu...

What is the easiest way to wrap a Stored Procedure in a Web Service?

We have a Legacy system that contains a number of stored procedures that we'd like to expose to other applications as web services. We are building the web services with JBoss. The stored procedures can run from Oracle, DB2 or MS SQL Server databases. JDeveloper has a wizard to generate the stubs and deploy to an ear file that would ru...

Calling a method inside web service in action script 3.0

I need to call a method inside web service and passing to it it's parameters from action script 3.0 can anyone help me plz? i searched all over the internet and found solutions with flex and i am not working with flex i am working with action script 3.0 ...

AJAX AutocompleteExtender isn't working. Web Service works.

This is c# .net 2.0. I am using a masterpage. The WebService works fine on its own. I am completely stumped. When I type in the TextBox, nothing happens. Files: EditTicket.aspx AutoComplete.asmx App_Code/AutoComplete.cs EditTicket.aspx: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc...

Web Services, ADO.NET Connection Pool, Timeout Error

If I have an .asmx Web Service that only exposes one call. One that takes a few params and inserts those values as a record in SQL Server 2005 table. What should that method look like to be as "kind" to the ADO.NET Connection Pool as possible? What should it look like if its going to be called maybe 10 times a second (spread out) over m...

BasicHttpBinding with Certificate authentication - error "forbidden"?

I'm trying go get WCF server and client mutually authenticate each other using SSL certificates on transport level using BasicHttpBinding. Here's how the server is getting created: var soapBinding = new BasicHttpBinding() { Namespace = "http://test.com" }; soapBinding.Security.Mode = BasicHttpSecurityMode.Transport; soapBinding.Security...

Secure password solution for a web service authenticating against Active Directory?

An application I'm modifying has a Web Service, and one of the web methods on that web methods is used to authenticate a user against active directory. So the current code called by the AuthenticateUser web method looks something like this: string domainAndUsername = aDomain + @"\\" + username; string ldsPath = buildLdsPath(searchBase)...

Webservice or WCF or what

Hi, I have an application that users access via phone (touchtone) or SMS. Now want to give them web access. Thought a webservice communicating with app via TCP would do it. TCPClient connection code that works OK in the app fails in the webservice with 'Host actively refused connection' Makes me think that IIS won't allow a Webservice ...

Should I use a server-side script or a web service?

I need to be able to access a mySQL database from my iPhone, for both read and write ops. Instead of using MCPKit (due to security and speed considerations), I'd like to access the db through a separate service. The app is iPhone SDK, so I need to get data back in XML form, not as a web page. I am trying to decide whether to write a J...

SharePoint Sites.ExportWeb return values

I'm playing with the Sites.ExportWeb service in SharePoint, and I've gotten it to the point of returning an integer value. My problem is I can't find any documentation anywhere about what these return values mean! My C# code is below, the return value I'm getting is 5, but obviously I need to know what all possible return values mean :...

ASP.NET MVP and AJAX posting/webservices

When applying the MVP pattern to ASP.NET applications, where does using AJAX to post data fit? Of what I know of the MVP pattern, the UI is simply that(appearance), and all the heavy lifting is done in the presenter. I don't see how you could follow the pattern and still use AJAX interacting with web services on the client. Does anyon...