Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

how to check http 200 ok

$
0
0

Hi all;

 

 

what is PI http url for checking connection(http 200 O.K)  ?

 

when i  execute client program, i got the response message as blow;

 

Status: 405 - Message: Method Not Allowed

 

 

 

 

private static final String uri = "http://xxx.pi.com:50800/XISOAPAdapter/MessageServlet?ximessage=true";

 

final HttpPut httpput = new HttpPut(uri) ;                

             

              System.out.println(httpput);

             

   final HttpResponse response = httpclient.execute(httpput);

   System.out.println("Status: "+response.getStatusLine().getStatusCode() + " - Message: "

                             + response.getStatusLine().getReasonPhrase());

 

 

Thank You.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



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