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

maomaode commented on CXF-1053:
-------------------------------

kombi,

I just go through your testcase, two issue found:

1. in the catalog, you defined 
"uriStartString="http://www.company.net/extra.xsd"";
   but in your wsdl the schemaLocation is "http://www.company.com/extra.xsd";

expected [.com] here but was [.net] in your catalog


2. The wsdl itself is not a valid wsdl, it expected 
"extra:extraByNameAndTypeRequest" in the 'extraRequest' message, but you 
defined the "profileByNameAndTypeRequest" in the schema

After fix this two issues, now, it's ok to generate the java artifacts.

> Catalog entry in codegen maven plugin and command line ignored.
> ---------------------------------------------------------------
>
>                 Key: CXF-1053
>                 URL: https://issues.apache.org/jira/browse/CXF-1053
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1
>         Environment: MacOSX, java1.5, maven 2.0.7
>            Reporter: kombi
>            Assignee: Daniel Kulp
>             Fix For: 2.0.3
>
>         Attachments: SampleProject.zip
>
>
> If i add a "-catalog" as extraargs to the maven plugin for code generation, 
> It seems like it is not being called. I have tried giving a invalid catalog 
> file name and proceed to get the same error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to