Hi Folks,

Trying to work round this -  I can manually generate my xmlbeans with scomp 
(which obeys my xsdconfig file).

Could anyone tell me - can I run WSDL2Java then substitue my scomp xmlbeans?

I've looked at this but how to go about the substitution is not obvious.

Any ideas?

Thanks,
Peter.

P.S. I've now reported this as a bug on JIRA.
https://issues.apache.org/jira/browse/AXIS2-3629

On Tuesday 18 March 2008 16:29:27 Peter Hargreaves wrote:
> I'm using WSDL2Java with the -xsdconfig option to control my xmlbean
> generation. The namespace -> package mapping works fine, proving that the
> xsdconfig file is being picked up, but suffix and extension (interface with
> handler) are both ignored.
>
> When I use the xmlbean's scomp, that comes with Axis2, to generate beans
> all is OK.
>
> Is this a bug with WSDL2Java or have I missed something?
>
> Is there a work around or a fix?
>
> Any comments/help appreciated.
>
> Thanks in advance,
> Peter.
>
> <xb:config xmlns:xb="http://xml.apache.org/xmlbeans/2004/02/xbean/config";>
>
>  <xb:namespace uri="##any">
>   <xb:suffix>XmlBean</xb:suffix>
>  </xb:namespace>
>
>   <xb:namespace uri="http://www.bedsearcher.co.uk/Bs/2007/01";>
>   <xb:package>org.bs.service.hello</xb:package>
>  </xb:namespace>
>
>  <xb:extension for="*">
>   <xb:interface name="org.bs.other.BsExtension">
>    <xb:staticHandler>org.bs.other.BsHandler</xb:staticHandler>
>   </xb:interface>
>  </xb:extension>
>
> </xb:config>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-u



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to