web-services

xmlns:soap attribute of SOAP element

I just now started learning web services.I cannot understand the use of xmlns:soap attribute of SOAP element.Thanks. ...

how to pass complex queries in rest???

If I understand correctly, in rest style, every query (that is, every action on every resource that does not modifies the resource's state) should be enconded in the querystring, using a get method, with no body at all... am I right? well, I have several applications that comunicate with the db thru an xml message that is handled by a ...

change asp.net 2 web service adress

hello i'm developing an application that includs a web service, on development time i run the service locally on my pc, than i publish the service to a remote server, i wanna know how can i take the web reference that i got and just change the adress of the service to the remote server to check that every thing is ok ...

Problem with OO programming in javascript and ASP.NET AJAX

Hi, I'm trying to keep as much OO as possible, but ASP.NET AJAX seems to be doing something strange after returning from the server... function Person( personId ) { var id = personId; var firstName; var lastName; this.initializeStep1 = function() { PeopleServices.getFirstName(id, this.initializeStep2); } this.initializeStep2 = fu...

Giving C++ Application a HTTP Web Server Functionality

I have a C++ app and looking for a library that would make it a HTTP Server that's able to serve static files as well as perform very simple tasks. The only constraint is that it must be Cross-platform. What are my options. Clarify: I need a web interface for my application. This application is a background program that does other ta...

How do you deal with asp.net server callbacks within javascript objects?

I'm having a problem with using server callbacks to webmethods within an object in javascript... function myObject() { this.hello = "hello"; var id = 1; var name; this.findName = function() { alert(this.hello); //Displays "hello" myServices.getName( id, this.sayHello ); } this.sayHello...

send sms in hebrew with clickatell

how can I send sms in hebrew with clickatell ? it arrives as giberish. ...

Passing HTTP Auth Credentials to SOAP Webservice

Hello, I'm using a SOAP Webservice (ASMX) which is HTTP Auth secured in my Silverlight Application. How can I pass my Credentials to the Webservice? bb_webservice = new BlackberryWSSoapClient(); bb_webservice.GetLatestLocationsCompleted += new EventHandler<GetLatestLocationsCompletedEventArgs>(ws_proxy_GetLatestLocations...

ASP.NET Web Service - how to handle special characters in strings?

To show this fundamental issue in .NET and the reason for this question, I have written a simple test web service with one method (EditString), and a consumer console app that calls it. They are both standard web service/console applications created via File/New Project, etc., so I won't list the whole code - just the methods in questio...

Is it possible to get through a Basic authentication proxy using WsHttpBinding?

I am having a problem getting through an authenticating proxy using Basic authentication with WSHttpBinding. Similar code for BasicHttpBinding works. I am guessing that my problem something to do with the fact that I can't set the Security mode of the WSHttpBinding to TransportCredentialOnly.. I can't use BasicHttpBinding because o...

How to debug leaking connections in an ASP.NET 2.0 Web Services application?

I have an app, which is a bunch of c# web services sitting on top of ASP.NET 2.0 in IIS7 on Win2k3. Following the last release, we keep getting connection timeouts. A quick investigation using Perfmon confirmed that our application is leaking connections. However, there have been so many code changes in the last release, that it is r...

Calling Webservices via code security for logging onto service (.NET / WCF)

My web app is going to call a webservice. I'm looking for best practices / guidance for logging onto the webservice so I know that an authorized user is trying to access it not just anyone. ...

How to specify an XSD on a Soap Call in PHP

Hi there ! I'm using certain webservices which give me a really big but simple WSDL listing all of the calls I can use, however each call needs it's very own XSD Does anyone know can I specify the url to the XSD so the php extension can use any array as parameter to generate the proper XML ? thanks in advance ! ...

Is it possible to track a user who using proxy website?

Is it possible to track a users ip address who using proxy website? ...

Corporate site search

Having a small, SEO-friendly corporate site behind a basic password protection scheme, I'd like to add a basic search facility by using one of the off-the-shelf solutions. (I don't mind Google, or Yahoo having the site's content, as long as it doesn't leak to the web). Google doesn't seem to support this, so I'd like to ask the SO commu...

Soap body is utf-8 encoded twice

We use a web service which expects UTF-8. The framework we use on the client is Apache Axis2. We call the web service and the soap body contains strings in UTF-8. The problem is that it seems like the body is "double encoded". I.e we have the character 'å'. The utf-8 representation of 'å' in utf-8 is C3 A5 however we see in our logs that...

how to save response when saving a SoapUI project

Hi All, I am using SoapUI 2.5.1 - evaluation version In a testcase, how to save the response messages along with requests in a SoapUI project ? Here is what is happening currently: When I create a Web service SoapUI project and send SOAP request for an operation, I get a response XML. Now after saving the soapUI and exiting the tool ...

Web Service interface - Complex Type as parameter?

Hello Just looking for some feedback on best-practices regarding Web Service interface design. I have two options: Option 1 public string GetSomeData(SomeCriteriaClass criteria); where SomeCriteriaClass is defined as: public int ID; public string Name; public string Property2; etc. Option 2 public string GetSomeData(int id, str...

Web Service to return complex object with optional parts

I'm trying to think of the correct design for a web service. Essentially, this service is going to perform a client search in a number of disparate systems, and return the results. Now, a client can have various pieces of information attached - e.g. various pieces of contact information, their address(es), personal information. Some of ...

Add certain namespace to a SOAP Envelope in PHP

Hey ! I really need to add a certain namespace to a SOAP Envelope which is not specified in the WSDL for some reason I already tryed using the 'uri' parameter in the SoapCliente constructor but it's not working how can I add this namespace to the SoapEnvelope ? thanks in advance ...