Sorry, checked the wrong list :-), your ICLA submission is recorded,
Dan added you earlier to the list of wiki contributors, please start editing

Thanks, Sergey
On 03/02/17 16:25, Sergey Beryozkin wrote:
Hi

I just checked, no 'jfiala' is recorded in the ICLAs list at Apache,
Can you please submit ICLA and also create a Confluence account ?

Thanks, Sergey


On 03/02/17 14:41, J. Fiala wrote:
Hi there,

I found two minor issues regarding the docs:
http://cxf.apache.org/docs/wsdl-to-java.html

1.) Q: How to map xsd:dateTime to java.util.Date?:

The package names are out of date:

 <jxb:javaType name="java.util.Date" xmlType="xs:dateTime"
parseMethod="org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime"
printMethod="org.apache.cxf.tools.common.DataTypeAdapter.printDateTime"/>

They have been moved to org.apache.cxf.xjc.runtime

    <jxb:javaType name="java.util.Date" xmlType="xs:dateTime"
parseMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.parseDateTime"
printMethod="org.apache.cxf.xjc.runtime.DataTypeAdapter.printDateTime"/>

This requires an additional dependency:
<dependency>
<groupId>org.apache.cxf.xjc-utils</groupId>
            <artifactId>cxf-xjc-runtime</artifactId>
            <version>...</version>
        </dependency>


2.) Q: What if I want to change the generated SEI name?

The current sample is missing the correct Xpath to specify the
protType@name:

...
    <bindings node="wsdl:definitions/wsdl:portType">
    <class name="GreeterSEI"/>
    </bindings>
...

sample with full Xpath:

<jaxws:bindings node="wsdl:definitions/wsdl:portType[@name='HelloWS']">
        <jaxws:class name="IHelloWS"/>
  </jaxws:bindings>


Please let me know if I can edit the Wiki already, then I'll add this
myself.

Best regards,

J. Fiala




--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to