ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTP Error 405 - Method not allowed

Post new topic  Reply to topic
 HTTP Error 405 - Method not allowed « View previous topic :: View next topic » 
Author Message
Carl Bloy
PostPosted: Fri Aug 19, 2005 1:18 am    Post subject: HTTP Error 405 - Method not allowed Reply with quote

Acolyte

Joined: 16 Dec 2003
Posts: 69
Location: England

Hi,

We are using the HTTPRequestNode to make calls out to a webService, but always getting a 405 back?

We've tried setting some properties outside of using generatingdefaultheaders but no joy? Any ideas? below is the trace from the HTTPError terminal.

ROOT:
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 0
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2005-08-17 11:36:14.084025'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):HTTPRequestHeader = (
(0x03000000):Content-Length = '3741'
(0x03000000):Content-Type = 'application/xml'
(0x03000000):Host = '194.60.178.53'
(0x03000000):SOAPAction = '""'
)
(0x01000000):HTTPResponseHeader = (
(0x03000000):X-Original-HTTP-Status-Line = 'HTTP/1.1 405 Method Not Allowed'
(0x03000000):X-Original-HTTP-Status-Code = 405
(0x03000000):Server = 'Netscape-Enterprise/4.1'
(0x03000000):Date = 'Wed, 17 Aug 2005 11:36:49 GMT'
(0x03000000):Allow = 'HEAD, GET'
(0x03000000):Content-length = '124'
(0x03000000):Content-type = 'text/html'
(0x03000000):Connection = 'close'
)
(0x01000000):BLOB = (
(0x03000000):UnknownParserName = ''
(0x03000000):BLOB = X'3c48544d4c3e3c484541443e3c5449544c453e4d6574686f64204e6f7420416c6c6f7765643c2f5449544c453e3c2f484541443e0a3c424f44593e3c48313e4d6574686f64204e6f7420416c6c6f7765643c2f48313e0a416e206572726f7220686173206f636375727265642e0a3c2f424f44593e3c2f48544d4c3e'
)
)
EXCEPTIONLIST:

ENVIRONMENT:
(
(0x01000000):Variables = (
(0x03000000):compositeDiagnostic = ''
(0x01000000):cardsHeld = (
(0x03000000):cardType = 'V'
(0x03000000):cardType = 'M'
)
)
)

Many thanks
Carl.
_________________
Regards
Carl
Back to top
View user's profile Send private message Visit poster's website
andypiper
PostPosted: Fri Aug 19, 2005 1:31 am    Post subject: Re: HTTP Error 405 - Method not allowed Reply with quote

Acolyte

Joined: 29 Oct 2001
Posts: 59
Location: London

Carl Bloy wrote:

We are using the HTTPRequestNode to make calls out to a webService, but always getting a 405 back?
... snipped...

(0x01000000):HTTPResponseHeader = (
(0x03000000):X-Original-HTTP-Status-Line = 'HTTP/1.1 405 Method Not Allowed'
(0x03000000):X-Original-HTTP-Status-Code = 405
(0x03000000):Server = 'Netscape-Enterprise/4.1'
(0x03000000):Date = 'Wed, 17 Aug 2005 11:36:49 GMT'
(0x03000000):Allow = 'HEAD, GET'
(0x03000000):Content-length = '124'
(0x03000000):Content-type = 'text/html'
(0x03000000):Connection = 'close'


The HTTPRequest node will perform an HTTP POST. Your endpoint service is responding and saying that only HEAD and GET are allowed.

This is pretty unusual for a web service, unless it is a REST-style service which expects GET to be used.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTP Error 405 - Method not allowed
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.