On Tue, Nov 17, 2009 at 9:36 PM, P.N. <peter.nabbef...@gmx.de> wrote:

>
> Hello!
>
> I want to create a WS client from wsdl using:
> WSDL2Java -uri file:///C:/Dokumente%20und%20Einstellungen/.../xxx.wsdl -d
> xmlbeans -s -o "C:\my-sources"
>
> Though there's a service defined, no locator or service file are created.
>
> Here's a snippet from my wsdl (guessing this should be the needed part,
> i.e. schemas, service with name):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";
> ... >
>    <!--WSDL created by Apache Axis version: 1.3 Built on Oct 05, 2005
> (05:23:37 EDT)-->
>    <wsdl:types>
>        ...
>    </wsdl:types>
>    ...
>    <wsdl:service name="Export">
>        ...
>    </wsdl:service>
> </wsdl:definitions>
>
>
> I've tested with one wsdl file resulting in a very big (some MB!) java
> source, when using ADB, so I'd prefer using XmlBeans.
>

try -u option.

thanks,
Amila.

>
> Kind regards
>
> Peter Nabbefeld
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to