Re: Where are the locator and the service?

2009-11-20 Thread Amila Suriarachchi
On Tue, Nov 17, 2009 at 9:36 PM, P.N.  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):
>
> 
> http://schemas.xmlsoap.org/wsdl/";
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";
> ... >
>
>
>...
>
>...
>
>...
>
> 
>
>
> 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/


Re: Where are the locator and the service?

2009-11-17 Thread P.N.

P.N. wrote:


[snip]



Forgot to mention:
transport="http://schemas.xmlsoap.org/soap/http"/>


Regards

Peter



Where are the locator and the service?

2009-11-17 Thread P.N.


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):



http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";

... >



...

...

...




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.


Kind regards

Peter Nabbefeld