web-services

Working with web service ?

I want to copy all the video files on my server & save it in the web contents folder of a web service , so that it can be visible to all later on ! How should i proceeed ? ...

Problem in calling SOAP web service (written in PHP) from ASP.Net

Hi, I am trying to call a webservice, written in PHP from ASP.Net. I have added Web Reference using "Add Web Reference". The url is: http://mikikard.com/public/webservice?wsdl In Add Web Reference Window, I can see the list of functions. But, When I try to build the Website, It gives the following Error: Unable to import binding 'Soap...

SQL Server 2005 HTTP Endpoint Authentication

Is there any way of setting up an endpoint that does not require Integrated Authentication or HTTPS - either basic username / password authenticaion or none at all??? ...

Create new instance of a page and obtain URL

Hi, i'm a beginner web programmer. I've been coding desktop applications primarily. Right now, i have created this web app, in Silverlight, that uses a web service of my own for querying the database. The thing is, one of the app functionalities is the ability to open PDF files. I know that silverlight won't let you do this, but using a...

Axis2/C - Libxml2

Hello every one! Has any one managed to use libxml2 with axis2c. Please correct me if i am wrong , if one goes with libxml2, all parsing/creation will be done by libxml2 api and not axiom api.. I would love to see a simple example for managing requests & response.I had a look at the wrapper classes , unfortunately i can not make how to...

Invoking .Net WebService from Java

Hello, I had a .Net webService that returns a custom class, lets call it "MyClass", used like this example: [WebMethod] public MyClass sampleMethod() { return new MyClass(); } If works ok when invoked from a .Net application. From a Java application using AXIS I am getting the error "MyClass is referenced but not defined". How...

host .net 3.5 webservice on dynamic ips / domains

hey guys i have written a small webservice which allows users of a company (lets call it xyz) to login to xyz's website remotely via my iphone app (without ever going on xyz's official website to login) after logging these users programatically to xyz's website, i can allow my users to do many authenticated tasks xyz offers since xyz d...

Should services ask for credentials at each request?

I wonder what is the optimal authentication method for services and webservices: user/password is sent on each request user/password is sent once to obtain an authentication code that will be sent on each request Is there any alternative? Which is better? Why? ...

How can I fix the web reference proxy that Visual Studio generated to handle jagged arrays?

It seems there is a known bug in wsdl.exe, the tool that Visual Studio uses to generate web service proxies. With certain XSD schemas the tool will generate classes that can't be deserialized from the XML. As far as I'm concerned that's unacceptable, but I don't know how to fix it. I will describe my case in detail, hopefully somebody...

Web Service in Delphi 5

By using Delphi 5, can I call a function in web service which is developed in VB.Net and has some parameters and returns an XML? If yes, then what components will I use to call the web service function and the XML that will be returned by that function? ...

Bing Maps Route Service CalculateRoute returns "An error occurred while processing the request."

I've written a Silverlight class to consume the Bing Maps Routing Service. I'm creating an array of Waypoint objects from lat/long data that I have stored in a database, and sending that to the CalculateRoute method of the webservice in order to get a route back, but I am unable to successfully get a route back. The response always con...

Passing serialized object through web service vs. Passing the object

I have a webservice in C#.NET with the following namespace: [WebService (Namespace = "http://enterpriseName/wsName")] The web service contains a WebMethod GetServiceObject and a class MyObject. This web method returns a string whose content is a serialized instance of MyObject. [WebMethod (MessageName = "GetServiceObjectXML" Descript...

Multiple web services sharing the same classes

I have 2 web services, one written in java and the other in c#. The java web service is the main web service and the .net web service is a backup, so the .net service basically just mirrors the java service. The problem is that when i generate my client code using wsdl.exe /sharetypes none of the types are shared. This leaves me with ...

PHP – Sending quick API response to client while server works

I have created an API that is used on several sites. The client sites call the server with either file_get_contents or curl and accesses a url of ours like "http://www.myserver.com/api/record.php?some=thing". The client makes the call and then waits for the API to respond before processing the rest of the page. However, some of the time ...

How do I make a "proxy" class for a web service in Eclipse for Java?

I can't figure this out, I'm a pretty novis Eclipse user. I'm a .NET/C# Guy by trade, and playing with Java in my spare time. I have a .NET WCF Service hosted with basicHttpBinding -- I'm successfully calling this service from another .NET application, I've used the Visual Studio SvcUtil to generate the proxy class (via Add Service Refe...

web service error ' it does not have a parameterless constructor '

I've created a web service , which can a method to set the user credential using Microsoft.Web.Services3.WebServicesClientProtocol. The sample code is : <WebMethod()> _ Public Sub ClientCredential1(Of TSecurityToken As SecurityToken)_ (ByVal UserCred As Microsoft.Web.Services3.Security.Tokens.UsernameToken) Dim cPr...

Dynamic invocation of WSDL 2.0 described service

Hi everybody, I am building a system in Java/Groovy that involves dynamic invocation of Web services. I use JAX-WS to invoke a service with a WSDL 1.1 interface, but I could not find any helpful information about how one would go about to implement DII for WSDL 2.0 descriptions. Could anyone of you point me in the right direction about...

Flash webservice (remoting) calls in CS5 using Flash 10

I'm finding little info out there on using Flash and remoting services. Currently I'm starting out using AMFPHP which works pretty well for sending back simple sets of data but I'd like to send back complex query types which translate to RecordSets. I have two problems: 1) Is this the way it's currently done? PHP backend with AMFPHP ...

iphone xml parser as easy to use as the objective-c JSON framework

basically im looking for something that will just turn xml into an nsdictionary hierarchy. ...

java call function from multiple threads not declared as thread safe

Hi, There is a JDK function that, although the javadocs does not declare it as thread-safe, from looking at the code in Google, it seems that I could get the result I want by calling it from multiple threads without undesirable side-effects, since the function uses mainly stack variables. So it does not matter if it has synchronized blo...