web-services

How to associate each user visiting a web app with a separate, temporary process allocated by a service?

Hi all, I want to develop a web application using ASP.NET running on IIS. If a user submits a MAXIMA input command, the code behind will ask a custom windows service to create a new distinct temporary process executing an external assembly. More precisely, there is only one windows service serving for all users, but each user will be...

Java RESTful Web Service Tutorial with Eclipse and Jetty

Hello, I want to build a RESTful Web Service in Java, deployed using Jetty and developed usng Eclipse as IDE. I was wondering if anyone could post or link me to a beginner tutorial (even a "hello world!" would be good, for starters). Thanks in advance! ...

Should data classes which are passed by a webservice be attributes with [Serializable]

Hey guys, I want to transfer some data classes via Webservice: public class MyClass { public int Int { get; set; } public MyClass(int v) { Int = v; } private MyClass() { } } public enum MyEnum { One = 7, Two = 13, Three = 15 } public class TestDataClass { private int _someInt; ...

Iterating with web-service (axis) in python

Hi, When I running web-service method "download" (that should returns binary file) I'm getting following response: ))Zuuid:714C6C40-4531-442E-A498-3AC614200295http://schemas.xmlsoap.org/soap/envelope/ <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www...

Reference SecurityContextToken in Signature + Axis2

I have been searching google for many days and checked all samples of axis2. I am not able to find any solution to my requirement. Request you to kindly provide a sample/link/pointer how I can achieve this. We have an axis2 1.3 client talking to WCF service. Our client send RST/SCT request and service sends back RSTR response back to c...

Spring 3.0 JAX-WS and or vs. Apache CXF

Spring 3.0.1 has solid JAX-WS web services support. At the same time, I see that many articles refer to Apache CXF as a great web services framework. If I work in the Spring/Hibernate world and want to expose the high-performing web services to the front end, should I consider utilizing Apache CXF? Is there any advantage to adding this...

.NET Memory Leak

Hi, After running our stress testing on our ASP.NET application access to internal web services, our mid-tier server (where we host ASMX .NET 3.5 web services) showed close to 1GB of memory consumption. Upon the review of memory dump from mid-tier server, I have found over 1000 objects of Microsoft.Xml.Serialization.GeneratedAssembly.A...

Upload to CXF restful web service

I'm trying to implement apache commons fileupload in my cxf restful web service. For some reason, ServletFileUpload.isMultipartContent(...) always returns false; I've checked the content-type via: httpServletRequest.getContentType() and it returns multipart/form-data as expected. Anyone know what is causing the isMultipartContent method ...

axi2(1.5) is not defining the elements in wsdl types

Hi I am trying to create a web service as an "aar" file. But when i deploy it... i can not see the wsdl:types or xsd ... here is the wsdl <wsdl:definitions targetNamespace="http://ws.apache.org/axis2"&gt; <wsdl:documentation>Inverse</wsdl:documentation> <wsdl:types/> <wsdl:message name="getInverseRequest"/> <wsdl:message name="getInver...

MS SQL -- Okay for multiple users to connect/read/write to database from a web service (c#)?

Hello all, This is probably a simple one... Right now I have a working web service (programmed in c#) and it offers up two webmethods that either read or write data to a MS SQL database. What I want to know is this... Do I have to worry about errors when multiple users try to connect to, reading from, and writing to the database? Furth...

jQuery AJAX not hitting ASP.NET Web Service when passing parameters

Hello there! js: var paramStr = $('#id1').val() + '|' + $('#id2').val() + '|' + $('#id3').val(); paramStr = '{"searchCriteria": "' + paramStr + '"}'; $.ajax({ type: "POST", url: "/MyService.asmx/MyWebMethod", data: paramStr, contentType: "application/json; charset=utf-8", dataType: "json", ...

What's THAT website which display's a user's browser, resolution, IP address, flash version, etc...?

I didn't bookmark it, and now I need it. ...

What are some good Axis2 tutorials/books?

Hello everybody, I am currently learning Axis2 and would like to know what are some good tutorials or books. I know SOAP and WSDL already and currently reading the Quickstart Apache Axis2 book but don't like it very much so far (seems other either). It has a lot of theory and makes lots of comparisons with Axis1 (which I don't know ei...

Why can't I get to the SOAP request XML inside my web app?

I have a .NET VB web app that talks to a remote web service on my clients servers. Sometimes we receive an error message from the remote service that is generic and does not tell us what is wrong. I want to be able in those circumstances "save, copy, etc" the SOAP request XML and send it in an email to their programmers. Is this not a ...

web services api: to wrap or not to wrap?

When providing a web services API (well, let's say SOAP), do you provide a library wrapper along with it to make it "easier" for people to use? Or do you just package up a WSDL and documentation for it and let people figure out what to do with it? What are people doing usually? I've seen a bunch of examples where the wrapper is provid...

Calling web service through .NET class library from excel

I have an Excel 2003 "application" that at this time the users refuse to part with. I am updating it to use a .NET class library for some of the calculation, to try to minimize the risk of using excel. This .NET Class Library calls a .NET WCF Web Service. When trying to call a function that utilizes the web service, the class library th...

How should I handle authentication in my REST API?

I am new to this but I will try my best to explain what I am trying to do. I have a catalog of products and various private information that my users want to be able to access via their website. For example: User-a has an e-commerce site and they want to sell my merchandise. They will be able to access a certain products details via...

Can we have both RESTful and SOAP Web Services in our application

We have been using SOAP based web services in our J2EE application. Now there is a requirement of having client for RESTful web services. If we are going to have client for RESTful, is there any problem? Does it mean that not consistent Architecture? ...

JAX-WS client without having to generate new proxies when switching between test/production

I'm trying to configure my JAX-WS Client to switch between test/production enpoint without having to re-generate proxy classes with wsimport. The service I'm trying to consume use different WSDL's in test and production. For example the targetNamespace is different, as well as the soapAction address. I've tried using Springs JaxWsPortP...

Over Web Service, Update A Table From Another Same Table Which Is In Different Location

Hi, I have two different database. One of them, original database and another one is cache database. This databases are in different location. Ones a day, I must update cache database from original database. And I must this update progress with a Web Service which is working on Original Database machine. I can it with clear all Cache ...