your double-checked your WSDL is doc/lit/wrapped style ?
(If unsure then post WSDL to group)

M--

----- Original Message -----
From: "foo shyn" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
Sent: Thursday, October 18, 2007 8:53 PM
Subject: Re: Axis 1.4 - (405) Method Not Allowed


> Hi guys,
>
> Apologies to u guys first.
>
> After reading some of your post, I found that it would be very unlikely
> for the vendor to have POST turn off (although the return messages
> suggested this) thus i went on to check the URL that i called, and it
> seems that it is the URL problem! After changing that, the method worked
> like charm!
>
> Just wonder why the server gives me a 405 instead of a 400 error....
>
> Thanx
> FooShyn
>
> Walker, Jeff wrote:
> > I apologize.
> > I re-read your post below, and it seems that the HTTP POST request is
> > not allowed. The list allowed by them seems to be: OPTIONS, TRACE, GET
> > and HEAD. (I was working from the assumption that the actual method on
> > the interface was turned off. You can do this in Axis and probably in
> > Microsoft).
> >
> > Anyway, if they have indeed turned off all POST requests for this
> > service, then I would ask them how do they expect clients to call their
> > web service, since a soap/wsdl based web service be default will use
> > POST requests? Also ask them to supply to you a basic client they use in
> > development to test the service.
> > It sounds like a very non-standard web service.
> > -jeff
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: foo shyn [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 18, 2007 12:25 AM
> > To: axis-user@ws.apache.org
> > Subject: Re: Axis 1.4 - (405) Method Not Allowed
> >
> > Hmm i'm afraid that might not be possible. Wonder why Axis keeps the GET
> >
> > method out anyway.. any particular reason?
> >
> > Tried calling other method...same problem...
> >
> > Thanx
> > FooShyn
> >
> > Walker, Jeff wrote:
> >
> >> If they have turned off access to a certain method, then you simply
> >> cannot call it and there is nothing you can do except ask them if it
> >>
> > is
> >
> >> truly turned off and why. All soap web service calls happen using POST
> >> not GET. (Except the famous http://<web_service_name>?wsdl url which
> >>
> > is
> >
> >> a GET). I would suggest that you call any of the other methods found
> >>
> > in
> >
> >> their wsdl, to make certain you are calling the service correctly.
> >> I think the answer to your problem lies with them.
> >> -jeff
> >>
> >>
> >>
> >> -----Original Message-----
> >> From: foo shyn [mailto:[EMAIL PROTECTED]
> >> Sent: Tuesday, October 16, 2007 9:16 PM
> >> To: axis-user@ws.apache.org
> >> Subject: Axis 1.4 - (405) Method Not Allowed
> >>
> >> Hi guys,
> >>
> >> I'm new to the list, so pardon me if my question sounds dumb.
> >>
> >> I'm trying to connect to a third party web services (which is
> >>
> > developed
> >
> >> using microsoft tools) and i had used Axis 1.4 components to create my
> >>
> >
> >
> >> client. I got the stub generated and run it in my own servlet. However
> >>
> >
> >
> >> when i try to call the web services i got a "(405)Method Not Allowed"
> >> error from the web.
> >>
> >> I'm thinking of the possibility of the method that i use is not allow.
> >>
> >
> >
> >> Since Axis is defaulted to process its request in Post method, i'm not
> >>
> >
> >
> >> sure whether i can alter that. Does anyone have any idea on how to do
> >> this?
> >>
> >> Here's a portion of my debug log from Axis:
> >>
> >> 16 Oct 2007 20:01:17,859 %- HTTP/1.1 405 Method not allowed
> >> 16 Oct 2007 20:01:17,859 %- Server Microsoft-IIS/5.0
> >> 16 Oct 2007 20:01:17,859 %- Date Tue, 16 Oct 2007 12:21:32 GMT
> >> 16 Oct 2007 20:01:17,875 %- Allow OPTIONS, TRACE, GET, HEAD
> >> 16 Oct 2007 20:01:17,875 %- Content-Length 3923
> >> 16 Oct 2007 20:01:17,875 %- Content-Type text/html
> >> 16 Oct 2007 20:01:17,890 %-
> >> org.apache.axis.i18n.resource::handleGetObject(return01)
> >> 16 Oct 2007 20:01:17,890 %- (405)Method not allowed
> >> 16 Oct 2007 20:01:17,906 %- Enter: SOAPPart ctor(FORM_FAULT)
> >> 16 Oct 2007 20:01:17,906 %-
> >> org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
> >> 16 Oct 2007 20:01:17,906 %- Setting current message form to:
> >>
> > FORM_FAULT
> >
> >> (currentMessage is now org.apache.axis.AxisFault)
> >> 16 Oct 2007 20:01:17,906 %- Exit: SOAPPart ctor()
> >> 16 Oct 2007 20:01:17,906 %-
> >> org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
> >> 16 Oct 2007 20:01:17,906 %- NSPush (32)
> >> 16 Oct 2007 20:01:17,921 %-
> >> org.apache.axis.i18n.resource::handleGetObject(empty00)
> >> 16 Oct 2007 20:01:17,921 %- NSPop (empty)
> >> 16 Oct 2007 20:01:17,921 %- NSPush (32)
> >> 16 Oct 2007 20:01:17,937 %-
> >> org.apache.axis.i18n.resource::handleGetObject(empty00)
> >> 16 Oct 2007 20:01:17,937 %- NSPop (empty)
> >> 16 Oct 2007 20:01:17,906 %- Mapping Exception to AxisFault
> >>
> >> Any suggestion or idea are welcome.
> >>
> >> Thanx
> >> FooShyn
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to