Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

How to consume a SOAP WebService in the cloud?

$
0
0

Hi,

 

when looking at the hana cloud documentation and code samples, i can only see how it is possible to call via a destination a rest web service. See:

 

Context ctx = new InitialContext();

HttpDestination destination = (HttpDestination)ctx.lookup("java:comp/env/pingdest");

HttpClient httpClient = destination.createHttpClient();

HttpGet get = new HttpGet("pingnoauth");

HttpResponse resp = httpClient.execute(get);

 

But when consuming a SOAP service the 'real' request is created and also sent by the JAX WS framework. So how can i tell the JAX WS framework to use a certain http client that mappes to a specific destination?

 

Thanks,

 

Florian


Viewing all articles
Browse latest Browse all 3131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>