I think the user wants to customize an inlined schema with a
customization file.
He can simply put this kind of customization in jax-ws customization file.
<jaxws:bindings
node="ns1:definitions/ns1:types/xs:schema[@targetNamespace='urn:test:types']"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
xmlns:ns1="
http://schemas.xmlsoap.org/wsdl/">
<ns2:schemaBindings xmlns:ns2="
http://java.sun.com/xml/ns/jaxb">
<ns2:package name="customization.external.doclit.server"/>
</ns2:schemaBindings>
</jaxws:bindings>
thanks,
Rama Pulavarthi
Deepak V R wrote:
> Hi Kohsuke,
>
> This is not there in inline customize jaxws sample application; it
> talks about inlining jaxws customizations. He can add
> <jaxb:schemaBindings> in the wsdl like this.
>
> <wsdl:types>
> <xsd:schema>
> ....
> <!--schema declarations go here -->
> ....
> <xsd:annotation>
> <xsd:appinfo>
> <jaxb:schemaBindings>
> <jaxb:package name="mycustom.package.types"/> <!--
> simple package customzation for example -->
> </jaxb:schemaBindings>
> </xsd:appinfo>
> </xsd:annotation>
> </xsd:schema>
> </wsdl:types>
>
> -Deepak
>
>
> Kohsuke Kawaguchi wrote:
>>
>> I believe this is possible, but I don't know how. Does anyone have an
>> example handy? I'll forward it to him.
>>
>>
>> ------------------------------------------------------------------------
>>
>> Subject:
>> Customizing inline schema
>> From:
>> Dima Gutzeit <dima_at_mailvision.com>
>> Date:
>> Wed, 11 Oct 2006 17:29:57 +0200
>> To:
>> users_at_jaxb.dev.java.net
>>
>> To:
>> users_at_jaxb.dev.java.net
>>
>>
>> Hi,
>>
>> How can I customize the generated objects of some inline schema of a
>> wsdl
>> file ?
>> I am using jax-ws ri to build client side of web service but the
>> schema is
>> inline and not imported so using
>>
>> <schemaBinding ..... >
>>
>> does not help.
>>
>> Thanks in advance.
>>
>> Regards,
>> Dima Gutzeit.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
>> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>