web-services

How to hide the "Missing parameter" message

Hi, In an asp.net web service (asmx), how do I hide the error messages that are sent to the client when it doesn't send the proper parameter: "Missing parameter: parameterName."? In the web.config I have a custom error page setup that works in actual errors, but this doesn't appear to effect the web service parameter validation. Thanks...

Add WebService attributes to a class generated with CodeDom

I am using CodeDom to generate the c-sharp class for an ASMX webservice, but I'm having trouble adding the web service attributes to the class. I am trying to get the following end-result: [WebService(Namespace = "http://schemas.me.com/mywebservice/", Name = "MyWebService")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] ...

Deploy web app on a server but pointing to many database schemas

I have a web service app that has an xml file with Oracle connection properties i.e. DEVFOOBAR schema. I will create a war file of this and deploy to Tomcat on our test server - however we only have this one server but we want the ability to test the webservice against a few different schemas e.g. DEVFOOBAR TESTFOOBAR UATFOOBAR LIVE...

java application servers with php and exploded war support

i am looking for a java application server to install on my machine to deploy a project in an EXPLODED war way but i need this server to support php. i tried using tomcat 6 with apache 2.2 but i failed in doing this. ...

Fault code: soap:Server Fault string: Server was unable to process request. ---> get out!

Hi, I'm doing web service to import data using the API but I cannot import data because there is an error in soap "Fault code: soap:Server Fault string: Server was unable to process request. ---> get out!" What does it mean? Any help is appreciated. Thanks in advance! :) ...

Problem Posting data to a service

I have created a SampleItem just to test: public class SampleItem { public string Name { get; set; } } and the method that I calling from th service looks like this: public void send(SampleItem s) { String siteName = s.Name; } And Iam debbuging this mehtod, What I can notice is that the "s (sampleitem is nul...

WCF consumed by Java - java.lang.NullPointerException

Hi, A colleague of mine is attempting to consume a web service that has been developed using WCF. The error received is: IWAB0014E Unexpected exception occurred. java.lang.NullPointerException at com.ibm.ast.ws.jaxws.creation.command.DetermineWsImportExtensionCommand.buildServiceStructure(Unknown Source) at com.ibm.ast.ws.jaxws...

Issue with returning records back to a web service

I am having some issues in attempting to display a recordset from my webservice. Currently my application involves a client feeding their values into my webservice. The webservice will then call a vb.net database class, which executes a SQL stored procedure, returns a recordset to the database class, and the class will pass the record...

Does calling a secure Web services (HTTPS) requires more setup?

Hi folks, I need to call a secured web service (https). using Java (or even any other prog lang). Do I need to do any extra steps rather than the usual steps to create a client for HTTP web service? EDIT: please I need answer to this question too : If not, So how my client do decrypte the encrypted message sent from the web service?...

soap call error

Hey Guys, I'm trying to call a function via a SOAP webservice. The following code is run: $return_soap = $this->soap->__soapCall($soap_function, $params); I have also tryed: $return_soap = call_user_func_array(array($this->soap,$soap_function),$params); The headers are good, and i'm sending the following parameters: $params = a...

How to find simple secured web services online

Hi folks, I am trying to write a test code against some secured web service. So, I've searched the web for some (https) web service to write the client againest but didn't find... I've looked in one or more UDDI but without any results... can you help me find a listing for web services (hopfully https) Thanks :) ...

How To Access a SOAP WebService From a Flex Library Project

I would like to access a soap webservice from a class in a Flex (AIR) Library Project. How can I instantiate a WebService and get data from a SOAP WebService. ...

How to: Host a WCF Service in a Managed Application

Hi, I'm looking at an MSDN example titled "How to: Host a WCF Service in a Managed Application" at: http://msdn.microsoft.com/en-us/library/ms731758.aspx It has a method public string SayHello(string name) { return string.Format("Hello, {0}", name); } When I browse to the page I get the default page for t...

how to transfer big files using webservice api in wordpress or php

how to transfer big files using webservice api in wordpress or php? Thanks in advance Naveen ...

Paypal API and Paypal's Sample Code?

https://www.x.com/community/ppx/code_samples The sample code returns ACK, but where is the proper response? For example Getbalance, sample code returns ACK https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_GetBalance_cs.txt but the document shows it returns other values? https://www.x.com/docs/DOC-1186 ...

Looking for a web-based log collection/display application

A project I'm working on currently involves using a disparate set of technologies, including .NET, PHP, Asterisk and bash scripting. Each of the applications in use produces some logging; technical logging for administrators and user logging. The technical logging is easy, all logs are written to disk as text files. For the user logging...

Simplest, lightest Java Web Services engine?

I am looking for this simplest, plainest way to get a Java web service up in the air. I used to use Axis-1-on-Tomcat, but with Axis 2 its getting too thick. Some preferences for what I'm looking for: Low memory footprint - A small library with minimal binaries. Axis2.war is 17 MB - I need something lighter. Embedded - Runs from withi...

What should be the reponse code when validation errors happen?

Hey, I'm implementing an API. The API accepts/returns JSON content type. Now, suppose that the data submitted by some POST request is not valid, like a missing attribute, or a duplication exists for the same data. What is the standard HTML response code in that case? ...

How to create a JSON rest webservice in php without using any library ?

I want to create a hello world json rest webservice in test.php: <?php header("Content-type: application/json; charset=utf-8"); $test[] = "hello"; $test[] = "world"; $json = json_encode($test); echo $json; ?> But nothing is returned when I test it with ajax below why ? <html> <head> <script> function ...

Does PHP have a visual Documentation just like Jquery?

For Starters, i would like to note, that this is my first post on Stackoverflow. However, during my web development career, i have used this site numerous times. And now i feel i need an assistance beyond just browsing though google. So my question is does PHP have visual Documentation just like http://visualjquery.com/? Because if no...