You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "liugang (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 10:52:39 UTC

[jira] [Created] (CAMEL-4717) non clear exception during simple camel route startup

non clear exception during simple camel route startup
-----------------------------------------------------

                 Key: CAMEL-4717
                 URL: https://issues.apache.org/jira/browse/CAMEL-4717
             Project: Camel
          Issue Type: Improvement
          Components: camel-cxf
            Reporter: liugang


when using cxf component, if I didn't specify the "wsdlURL" with an empty string.
the error log should be text like: Can't find wsdl file. 

but now:
exception
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
at [row,col,system-id]: [1,1,"file:/d:/wsdl/"] 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (CAMEL-4717) non clear exception during simple camel route startup

Posted by "Ben O'Day (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben O'Day closed CAMEL-4717.
----------------------------

    Resolution: Won't Fix

tried to reproduce this, get a NullPointerException (buried in CXF) when the wsdlUrl is ommited (cxfEndpoint, etc), with an invalid wsdlUrl value, it gives a FileNotFoundException...not idea, but seem clear enough.  

need a specific example from the user to investigate any further...
                
> non clear exception during simple camel route startup
> -----------------------------------------------------
>
>                 Key: CAMEL-4717
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4717
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: liugang
>
> when using cxf component, if I didn't specify the "wsdlURL" with an empty string.
> the error log should be text like: Can't find wsdl file. 
> but now:
> exception
> javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
> at [row,col,system-id]: [1,1,"file:/d:/wsdl/"] 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4717) non clear exception during simple camel route startup

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161026#comment-13161026 ] 

Claus Ibsen commented on CAMEL-4717:
------------------------------------

Can you post more details? For example an example of the XML where you configured the CXF endpoint which failed.

Also if you have the stacktrace then that would be great.

And can you write down which version of Camel you are using.
                
> non clear exception during simple camel route startup
> -----------------------------------------------------
>
>                 Key: CAMEL-4717
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4717
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>            Reporter: liugang
>
> when using cxf component, if I didn't specify the "wsdlURL" with an empty string.
> the error log should be text like: Can't find wsdl file. 
> but now:
> exception
> javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '.' (code 46) in prolog; expected '<'
> at [row,col,system-id]: [1,1,"file:/d:/wsdl/"] 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira