axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Punnoose, Roshan" <punnoo...@bah-systems.com>
Subject [Axis2] Change response status code
Date Tue, 13 Mar 2007 14:16:08 GMT
How do I change the response status code on a return? That way I can
return any status code I want to?

Roshan Punnoose
Phone: 301-497-6039

-----Original Message-----
From: Paul Fremantle [mailto:pzfreo@gmail.com] 
Sent: Tuesday, March 13, 2007 9:51 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] WSDL redirect

Roshan

I'm afraid Axis2 doesn't work like that. It has to parse and validate.

Paul

On 3/13/07, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
> Ok, I did this, but am getting errors because AXIS is trying to
consume
> my WSDL. Aside from the errors from AXIS, how do I specify the wsdl
> parameter such that it does not parse and validate it, but just
> redirects to the wsdl itself?
>
> Roshan Punnoose
> Phone: 301-497-6039
> -----Original Message-----
> From: Paul Fremantle [mailto:pzfreo@gmail.com]
> Sent: Monday, March 12, 2007 6:38 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] WSDL redirect
>
> Roshan
>
> I think if you specify
> <parameter name="useOrignalWSDL"> true
> </parameter>
> in services.xml and include a serviceName.wsdl in the META-INF
> directory then you'll get what you want.
>
> Paul
>
> On 3/12/07, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
> > For most web services, you should be able to do something like this
to
> > get the WSDL:
> >
> > http://{url}/{service}?wsdl
> >
> > And it should return the services wsdl.
> >
> > In most cases, this means that the web services framework will
> generate
> > the WSDL and send it back, I don't want it to do that. I want it to
> > redirect to a URL that I already have specified? (Or return a WSDL
> that
> > I specify - not a generated one)
> >
> > Roshan Punnoose
> > Phone: 301-497-6039
> > -----Original Message-----
> > From: Paul Fremantle [mailto:pzfreo@gmail.com]
> > Sent: Monday, March 12, 2007 5:36 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] WSDL redirect
> >
> > Roshan
> >
> > I don't understand the question. Can you rephrase please?
> >
> > Paul
> >
> > On 3/12/07, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
> > >  <<Punnoose, Roshan.vcf>> How can I specify the web service in
Axis
> > 2.0
> > > to redirect to a url for the WSDL? When it does /service?wsdl?
> Thanks
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Paul Fremantle
> > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> >
> > http://bloglines.com/blog/paulfremantle
> > paul@wso2.com
> >
> > "Oxygenating the Web Service Platform", www.wso2.com
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message