web-services

send message to a web service according to its schema

Hi: When I request a web servcie,it give me a response which show me the required parameters and its schema,for example: the response of the web service for the descriptin of the parameter Then I start to organize the next requset according to the parameter,for the parameter "bandWith" I set it as the following: <InputParameter parame...

SOAP Web Service method naming conventions

Consider a Web Service (e.g. SOAP-based) that has an operation which accepts a bulk of data from the client. From the server's point of view it is receiving data, but from the client's point of view it's sending data. How should that operation be named? The options are ImportData ExportData / SendData Is there a de facto standard for...

Download file using ajax and webservice

Hi All There is this 3rd party webservice. One of the public webmethods available is a GetDocument() method. This method returns a Document object. The Document object has properties for File(byte[]), ContentType(string) ect. My Question : Can I subscribe to this service using javascript(mootools) + ajax + JSON, return the document obj...

Ensure exclusive access to webservice

Just to be on the safe side, what's the best practice to ensure that only my application has access to my webservice, which is hosted on a public server? Should I implement I shared key or something? My webservice is hosted on Googles App Engine and my Application runs on iPhones and iPads. If you need further information, just ask. ...

what is the best code,script,module or package for read data from a web service?

I want to read web service data from a website and display it into my website. i have these data: address: WebService/TsePublic.asmx service name : InstrumentDetailOneIns input parameters :UserName,Password,CIsin is there any available code for use? ...

Can nusoap returns arrray of string ?

Hi all, I would like to return an array of string in my web services I've tryed : <?php require_once('nusoap/nusoap.php'); $server = new soap_server(); $server->configureWSDL('NewsService', 'urn:NewsService'); $server->register('GetAllNews', array(), array('return' => 'xsd:string[]'), 'urn:NewsService', 'urn:NewsService#GetAll...

get error with using php nusoap for web service.

i want get data from a webserver (.net) and display it into my website. my code is : $client = new soapclient('http://www.tsetmc.com/WebService/TsePublic.asmx?WSDL', true); $client->useHTTPPersistentConnection(); $user = array('UserName' => 'etc'); $pass = array('Password' => 'etc'); $result = $client->call('Board', $user, $pass); ...

Most Efficient Way of calling an external webservice in Java?

In one of our applications we need to call the Yahoo Soap Webservice to Get Weather and other related info. I used the wsdl2java tool from axis1.4 and generated th required stubs and wrote a client. I use jsp's use bean to include the client bean and call methods defined in the client which call the yahoo webservice inturn. Now the pro...

iphone tableview & webservice

Hi, I have a tableview, when the user selects a row i call a webservice depending on which row is selected. my problem is i can connect to the webservice but i dont get any response from the webservice. I used soap client to test if webservice is working correctly or not. //rootviewcontroller.m - (void)tableView:(UITableView *)t...

How do I create a web service with rails?

I have a silverlight application that needs to talk to a rails app to add a record. I have been able to get the silverlight app to successfully do the POST assuming everything goes good. Now, however, I need to be able to make it more robust and have the rails app return error/success messages to the silverlight app in a format it can ...

How does MTOM work + sample code

I am trying to make a very simple web-service which does the following: The client hits the web service requesting a file. The web service's service class queries a hashtable which has the key (search query) and the value as the base64encoded value of a file (say a pdf) Now,I need to use MTOM to return the base64encoded value stored in...

Convert in-memory pdf to byte[]

I'm writing a websercive in C# that will generate pdf-files and send back to the caller as a byte[]. The pdf file is generated using a third party component, but I'm struggling with the conversion. The pdf is just an in-memory object in the web service, and I can't find any good way of converting the generated pdf to a byte[] before retu...

How can I tell what script a website uses or is built with? Could it be an 'off the shelf solution' perhaps?

Hi. There is an excellent website that I would like to emulate some of the characteristics of in a website that I hope to develop. (I do not intend my site being in competition with them - mine would be more of a social networking site). Can anyone tell me if it is possible to detect which script and platform is being used on www.shoutl...

Does wsimport tool from JAX-WS allows to create RESTful class clients?

Im using wsimport but I cant find why or how to create classes for RESTful web services/ports defined in WSDL. Does wsimport tool from JAX-WS allows to create RESTful class clients? ...

How do you modify the SOAP header for a .NET web service proxy generated by VS2008?

Is there a way to modify the header (say to insert a security / authentication element) for Service References that are generated by Visual Studio 2008? How would you do it? ...

How to send complex types from PHP SoapClient to ASP.NET SOAP server?

Hello I'm having problems sending arrays, structs and arrays of structs from PHP to an ASP.NET SOAP server... Anyone have a sollution for this? I've googled for days and any sollution worked for me. Perphaps I'm forgetting something... There are examples of my code: $client = new SoapClient($options); $pCriteria = new stdClass(); $pC...

How to store the Connenction String in only the Data Access Layer (.NET Class Library)

Hi! I got a solution that includes 3 different projects, a Class Library, a Web Service and a Windows Service. MySolution.DataAccessLayer (Class Library) Using Entity-Framework 3.5 to access the database. MySolution.WebService (Web Service) MySolution.WindowsService (Windows Service) My problem is that a have to include the Connect...

Unable to load WSDL file error in flex while making a call to a web service.

I am trying to call a webservice from my Flex application and this is the code: <mx:WebService id="myWebService" wsdl="http://172.16.111.103:22222/cics/services/PRESENT1?wsdl"&gt; <mx:operation name="PRESENT1Operation" result="resultHandler(event)" fault="faultHandler(event)"> </mx:operation> </mx:We...

Connect to https:// webservice in asp.net app

Hi All, I have an ASP.NET website that is contacting a webservice. Everything works fine connecting via http but when I try https:// it can't connect. I don't seem to get any error from the website and the webservice logs show nothing, meaning nothing has connected to it. I can connect to my https:// webservice from a site like soapcl...

How to make URL pattern like app.example.com?

I have my domain say "example.com" (java, GlassFish Web Server) Now I have 3 application.. say A,B,C. Now what I want is, if user hit a.example.com OR example.com/X then A application should get invoked. similarly for B and C. b.example.com or example.com/B, c.example.com or example.com/C. like mail.google.com news.google.com. H...