https support with scalaxb

43 views
Skip to first unread message

jam...@jadnanco.com

unread,
Feb 14, 2018, 9:50:57 PM2/14/18
to scalaxb
hi all, i'm new to scalaxb here and SOAP apis in general. 
i need to consume a legacy SOAP api, and have been experimenting with scalaxb for this task for a couple of days now. 
I'm not trying to access an api which uses secure HTTP as the transport. 
i would like to know if anyone has been successful querying a SOAP API via HTTPS? 

I'm currently getting the following exception when trying to consume the SOAP api:

Exception in thread "main" java.util.concurrent.ExecutionException: org.jboss.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record: 485454502f312e31203430302042616420526571756573740d0a436f6e74656e742d4c656e6774683a20300d0a436f6e6e656374696f6e3a20636c6f73650d0a5365727665723a204a6574747928382e312e392e763230313330313331290d0a0d0a
	at com.ning.http.client.providers.netty.future.NettyResponseFuture.abort(NettyResponseFuture.java:229)
	at com.ning.http.client.providers.netty.request.NettyRequestSender.abort(NettyRequestSender.java:416)
	at com.ning.http.client.providers.netty.handler.Processor.exceptionCaught(Processor.java:179)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:112)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:142)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.exceptionCaught(SimpleChannelUpstreamHandler.java:153)
	at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:112)
	at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
	at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
	at org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:377)


I'm at a loss for what to do next.. Any advice would be greatly appreciated.

jam...@jadnanco.com

unread,
Feb 14, 2018, 9:54:38 PM2/14/18
to scalaxb
Typo Edit: I'm now* trying to access an api which uses secure HTTP as the transport.
Reply all
Reply to author
Forward
0 new messages