Hi all,
How can i change the Response status code in Axis handlers?
When there is an error, the response contains the soap fault. But, the
response header shows status code as 500 (internal server error).
I wanted to change the status code to 403(forbidden).
How could i do it ?
Regards,Sathis
Hi Chandrashekhar,
thanx for your answer. Actually, because of pressure of
time, I'm thinking about to simply change the return type to String, since
at least Strings are definitely working in this web service interop nightmare
world ;-)
Merten
From: [EMAIL PROTECTED] [mailto:
Hi Merten,
I havent faced this problem but from
what I have read... boolean return types are automatically converted in
its form at both ends.. Infact if method returns null, its wrapped by Boolean
wrapper..
Doubt I have whether the method returns
non null and non boolean value.. Its just my gues
Hello, anyone else experiencing such a problem??? Thanx!
> -Original Message-
> From: Merten Schumann [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 1:41 PM
> To: axis-user@ws.apache.org
> Subject: problem with web service method which returns
> boolean, not understood by JAX-R
Hi Kumar,
I faced the similar problem with return
types. There are no standard serializers/deserializers available for Map
implementations.
Even I had to convert them to arrays..
the structure I followed was :
Vector of String arrays..
First element of Vector being String
array headers..
and rest
Hi,
I have a sample echo services. I am sending an attachment that is echoed
back. It is serialized properly but throws exception while deserializing
echoed message.
The message that is sent it.
POST /services/MORServlet HTTP/1.0
Content-Type: multipart/related; type="text/xml";
start="";
boun
Title: Service Impl class public constructor
All,
I have a service impl class without a public constructor. I have generated the wsdd file such that it calls the service impl file directly instead of using the SOAPBindingSkeleton. Now when I try to access this web service or execute any method
Anne-
Thank you for the response. Atleast a HashMap represenation in a
document/literal WSDL with key's of java.lang.String type and value's
as java.lang.String type can't be consumed on the .NET/Java side ?
I am aware that Arrays's confirm to BP 1.0 but just thinking how can a
HashMap cannot be
Hi.
just posted a question of the same kind and got a response.
in your WS you can get the soap message using
org.apache.axis.MessageContext.getCurrentContext() which gives you an
object of type MessageContext. that you can use just like in your
handlers, so just retrieve user and pwd again in th
I was able to overcome the issue of WebSphere loading it's own SAAJ
implementation by removing all but the following JARs from WEB-INF\lib:
axis.jar
axis-ant.jar
saaj.jar
log4j-1.2.8.jar
This fixed the problem of the web app failing to start when its
classloader mode was set to PARENT_LAST with
It might be best to treat WS A as a "message-style" service (that receives
a SOAPEnvelope as argument and returns a SOAPEnvelope or SOAPElement, see
the user guide), but if you can't do this for some reason, you can still use
the MessageContext.
org.apache.axis.MessageContext.getMessageContext(),
Hi.
This is more of a general question I am afraid.
I would need to have access to some parts of my SOAP message in the
service implementation. More precise, I am sending some info to a WS A
in SOAP headers. This service A in turn makes a call to another WS B(
in doing so WS A is acting as a cli
Kumar,
I suggest you convert your hashmap into an array.
Anne
On Sun, 20 Mar 2005 18:49:29 +0530, babloosony <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am using AXIS 1.2 RC2, Custom (De)Serializers. I am returning a
> custom class (Forecast.java) from a EJB Web Service method which has
> jav
Hi All,
I am using AXIS 1.2 RC2, Custom (De)Serializers. I am returning a
custom class (Forecast.java) from a EJB Web Service method which has
java.util.HashMap member variable in it. Now when I access this
service I am getting below soap response from the web service
deployed on WebSphere. It i
14 matches
Mail list logo