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 Jarmo Doc <ja...@hotmail.com> on 2006/01/17 01:24:20 UTC

wsdl2java and QName("a.b.c", ">classname")

Why does Axis wsdl2java generate the ">" in the following?  What does it 
mean?

- typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c", 
">myexception"));

This also results in &gt;myexception in the server WSDD file after I deploy 
the service, for example:

- <typeMapping 
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
encodingStyle="" qname="ns158:&gt;myexception" 
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>

Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Re: wsdl2java and QName("a.b.c", ">classname")

Posted by Jarmo Doc <ja...@hotmail.com>.
Thanks Dies, I'll check into that too.


>From: Dies Koper <di...@jp.fujitsu.com>
>Reply-To: axis-user@ws.apache.org
>To: axis-user@ws.apache.org
>Subject: Re: wsdl2java and QName("a.b.c", ">classname")
>Date: Tue, 17 Jan 2006 15:26:40 +0900
>
>Hello Jarmo,
>
>The J2EE for Webservices 1.1 spec (section 7.3.2.2) mentions about
>QNames with '>' in them. Not sure if that is what Axis is following
>here, though.
>
>Regards,
>Dies
>
>
>Jarmo Doc wrote:
> > Why does Axis wsdl2java generate the ">" in the following?  What does it
> > mean?
> >
> > - typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c",
> > ">myexception"));
> >
> > This also results in &gt;myexception in the server WSDD file after I
> > deploy the service, for example:
> >
> > - <typeMapping
> > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> > encodingStyle="" qname="ns158:&gt;myexception"
> > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> > type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>
> >
> > Thanks.
> >
> > _________________________________________________________________
> > Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ
> > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >
> >
>
>--
>Dies KOPER <di...@jp.fujitsu.com> (changed on 1 July 2005)
>Fujitsu Ltd - MWPF1  (changed from MWPF3 on 21 Nov 2005)
>2-15-16, Shin-Yokohama, Kouhoku-ku, Yokohama, 222-0033, Japan
>Tel. +81(45)-475-5605  (internal 7181-4217)
>

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


Re: wsdl2java and QName("a.b.c", ">classname")

Posted by Dies Koper <di...@jp.fujitsu.com>.
Hello Jarmo,

The J2EE for Webservices 1.1 spec (section 7.3.2.2) mentions about
QNames with '>' in them. Not sure if that is what Axis is following
here, though.

Regards,
Dies


Jarmo Doc wrote:
> Why does Axis wsdl2java generate the ">" in the following?  What does it 
> mean?
> 
> - typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c", 
> ">myexception"));
> 
> This also results in &gt;myexception in the server WSDD file after I 
> deploy the service, for example:
> 
> - <typeMapping 
> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
> encodingStyle="" qname="ns158:&gt;myexception" 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
> type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>
> 
> Thanks.
> 
> _________________________________________________________________
> Is your PC infected? Get a FREE online computer virus scan from McAfeeョ 
> Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 

-- 
Dies KOPER <di...@jp.fujitsu.com> (changed on 1 July 2005)
Fujitsu Ltd - MWPF1  (changed from MWPF3 on 21 Nov 2005)
2-15-16, Shin-Yokohama, Kouhoku-ku, Yokohama, 222-0033, Japan
Tel. +81(45)-475-5605  (internal 7181-4217)


[Axis2-0.94]: WSDL2Java not working for sample

Posted by Michael Meire <mi...@cs.kuleuven.be>.
Dear,
 
I was trying the WSDL2Java functionality on the new axis2-0-94, more 
exactly on the sample Axis2SampleDocLit.wsdl that is included.
However it does not seem to work: eg the schemas directory is not created.

I saw some other posts on this mailing list about WSDL2Java. However not 
exactly mentioning the same problem, so I thought it was interesting to 
mention that it does not (seem to) work on the samples themselves...
When using axis2-0-92 on exactly the same WSDL, the WSDL2Java did seem 
to work. But that generated code then of course does not work when using 
the 0-94 libs...
 
Anyone any suggestions on making this work for the 0-94 build?
 
thanks,
Michael... 

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


RE: AW: wsdl2java and QName("a.b.c", ">classname")

Posted by Jarmo Doc <ja...@hotmail.com>.
Hi Franz, this is exactly the cause of the problem I'm having.  Now that I 
know what's causing it I can fix it.  Thanks very much for your help.


