[ 
https://issues.apache.org/jira/browse/CXF-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598832#comment-13598832
 ] 

Stanislav Svirid commented on CXF-4881:
---------------------------------------

How its look in Javascript?

I'm trying used wsdl2js and cxf-utils.js and want some trace output. 
How I must define org_apache_cxf_trace function for this?
                
> Wrong set custom trace function in cxf-utils.js
> -----------------------------------------------
>
>                 Key: CXF-4881
>                 URL: https://issues.apache.org/jira/browse/CXF-4881
>             Project: CXF
>          Issue Type: Bug
>          Components: Dynamic Languages, JavaScript Client
>    Affects Versions: 2.7.3
>            Reporter: Stanislav Svirid
>              Labels: javascript
>
> In function CxfApacheOrgUtil custom trace function installed like:
> {code:javascript}
> this.trace = org_apache_cxf_trace.trace;
> {code}
> But _org_apache_cxf_trace_ checked for "function" type, not object.
> And default null_trace function is simple function too.
> A think correct code is look like this:
> {code:javascript}
> this.trace = org_apache_cxf_trace;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to