|
-
Apr 27th, 2017, 12:35 PM
#1
Thread Starter
Don't Panic!
[RESOLVED] SOAP problem
Hi
Headachy here. sigh. I have a problem with some code utilising the SOAP.
When connecting to a webservice http works fine. When connecting to a https, immediately errors with
java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
This is on the javax.xml.soap.SOAPMessage soapResponse = soapConnection.call(soapMessage, interfaceURL);
(.call).
Note I am not calling SAAJ although I believe the saaj api and impl are being connected to at the beginning.
Whilst browsing lots of sites for an answer, i found some source code that has both this error and one other I encountered (server responding 302) with what looked like exactly the same code. In the comments were a note stating to come to https to deal with it later...
Now perhaps it that there is a better/newer/fixed version out there. But I havent found it. I did find a v1.3.4 or v1.3.5 saaj; the methods seem to have been changed though and the coding I have at the moment doesnt work.
So to the question:
Are there any better SOAP connection jars out there the can work with http and https
* note - i have been asked to try and get it working without resorting to certificates being trust key stored thing...
Any pointers appreciated
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|