web-services

What are the characteristics of a Scalable, Secure and Easy to Use Web Services?

Our application currently exposes web services built with WSDL 1.1 and SOAP 1.1 following the w3c standards below: http://schemas.xmlsoap.org/soap/http is the WSDL 1.1 binding for the SOAP 1.1 HTTP binding. We want to revamp our web services to be Scallable, Secure and Easy to Use Easy to use refer to the fact that at this mom...

Why is ajax call to iis hosted wcf service still returning data when the site hosting the service is down?

I'm developing a windows sidebar gadget that calls out to a wcf service via a javascript xmlhttprequest. If you stop the iis site hosting the service, shouldn't all calls to that service from the client return a 404 or something similar? The gadget and wcf service are running on separate machines. When I stop the iis site hosting the ser...

Help understanding web services

I know what is soap,wsdl and uddi. But what is the relation between them and how to establish the relationship in code. It will be good if someone can post a sample code which has all of these. Thanks in advance. ...

PHP SOAP client help!

Hi guys, I have to create a PHP SOAP client that sends leads, but I have never worked with SOAP before, and my XML isn't that great, here is the code I have managed to write so far. . . <?php try { $client = new SoapClient(null, array( 'location' => "https://wwa.website.co.za/CallmasterTes/LeadService.asmx", ...

What is the best way to secure a webservice?

Hi, As the title allready explains I want to secure my webservice. I've read that you can do this using an soap authentication header, but then the username en password are passed as plain text. I was wondering what I should do to secure my webservice? Examples would be great. I have an example of a company we work with that has 2 web...

Preventing Axis from sending i18n characters in html encoding

How to change character encodings and prevent html encoding. The other party does not understand html encoding. ...

WebService Timeout after a period of time

Hi, I have a project that uses a WS proxy to make calls to it; both the application and the WebService are located on the same computer. The application uses multi-threading to make requests to WS; the ws proxy is instantiated only once (singleton class) and used throughout the application; when i set 2 or threads in the application ev...

Is there any system permissions are required to unzip the files through Webservices at server side

I have a scenario for unzip the files at server side using web services. I just upload the zip file to server. By using web service i have to unzip that file can any system permissions are required. Can any body give me a piece of code in C# ...

Data Binding in axis2

I want to create a simple webservice using Axis2 1.5.1. The expectations from the webservice is: 1. interoperability 2. interaction with custom objects Do i require to use any data binding (initially i thought of using ADB) or is deploying WS using POJO sufficient? Do we have enough documentation for the Data binding? Because Axis2 quick...

PHP SoapFault not WSDL Schema compliant in soapUI?

Hi all, I came across a strange one today, it goes like this: I'm setting up test suites for QAing a web service of mine, which is written in PHP5 - making use of the class SoapFault among others. I use the class to return error message to the clients. Example: if (!$this->CheckHost(getenv('REMOTE_ADDR'))) { return new SoapFault(...

How to know Sharepoint fields controls?

Hi, I am trying to develop a windows application using C# and SharePoint built in web services, that add\update files to SharePoint document libraries. Now i am creating a form that fill the item fields. Is there a way to know each field type and his specific control? ex: single text field is text box, Choice field is a combobox...and...

Add SoapHeader to org.springframework.ws.WebServiceMessage

How can I add an object into the soap header of a org.springframework.ws.WebServiceMessage This is the structure I'm looking to end up with: <soap:Header> <credentials xmlns="http://example.com/auth"&gt; <username>username</username> <password>password</password> </credentials> </soap:Header> ...

Problem with posting to web services within asp.net

I have a web service sitting on a dev machine written in python. I am trying to access said webservice using asp.net via the server side. the webservice has been tested and works in every other instance. but when I hit it via asp.net using a post method asp.net doesn't seem to be sending the post values to the webservice at all, everythi...

How to configure a WCF service to only accept a single client identified by a x509 certificate

I have a WCF client/service app that relies on secure communication between two machines and I want to use use x509 certificates installed in the certificate store to identify the server and client to each other. I do this by configuring the binding as <security authenticationMode="MutualCertificate"/>. There is only client machine. The...

Am I allowed to make a closed source plugin to tinyMCE?

tinyMCE itself is under LGPL but is it allowed/legal to make a closed source plugin for it to one of my projects? ...

How do I develop Salesforce API code for a custom object without Enterprise/Unlimited edition?

Background: I'm building a small application that will be run daily, pulling data from our own in-house databases and sending it over to our corporate Salesforce instance. I've built a custom object (called Marqui_Instance) in our Salesforce instance to house the data. The app will be creating a couple hundred of these, and attaching t...

Creating a Directory on a remote machine using VB.NET

How can I create a directory on a remote server using .NET? Both servers are running Windows Server 2003. I have looked at the system.IO.directory class, and FtpWebRequest, both of which don't seem to do what I need. If there isn't an existing method for this, I should be able to form a VPN tunnel, map the drive, and use directory.copy,...

How do you marshall a parameterized type with JAX-WS / JAXB?

Consider the following classes (please assume public getter and setter methods for the private fields). // contains a bunch of properties public abstract class Person { private String name; } // adds some properties specific to teachers public class Teacher extends Person { private int salary; } // adds some properties specific to stu...

When dealing with WebServices in Android which approach would be better KSOAP2 or Android default HTTPClient

As I am writing a Webservice client to deal with the webservices for my application in android, I am bit confused about the approaches among KSOAP2 and Android default HTTPCLient, Which one would be more relevant to use in Android Suggestions Welcome. Thank you. ...

Call a function from my pc via internet

Hello, On my PC I have a small program to run SQL Server queries and gets the results back. I don't want to duplicate the DB on the server, I want to call that program on my PC from the server (The server runs Linux OS). I was thinking of using a web-service to communicate with my PC (using C# maybe), I can attach my PC to a Dynamic DN...