This week's book giveaway is in the Python forum.
We're giving away four copies of Python Continuous Integration and Delivery and have Moritz Lenz on-line!
See this thread for details.
Win a copy of Python Continuous Integration and Delivery this week in the 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

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.
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
ScroogeXHTML 8.2 - easy to use RTF to HTML converter library
https://coderanch.com/t/707504/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!