web-services

org.restlet: Posting JSON content against webservice returns HTTP error 411 (length required)

Simplified code example: http://pastebin.com/9ZQxSXi9 Hi I wanted to experiment with the restlet 2.0 library and the gpodder webservice but somehow i reached a point where I can't see the wood for the trees. The service in the example requires HTTP authentication and to post some JSON content to a URL. Nothing that complicated but som...

upgrading a project from vs 2008 to 2010 loses generated code in service reference

I have a project that I'm upgrading from 2008 to 2010. My problem is with the code being generated by a service reference. Any classes used in the Reference.cs are given by their full name according to the reference The difference results in a 'cannot convert from foo.Data.MtkBaseRequest to foo.WebServicesClient.ModelDataService.MtkBa...

Passing Null Values to Web Services Via SOAP Using Excel VBA

I have a Web Service which has one WebMethod with nullable parameters: [WebMethod] public void SaveValue(double? Real, double? Meta){ //Do the magic... } In my Excel I'm calling the WebMethod as below: Dim WebSvc As MSSOAPLib.SoapClient Set WebSvc = New SoapClient Call WebSvc.mssoapinit("http://localhost:10618/WebService.asmx?wsdl"...

Grails CXF plugin Webservice

Hi, I was wondering what is the best way to handle a request for an update on an existing entity (e.g. a Person) when receiving the request as a webservice request. In my project I have a Person domain class and I would like to expose CRUD operations as webservice operation through the CXF plugin. So I make a PersonService, and expose...

embedded webserver for status reporting in c++?

I'm writing a large system in C++ and want to include an embedded webserver for management and reporting. Can anyone make some recommendations? TIA ...

JAX-RPC Web services

I am new to Apache Axis. Can someone suggest a tutorial for getting started with Apache Axis 1.1/2.0? ...

Publishing a WS with Jax-WS Endpoint

Hello Folks, I build a minimal Webservice and published it by javax.xml.ws.Endpoint. If I try to get the WSDL at http://localhost:1234/AddService?wsdl it works fine. Trying to recieve it at http://192.168.0.133:1234/AddService?wsdl i don't recieve anything. This address is the same as localhost. Is there a posibiility to publish a we...

WebService proxy classes

I have written a java webservice, deployed it on my tomcat and accessed the service WSDL via my webbrowser, all looks okay. The next step was to generate proxy class which can be used by client to communicate with the website. This is what I did next: Lets assume my wsdl is accessible via: http://localhost:8080/testSvc/testSvc?wsdl Usi...

How to infer wsdl URL from war file

Hi, is there a way to find out where to point (http://theserver/theapp/thewsdl.wsdl) from reading a descriptor from the war file generated? (it's a WAS app server) Thanks ...

web service that can withstand with 1000 concurrent users with response in 25 millisecond

Hello Team, Our client requirement is to develop a WCF which can withstand with 1-2k concurrent website users and response should be around 25 milliseconds. This service reads couple of columns from database and will be consumed by different vendors. Can you suggest any architecture or any extra efforts that I need to take while devel...

Alternative to .NET WSE 3.0

I'm using .NET 2.0. There are any alternative to .NET WSE 3.0? Is it possible to pass username and password in soap header without any toolkit, only using code? Thanks ...

Call a webservice via ssl and use a client pass

I call a webservice via HttpWebRequest. Now the owner of the service send a key and said I would need to use it in the future to access the service via ssl. Is there any way to use this key? The key itself is similar to the key when you prepare your server for ssl. ...

WCF client does not include XML declaration in HTTP POST message

Hi This post regards the last hurdle in completing my task of communicating with a Cisco router via the Web Services Management Agent (WSMA), as described here and here. You will not have to read those posts to understand my current question, though. The problem is this: I have build service and message contracts to match the router's ...

Custom exceptions with error codes in .NET Web Services to Client

I'm trying to throw custom exception from a web service and trap it on the client side. I'm using JQuery and getting the JSON-serialized exceptions, so that's a good start. However the problems are: Stack trace is sent to the client which i don't want. I need to add an error code in addition to the exception message. I've tried creat...

Sychronous web service calls in Flex

Does adobe flex supports sychronous web service calls .... justify your answer??? ...

How to verify at runtime if the client WSDL matches the server WSDL?

I am developing a system where .NET (Compact Framework) clients are communicating via SOAP with a Java (AXIS2) server. As the interface is continuously evolving, I am looking for a way to check at runtime if the client interface completely matches the current interface version of the server. What is the easiest way to match the interfac...

WCF could not find default endpoint

Hi all, I am using a service reference to a webservice and created a new instance of it. I created a message and tried to send this to the webservice but I get this error: Could not find default endpoint element that references contract 'receivePortService.ITwoWayAsyncVoid' in the ServiceModel client configuration section. ...

Whether SOA can be Java Bean?

My final year project topic is Web-services using SOA. In this we were planning to build individual components like Login, Profile Page, Captcha, etc.. We will then build a demo web application using those components. I have two questions : Do these components(Login, Profile Page, Captcha) qualify as services? Can these components be...

How to pass parameter to javascript function that contains web service results?

I use this function in javascript to call web service (WCF): function Do(caller) { MyService.GetClient(some_id, CallBackGetClient); } function CallBackGetClient(WebServiceResult) { var result = WebServiceResult; etc. } Now I want to pass parameter (caller) to CallBackGetClient function so I can make dictinction who called Do...

Specify CLR namespace of auto-generated web service proxy class

When you add a Web Reference in an ASP.NET project in Visual Studio the web application's root namespace is always added. So, if I add a web reference called MyWebService and the default namespace of the application is MyApplication the namespace of the generated proxy class will be: MyApplication.MyWebService. However, I want to be ab...