Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

webservice with changing response

Only call webservice after commit has been completed
(25 lines)
SecurityPolicy Option
(22 lines)
Feb 4, 2012
Fachhoch
Fachhoch
Can there   be a web service whose return type varies based on parameter 
client passes.
I am talking about a web service whose  returns varies completely , like  a
webservice  when given a parameter employee  return    employe object and
when give parameter employer return employer  ?

the reponse of the web service will return depends on client parameter.
 












Reply
Tags: webserviceemployeweb serviceemployee return
Messages in this thread
webservice with changing response
reply Re: webservice with changing response
(41 lines) Feb 6, 2012 07:34
reply Re: webservice with changing response
(17 lines) Feb 7, 2012 14:33
reply Re: webservice with changing response
(43 lines) Feb 7, 2012 15:59
reply Re: webservice with changing response
(49 lines) Feb 8, 2012 16:22
reply Re: webservice with changing response
(60 lines) Feb 8, 2012 16:36
reply Re: webservice with changing response
(14 lines) Feb 14, 2012 11:38
reply Re: webservice with changing response
(29 lines) Feb 14, 2012 12:41
Webservice Response in jmeter Response data tab
June 20, 2010 02:28:23 AM
Hi All, I am using webservice request in jmeter but i am unable to get the soap response though the request return a success message. can anyone help me out for this. So, that i can view the response that is visible in soapui response…
CFX - how to manage webservice response
November 14, 2011 12:25:50 PM
Hi all, I'm new with Camel and currently, i'm trying to call a web service through CXF and, depending on the response (a simple String), put the message on a queue. To be clear, i have configured a simple route like that : <route…
Changing response staus on the client side
March 22, 2011 09:20:46 AM
Hi, I am writing a client to the server (no changes on server possible), that sends responses with no message body, with response status 200. CXF throws than WebApplicationException, as it expects status 204 in such situation. Is there a way to…
Changing worker user account causes throttling of response size?
January 5, 2012 10:36:27 AM
Hi all, I'm setting up Nginx on a RHEL machine. I am proxying to an ASP.NETapplication. The ASP.NET application has some nifty built-in document viewer tool, and so it often downloads relatively large files (in the realm of 1MB-5MB, or larger).…
Created: (CXF-3004) Inconsistent HTTP response code 202 returned for WS-RM piggybacked Ack response
September 20, 2010 10:15:21 AM
Inconsistent HTTP response code 202 returned for WS-RM piggybacked Ack response message
Resolved: (DIRSERVER-1463) Response controls are not added to the response messages correctly
June 2, 2010 12:13:37 PM
[ https://issues.apache.org/jira/browse/DIRSERVER-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSERVER-1463.
Created: (SLING-1850) Make sure error response is sent back even if the response cannot be reset
October 22, 2010 09:44:44 AM
Make sure error response is sent back even if the response cannot be reset
Closed: (SLING-1850) Make sure error response is sent back even if the response cannot be reset
January 28, 2011 03:08:25 AM
[ https://issues.apache.org/jira/browse/SLING-1850?page=com.atlassian.ji ra.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed SLING-1850.
Closed: (DIRSERVER-1463) Response controls are not added to the response messages correctly
June 17, 2010 11:25:24 AM
[ https://issues.apache.org/jira/browse/DIRSERVER-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRSERVER-1463.
Created: (CXF-3234) JAXRSOutInterceptor can be confused about response Type when Response entity is
January 7, 2011 09:19:24 AM
JAXRSOutInterceptor can be confused about response Type when Response entity is overidden
HOWTO streaming search response data into servlet response ?
May 11, 2011 09:33:25 AM
Hi, what would be the best way to streaming data from SearchResponse to servlet response? I can imagine something like the following would work but is definitely not very efficient: @Override protected void doPost(HttpServletRequest request,…
Incorrect response time - JMeter Response Time > Actual Response Time
July 27, 2010 04:35:19 AM
Reproducible: Some time issue. 20% for each response time. This is the issue for response time from jmeter. I have record the request from site and run these request, but some of response time is larger than actual response time. E.G. The…
"Response message: Unauthorized" (Response code : 401) for Ajax requests
April 13, 2011 05:36:43 PM
Hi, For some reasons, I am getting "Response message: Unauthorized" (Response code : 401) for the Ajax requests in my script. The same request works fine for many threads and few randomly fail. I added Authorization Manager at Test plan level…
WebService do not work
November 11, 2011 10:09:12 AM
Hi all. I try to create WSDL first webService with use spring. It startup without any ERROR. But it not work. Then i try to get wsdl from service i got only <wsdl:definitions xmlns:ns1="http://schemas.xmlsoap.org/soap/http"…
cookies and webservice
January 19, 2011 08:11:18 AM
Hi, I have to use a webservice (tomcat 7.0.0. + axis2 1.5 + jdk 6.0.21) installed in load balancing configuration. I need implement session affinity but in the response there isn't the jsessionid. In the application context the flag cookies is set…
Re: proxy to a .Net webservice
October 17, 2011 06:48:34 AM
Dear ??, I face the same problem as yours, please could you show me configurations which worked for you? Thanks Posted at Nginx Forum: http://forum.nginx.org/read.php?2,84720,216823#msg-216823
Re: Passing XML to webservice?
February 24, 2011 02:07:09 AM
Hi Warrel, we worked on a related topic, web service security. If someone's requiring web service security for SOAP calls / requests in Cocoon, we would be glad to share or stuff. Greetings Andreas ----- original Nachricht -------- Betreff:…
Re: webservice annotation
May 26, 2010 04:49:14 AM
I've checked in the jar library which is inside my bundle and I've found that in the package org.okkam.client.data the file ObjectFactory.class exixts (but not the file jaxb.index), so I really don't understand the meaning of that error. I've…
Re: Quartz and WebService
July 10, 2011 03:15:28 AM
Can you detail more what you want to do? Its not so clear what you write. ----- Claus Ibsen
Re: webservice annotation
May 26, 2010 03:58:44 AM
I've done some testing and moving aroung some library (I've put the library rt.jar in the main application and not in the bundle), but now I've got a different problem: java.lang.RuntimeException: javax.xml.bind.JAXBException: …
Tomcat: WebService response as zip archive instead of file.
January 24, 2011
Hello. I want web service to make response as a zip file. Generally there is nothing hard to do. But there is one thing I want to know: Can I zip…
Changing dropdown value based on AJAX Response
January 31, 2011
Hi everyone, I'm not very proficient with AJAX but by all accounts I think this should be working. What it's supposed to do is the user selects a…
Can i use tcpdump to get HTTP requests, response header, response body?
January 23, 2011
I am using tcpdump to get HTTP data by execute the below command: "sudo tcpdump -A -s 1492 dst port 80" the result of above command : 1. headers , i…
How to tell if there is already a response buffered in httpcontext.Response
January 19, 2011
I have an ASP.Net application that shows an error page using Server.Transfer() when it gets a global exception. This is all good, but sometimes an…
Is response.redirect always an http GET response?
January 29, 2011
is response.redirect always an http GET response? or it could be POST?....
Webservice and FMS
April 11, 2011
i have prepared a multi user chat using flash media server. now i want to save that chathistory to save it in a database. for that i decided to use…
Https webservice and OMS
May 22, 2011
hi, i'm trying to develop a web service for outlook mobile service (OMS). it requires HTTPS based wsdl.....i'm using netbeans and have no clue how…
Call WebService from C# application using SSL
April 13, 2011
Hello, In my C# desktop application, I am calling web services developed in php. I can have the CA file. I don't know how to call the web service…
Getting CertificateParsingException while calling a webservice with SSL
January 4, 2011
Hi, I am trying to call a webservice with SSL, but am getting the below exception. I am using SUN One Webserver 7. I have set the SSL as below. I…
Authentication for Both Webapplication and WebService
January 12, 2011
I'm currently working on an application consisting both of a webapplication and client software. The client communicates via webservices, supporting…
Zend post to webservice
March 17, 2011
I need to post some parameters to a secured web-service with password(written in asp) with php(Zend Framework). I get errors like "Unable to find…
Why would I be able to hit a webservice through my web browser but not through code?
March 11, 2011
This question is related to these existing questions: Why wouldn't I be able to establish a trust relationship for a SSL/TLS channel? Could not…
Webservice not work in android2.2 sdk
February 10, 2011
Hi, I have use ksoap2 to consume web service which is in .Net it's works fine with android 1.5,1.6,2.0,2.1 but not work in android2.2 emulator or in…
Error while generating webservice
June 22, 2011
I tried a tutorial webservice, just a helloworld sort of program and tried to generate webservice using tomcat and eclipse. This is the error I see…
Android as Webservice Server?
May 30, 2011
Hi, maybe contrary to others, I´m thinking of running a webservice Server on Android. Is there any Library that supports this? I think ksoap2 e.g.…
Spring WebService priority
January 16, 2011
I am try to ask a new idea here which I've see nowhere. Please forgive me if I don't explain it very well. Almost every OS has a feature to priority…
Cannot access WSDL for my java webservice
May 26, 2011
I hava been developing a webservice in Java SE 6 with the Webserver JBOSS 5 and have been trying to work around a problem that came up when I…
How to authorize an android app for a php-database-webservice?
June 21, 2011
Recently I programmed a little app for my android device. As the datastorage for the app, Iam using a mysql database, which can be accessed via…
Netbeans RESTful webservice timestamp as PK
June 6, 2011
I am trying to create a RESTful web service to expose data from a MySql database. After following the Netbeans documentation all seems to be working…
JavaScript client for Restful webservice with SSL.
May 20, 2011
I want to connect to a Java Restful webservice that uses SSL from a Javascript client. I could write standalone Java client that connects to the…