chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Santa Maria <paulsm1...@yahoo.com.INVALID>
Subject Re: opencmis java - logging CMIS services requests and responses
Date Sat, 05 Dec 2015 00:24:45 GMT
I agree - Fiddler works great for "debugging" CMIS:
  * Download Fiddler Web Debugging Tool for Free by Telerik

|   |
|   |  |   |   |   |   |   |
| Download Fiddler Web Debugging Tool for Free by TelerikDownload and install Fiddler for
free. Watch a quick Get started video. |
|  |
| View on www.telerik.com | Preview by Yahoo |
|  |
|   |


I run Fiddler on the same machine as my CMIS client, so I don't even need to set up a proxy.
I just click "run" and observe the HTTP traffic.
I haven't tried it with CMIS yet, but SoapUI would probably also work:
  * SoapUI | Functional Testing for SOAP and REST APIs

|   |
|   |  |   |   |   |   |   |
| SoapUI | Functional Testing for SOAP and REST APIsSoapUI, is the world leading Open Source
Functional Testing tool for API Testing. It supports multiple protocols such as SOAP, REST,
HTTP, JMS, AMF and JDBC. It ... |
|  |
| View on www.soapui.org | Preview by Yahoo |
|  |
|   |


     From: Florian Müller <fmui@apache.org>
 To: dev@chemistry.apache.org 
Cc: "Lucas, Mike" <Mike.Lucas@gwl.ca>
 Sent: Friday, December 4, 2015 1:05 AM
 Subject: Re: opencmis java - logging CMIS services requests and responses
   
Hi Mike,

You can set 
org.apache.chemistry.opencmis.client.bindings.spi.http.DefaultHttpInvoker 
to DEBUG.
This logs the request URLs and HTTP headers, but not the request and 
response contents.

But Fiddler should also work when your code is running on an integration 
server - at least for debugging.
You just need to configure a proxy [1] and point it to the machine where 
Fiddler is running.


- Florian


[1] 
https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html


> Hi,
> I am using opencmis java client and wondering if there is a way to
> "turn on" logging of the web services request and responses. I am
> using the AtomPub binding.
> 
> When developing locally I fulfilled this need quite easily using
> Fiddler proxy, but now would like a way to do so for code running on
> an integration server.
> 
> Thanks!
> michael lucas  |  Senior Software Developer  |  Great-West Life



 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message