Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

405 Method not Allowed working on Netbeans/Eclipse but not in runtime?

 
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I run following code on Netbeans as well as Eclipse ID and it worked perfectly.

When i take code to runtime environment(say MuleRuntimeEnvironment) it is returning java.io.IOException: Server returned HTTP response code: 405 for URL: http://100.91.17.170:81/Orch21/Orchr.svc/Jobs/




That URL accepts GET as well as POST. I have tested that by changing request method to PUT
What could be the reason for same? any workaround required in Code? or is this Runtime related issue?
 
    Bookmark Topic Watch Topic
  • New Topic