cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sertic Mirko, Bedag" <>
Subject WSDL2Java and external binding giles
Date Mon, 01 Feb 2010 10:51:22 GMT


I want to use WSDL2Java with Maven to compile two WSDL files with CXF
2.2.5. Every WSDL file includes a domain specific xml schema, which
includes a common schema.


Now, I want to setup a java package mapping based on the target
namespace of the WSDL and XML schemas, simply something like this:


http://host/namespacea -> Package a.b.c

http://host/namespaceb -> Package a.b.d

http://host/common      -> Package a.b.common


I use the following binding file:


<?xml version="1.0"?>

<jxb:bindings version="2.0"




      <jxb:javaType name="java.util.Date" xmlType="xs:dateTime" 




    <jxb:bindings schemaLocation="common.xsd" node="/xs:schema"> 







The Maven result is something like "unsupported binding namespace ""



What am i doing wrong? Do I have to use absolute path names, or can I
just setup a jxb:bindings element referencing a target namespace instead
of a xml schema document?


Thanks in advance



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