J Puga

Greenhorn
+ Follow
since Feb 07, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by J Puga

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.
1 week ago