This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Azrael Noor
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!