You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Babette v. Gijlswijk" <bv...@gmail.com> on 2007/07/26 17:13:30 UTC

wsdl2java generates invalid xml file

Hi,

I have a question about the wsdl2java plugin for eclipse.

I used the wsdl2Java plugin to generate a wsdl file.
I have a service class and an exceptionclass which are defined in different
packages.
When I generate the wsdl file, the plugin defines a second namespace in a
second shema definition tag which causes the wsdl file to be invalid.

If I define the exception in the same package as the service the plugin
produces a correct wsdl file.

Does the plugin support multiple namespaces?

Thanx Babette

Re: wsdl2java generates invalid xml file

Posted by Jorge Fernandez <in...@yahoo.es>.
Hi Babette,

Maybe in this issue you can identify your problem:

https://issues.apache.org/jira/browse/AXIS2-2325

Regards, 

Jorge Fernández



Lahiru Sandakith <sa...@gmail.com> escribió: Hi Babette, 
Yes the plugin should work with multiple packages with service class and all the other dependent classes. 
All you need it to do is include the third party content or the folders that needed for the service class.  
http://ws.apache.org/axis2/tools/1_2/eclipse/wsdl2java-plugin.html
if possible you could log a JIRA and attach the classes, we ll look in to it. 

Thanks 

Lahiru.

On 7/26/07, Babette v. Gijlswijk <bv...@gmail.com> wrote:  
  
 Hi,
  
 I have a question about the wsdl2java plugin for eclipse.
  
 I used the wsdl2Java plugin to generate a wsdl file.
 I have a service class and an exceptionclass which are defined in different packages.
 When I generate the wsdl file, the plugin defines a second namespace in a second shema definition tag which causes the wsdl file to be invalid.
  
 If I define the exception in the same package as the service the plugin produces a correct wsdl file.
  
 Does the plugin support multiple namespaces?
  
 Thanx Babette
  
  
  
  
 



-- 
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F 

       
---------------------------------

Sé un Mejor Viajero
¿Quieres saber cómo? ¡Deja que otras personas te ayuden! .

Re: wsdl2java generates invalid xml file

Posted by Lahiru Sandakith <sa...@gmail.com>.
Hi Babette,
Yes the plugin should work with multiple packages with service class and all
the other dependent classes.
All you need it to do is include the third party content or the folders that
needed for the service class.
http://ws.apache.org/axis2/tools/1_2/eclipse/wsdl2java-plugin.html
if possible you could log a JIRA and attach the classes, we ll look in to
it.

Thanks

Lahiru.

On 7/26/07, Babette v. Gijlswijk <bv...@gmail.com> wrote:
>
>
>
> Hi,
>
> I have a question about the wsdl2java plugin for eclipse.
>
> I used the wsdl2Java plugin to generate a wsdl file.
> I have a service class and an exceptionclass which are defined in
> different packages.
> When I generate the wsdl file, the plugin defines a second namespace in a
> second shema definition tag which causes the wsdl file to be invalid.
>
> If I define the exception in the same package as the service the plugin
> produces a correct wsdl file.
>
> Does the plugin support multiple namespaces?
>
> Thanx Babette
>
>
>
>
>



-- 
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F