Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ((javax.xml.ws.BindingProvider) _port).getRequestContext().put(JAXWSProperties.CONTENT_NEGOTIATION_PROPERTY, "pessimistic");
- public EpCacheFiClient(long period) {
- try {
- _service = new EpCacheService(new URL(WSDL_URL_KEY), QNAME);
- _port = _service.getEpCachePort();
- ((javax.xml.ws.BindingProvider) _port).getRequestContext().put(JAXWSProperties.CONTENT_NEGOTIATION_PROPERTY, "pessimistic");
- if (_port != null) {
- System.out.println("Found service port!");
- } else {
- System.exit(128);
- }
- } catch (MalformedURLException e) {
- e.printStackTrace();
- }
- }
- POST /AlertPort HTTP/1.1
- Content-Type: application/fastsoap; action="urn:alert"
- Accepts: application/fastsoap, application/text+xml
- Content-Length: ....
- ... sequence of octets …"
- POST /epcache/EpCacheService HTTP/1.1
- Accept: text/xml, multipart/related
- Content-Type: text/xml;charset=utf-8
- SOAPAction: "urn:ProcessEpCacheSet"
- User-Agent: JAX-WS RI 2.2.4-b01
- Host: linux-xxxxx:8080
- Connection: keep-alive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement