This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Java Web Service Exception - Client received SOAP Fault from server: The SOAP action specified on th  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to develop a java client for the web service using the wsdl found at https://uploadtestes.ine.pt/WCF_UploadXml/WCFUploadXmlService.svc?wsdl

At first, I was having trouble with a HTTP 301 error, but, after contacting the web service owners, they instructed me to change the endpoint to https. I did so by changing the ENDPOINT_ADDRESS_PROPERTY. I then started getting javax.xml.ws.soap.SOAPFaultException: MustUnderstand headers:[{http://www.w3.org/2005/08/addressing}Action] are not understood" exception. It was solving this exception that took me to the code I'll reproduce next and to the exception on the title.

My client code is here https://pastebin.com/Ujv0bwNF My ActionHandler (used in the code) is here https://pastebin.com/s97m0fxz

Any help would be much welcomed, since I have been stuck with this problem for a few days now.

Thank you.
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
ScroogeXHTML 8.0 - RTF to HTML5 and XHTML converter
https://coderanch.com/t/704747/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!