JavaFaxAPI on HTTPS

3 posts / 0 new
Last post
#1 Wed, 27 Apr 2016 07:53
Anonymous (not verified)

JavaFaxAPI on HTTPS

When I use this code.
I got a error message.
I wan to use on https.
How can I do?

-- Source
URL https = new URL("https://ws.interfax.net/dfs.asmx");
net.interfax.outbound.InterFaxSoapStub theBinding = (net.interfax.outbound.InterFaxSoapStub)new net.interfax.outbound.InterFaxLocator().getInterFaxSoap(https);
SendCharFax theParams = new SendCharFax(USERNAME,
PASSWORD,
rcvNumber,
content,
cTyp);
SendCharFaxResponse theResponse = theBinding.sendCharFax(theParams);

-- result
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (403)Forbidden
faultActor:
faultNode:
faultDetail:
{}:return code: 403
.....

Wed, 27 Apr 2016 08:01
sds_tms (not verified)

But this source work on GetFaxImage service.

Wed, 27 Apr 2016 09:10
Eyal N

Hello,
In order to assist you further, please provide us with the username that you were using when receiving the "forbidden" response.

Log in or register to post comments

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today