>From: "Franz Fehringer" <fe...@isogmbh.de>
>Reply-To: axis-user@ws.apache.org
>To: "Apache AXIS C Developers List" 
><ax...@ws.apache.org>,"Axis-Dev@Ws. Apache. Org" 
><ax...@ws.apache.org>
>Subject: AW: wsdl2java and QName("a.b.c", ">classname")
>Date: Tue, 17 Jan 2006 08:25:31 +0100
>
>Axis1 has problems with anonymous complexTypes i.e. with constructs like
>
><element name="zombie">
><complexType>
>...
></complexType>
></element>
>
>For AXISCPP this is issue AXISCPP-753; i do not know if there is an 
>AXISJAVA
>issue opened yet.
>If this is really your problem your workaround is
>
><complexType name="t_zombie">
>...
><complexType>
><element name="zombie" type="t_zombie">
></element>
>
>Greetings
>
>Franz
>
>-----Ursprüngliche Nachricht-----
>Von: Jarmo Doc [mailto:jarmod@hotmail.com]
>Gesendet: Dienstag, 17. Januar 2006 01:24
>An: axis-user@ws.apache.org
>Betreff: wsdl2java and QName("a.b.c", ">classname")
>
>
>Why does Axis wsdl2java generate the ">" in the following?  What does it
>mean?
>
>- typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c",
>">myexception"));
>
>This also results in &gt;myexception in the server WSDD file after I deploy
>the service, for example:
>
>- <typeMapping
>deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>encodingStyle="" qname="ns158:&gt;myexception"
>serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>
>
>Thanks.
>
>_________________________________________________________________
>Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ
>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


AW: wsdl2java and QName("a.b.c", ">classname")

Posted by Franz Fehringer <fe...@isogmbh.de>.
Axis1 has problems with anonymous complexTypes i.e. with constructs like

<element name="zombie">
<complexType>
...
</complexType>
</element>

For AXISCPP this is issue AXISCPP-753; i do not know if there is an AXISJAVA
issue opened yet.
If this is really your problem your workaround is

<complexType name="t_zombie">
...
<complexType>
<element name="zombie" type="t_zombie">
</element>

Greetings

Franz

-----Ursprüngliche Nachricht-----
Von: Jarmo Doc [mailto:jarmod@hotmail.com]
Gesendet: Dienstag, 17. Januar 2006 01:24
An: axis-user@ws.apache.org
Betreff: wsdl2java and QName("a.b.c", ">classname")


Why does Axis wsdl2java generate the ">" in the following?  What does it
mean?

- typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c",
">myexception"));

This also results in &gt;myexception in the server WSDD file after I deploy
the service, for example:

- <typeMapping
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="" qname="ns158:&gt;myexception"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>

Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



AW: wsdl2java and QName("a.b.c", ">classname")

Posted by Franz Fehringer <fe...@isogmbh.de>.
Axis1 has problems with anonymous complexTypes i.e. with constructs like

<element name="zombie">
<complexType>
...
</complexType>
</element>

For AXISCPP this is issue AXISCPP-753; i do not know if there is an AXISJAVA
issue opened yet.
If this is really your problem your workaround is

<complexType name="t_zombie">
...
<complexType>
<element name="zombie" type="t_zombie">
</element>

Greetings

Franz

-----Ursprüngliche Nachricht-----
Von: Jarmo Doc [mailto:jarmod@hotmail.com]
Gesendet: Dienstag, 17. Januar 2006 01:24
An: axis-user@ws.apache.org
Betreff: wsdl2java and QName("a.b.c", ">classname")


Why does Axis wsdl2java generate the ">" in the following?  What does it
mean?

- typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c",
">myexception"));

This also results in &gt;myexception in the server WSDD file after I deploy
the service, for example:

- <typeMapping
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="" qname="ns158:&gt;myexception"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>

Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



AW: wsdl2java and QName("a.b.c", ">classname")

Posted by Franz Fehringer <fe...@isogmbh.de>.
Axis1 has problems with anonymous complexTypes i.e. with constructs like

<element name="zombie">
<complexType>
...
</complexType>
</element>

For AXISCPP this is issue AXISCPP-753; i do not know if there is an AXISJAVA
issue opened yet.
If this is really your problem your workaround is

<complexType name="t_zombie">
...
<complexType>
<element name="zombie" type="t_zombie">
</element>

Greetings

Franz

-----Ursprüngliche Nachricht-----
Von: Jarmo Doc [mailto:jarmod@hotmail.com]
Gesendet: Dienstag, 17. Januar 2006 01:24
An: axis-user@ws.apache.org
Betreff: wsdl2java and QName("a.b.c", ">classname")


Why does Axis wsdl2java generate the ">" in the following?  What does it
mean?

- typeDesc.setXmlType(new javax.xml.namespace.QName("a.b.c",
">myexception"));

This also results in &gt;myexception in the server WSDD file after I deploy
the service, for example:

- <typeMapping
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="" qname="ns158:&gt;myexception"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:a.b.c.myexception" xmlns:ns158="a.b.c"/>

Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963