• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Greenhorn
Posts: 1
  • 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.
 
crispy bacon. crispy tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!