web-services

creating a web service with paging

I am creating a web service in asp.net 2.0 with c# and have a web method which looks like this: [WebMethod()] public List<Comment> GetYourSayComments(int pageNumber, int pageSize, int commentTopicId) { CommentManager cm = new CommentManager(); return cm.GetYourSayComments(pageNumber, pageSize, commentTopicId, tr...

How to log calls to webservice via SOAP in PHP

Hi I am using a third party webservice via SOAP from a HTML page: http://www.monirulislam.com/test/gmap/HMap_GMapV2.html This page refers to a proxy page (in PHP): monirulislam.com/test/gmap/HeatMapGenerateProxy.php Now I need to know what parameters are being passed by the PHP file, what the webservice is returning etc. i.e. log all ...

calling .NET webservice using ksoap Android

Hi All, Same question is asked previously in this forum. I am asking it again after referring all question in this forum. Problem :- I am trying call call .NET Web service from Android device. I can call web service without parameter successfully; but when tried to pass parameter it shows null in server side log. Technology/API use...

Intercept SOAP messages from and to a web service at the client

Hi, I have a client that communicates with a web service. The class that I communicate with is a C# class that is generated through wsdl.exe. I now want to log all incoming and outgoing messages. What I've done so far is to write a class that inherits from the automatically generated C# Class and I have overridden the GetReaderForMess...

Windows Mobile Emulator connection timeout accessing local web service

I have a Windows Mobile 6 application that is trying to make a web service call to a service hosted on my local machine so I can debug the logon process with VS2008 connecting to both the emulated device and web service. I have configured the device emulator to connect to the internet and confirmed this by doing a Bing search from IE o...

problem connecting to remote web service

Hello, I was trying to connect to a fax web service, so that I can access the features of the fax server... This web service is a "wsdl" file accessed through tomcat server, it is under the "webapps" folder. when I try to call the web service using http, I face the following problem: Client found response content type of '', but expected...

Cannot access WebService stored on Windows Server 2003 from inside Windows Server 2003

Hey all In all cases we are running .NET Framework 3.5 My company has a server running Windows Server 2003 R2 (Service Pack 2), 32-bit processor. The IIS instance on this machine runs several Websites. One of the Websites we are running is Microsoft CRM 4. When I attempt to log in to CRM from my local PC, everything's perfectly straig...

Why am I getting 400 bad request when calling a .Net 2.0 web service from WCF over https?

I have a web service that contains a method I need to run to generate a report. The web service method is written in .Net 2.0 and works fine on my test system which runs on the same server as the live system. The only difference is that the live version uses https. Whenever I change the endpoint address to the live service and run my ap...

Different client cert per "customer" for web service client with Glassfish and Metro WS

There is a system (Web service server) we should call "in the name of the customer" with different client certificates. How can I use different client certificate per thread or "customer" in web service client? What is the best practice to do suchlike stuff? Could you provide some description or sample code? Where to store certs and how ...

Lightweight & Fast REST Server library for java?

Hi, I'm looking for a lightweight REST library. It must be small (in kb size) & Fast (In total execution time). The optimal solution is a single jar without any dependencies what so ever. The application is designed to run on the AppEngine so the library should work on GAE/J platform. Thanks for the helping, Maxim. ...

Mobile Application Using Sencha Touch - JSON Request Generates Syntax Error

Hi, I started playing a bit with Sencha Touch. So I've built a really simple application based on one of the examples just to see how it goes. Basically it creates a JSON Request which executes a Last.FM web service to get music events near the user's location. Here's the JSON code: var makeJSONPRequest = function() { Ext.ut...

Exception when using @SchemaValidation annotation on JAX-WS endpoint in Weblogic

I am trying to get schema validation working for a JAX-WS Web Service deployed on Weblogic 10.3.3. According to the documentation, this should be as simple as adding the annotation "@SchemaValidation" to the endpoint class. However when I try this the following exception is thrown when the application is deployed: Caused by: javax.xm...

REST/JSON Web Services Java EE Framework

Hi all! I'm will build a web service. I'd rather like REST/JSON than SOAP. Anybody can tell me what is the best Java EE framework for that? Thanks! ...

How to use SSO integrated Web Services from Desktop Application

How would you integrate web services with an SSO provider? I know you can use the SSO-provider's security ticket to validate that the user is authenticated, but what about when you have a desktop application which uses web services? How do you authenticate the user of a desktop app by integrating with an SSO provider? I don't think SSO ...

asp.net web application can't connect to webservice anymore- fails with an error.

hi, I have an asp.net web app which i recently upgraded to .net 4.0 framework and published. Part of the web application functionality is to connect to another service when user submits info. I get the following error: A connection attempt failed because the connected party did not properly respond after a period of time, or establis...

Is it possible to use a USB flash drive to serve files locally to a browser?

Using just python, is it possible to possible to use a USB flash drive to serve files locally to a browser, and save information off the online web? Ideally I would only need python. Where would I start? ...

Is it possible to POST a file and some data in the same call to a webservice?

I would like my webservice to be able to take a username and a binary file parameter in the same call to it. Is this possible? I thought I could use WebClient.Credentials and set a username that way, but it doesnt seem to be working ...

How to configure a proxy class for an ASP.NET web service for flexible deployment to production

I inherited a web app at the Visual Studio 2003 level that placed all of its code for accessing SQL server in an ASMX web service. This web project had a web reference to the web service. I needed to bring the whole thing under source control, upgrade it to Vstudio 2008 and make a bunch of fixes and enhancements. In doing this, I came ...

Problem accessing .NET web service from Windows app

I have an AJAX web application. ASP pages are accessing various Web Services that are part of the application using standard Microsoft .NET AJAX extension APIs. Now, I have to call some of the web services from the Windows app. It works when I add web reference to a project on my local development machine. But when I try to access web...

Access C# .net web service in android

How can I use .net web services using android? My code is like this... package Webservices.pck; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE; import android.widget.TextView; import android.app.Activity; ...