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 Magnus Bergman <ma...@voiceprovider.com> on 2006/11/21 15:36:11 UTC
Type xxx is referenced but not defined
Hi, I'm trying to use WSDL2Java on a wsdl from a .NET service with the
attached wsdl-file, but I'm getting a:
java.io.IOException: Type ReturnCode is referenced but not defined.
I can see on this problem occurred for others on this list but I cannot
figure out how to fix my problem.
Any help appreciated.
Regards
Magnus
Re: Type xxx is referenced but not defined
Posted by Kinichiro Inoguchi <in...@yahoo.com>.
BTW,
axis-1.4 wsdl2java message:
> java.io.IOException: Type ReturnCode is referenced but not defined.
ReturnCode is defined by <simpleType> using <restriction> and
<enumeration>
axis2-1.1 wsdl2java message:
> Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
ResponseBase is referred by <extension base="ResponseBase">
Does anyone know these tags are supported by Axis ?
--- Magnus Bergman <ma...@voiceprovider.com> wrote:
> Sorry,
> I'm using axis-1.4
> /magnus
>
> Kinichiro Inoguchi wrote:
> > Hi Magnus,
> >
> > What version of Axis2 are you using ?
> > I tried your wsdl with wsdl2java of Axis2 1.1 release,
> > I got this result.
> >
> > C:\work>set AXIS2_HOME=C:\work\axis2-1.1
> >
> > C:\work>%AXIS2_HOME%\bin\wsdl2java -uri ticketfacade.wsdl -o test2
> > Using AXIS2_HOME: C:\work\axis2-1.1
> > Using JAVA_HOME: C:\j2sdk1.4.2_04
> > 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> > findClassName
> > Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> > 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> > findClassName
> > Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> > 2006/11/21 23:53:53 org.apache.axis2.schema.writer.JavaBeanWriter
> > addPropertyEntries
> > Warning: Type {http://www.sweden.se/swebok}Name missing!
> > 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> > findClassName
> > Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> > 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> > findClassName
> > Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> > C:\work>
> >
> > There are 2 java files.
> > TicketPurchaseAndReservationsFacadeStub.java
> > TicketPurchaseAndReservationsFacadeCallbackHandler.java
> >
> > Regards,
> > kinichiro
> >
> > --- Magnus Bergman <ma...@voiceprovider.com> wrote:
> >
> >> Hi, I'm trying to use WSDL2Java on a wsdl from a .NET service with
> >> the
> >> attached wsdl-file, but I'm getting a:
> >>
> >> java.io.IOException: Type ReturnCode is referenced but not
> defined.
> >>
> >> I can see on this problem occurred for others on this list but I
> >> cannot
> >> figure out how to fix my problem.
> >>
> >> Any help appreciated.
> >>
> >> Regards
> >> Magnus
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Sponsored Link
> >
> > Degrees online in as fast as 1 Yr
> > MBA, Bachelor's, Master's, Assoc
> > http://yahoo.degrees.info
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
>
> --
> ------------------------------------
> Magnus Bergman
> www.voiceprovider.se
> Mobile +46(0)733 63 42 08
> Office +46(0)8 525 080 08
> Fax +46(0)8 456 96 61
> Slottsbacken 6
> 111 30 Stockholm
> ------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
____________________________________________________________________________________
Sponsored Link
Rates near 39yr lows. $420,000 Loan for $1399/mo.
Calcuate new payment. www.LowerMyBills.com/lre
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Type xxx is referenced but not defined
Posted by Magnus Bergman <ma...@voiceprovider.com>.
Sorry,
I'm using axis-1.4
/magnus
Kinichiro Inoguchi wrote:
> Hi Magnus,
>
> What version of Axis2 are you using ?
> I tried your wsdl with wsdl2java of Axis2 1.1 release,
> I got this result.
>
> C:\work>set AXIS2_HOME=C:\work\axis2-1.1
>
> C:\work>%AXIS2_HOME%\bin\wsdl2java -uri ticketfacade.wsdl -o test2
> Using AXIS2_HOME: C:\work\axis2-1.1
> Using JAVA_HOME: C:\j2sdk1.4.2_04
> 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> findClassName
> Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> findClassName
> Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> 2006/11/21 23:53:53 org.apache.axis2.schema.writer.JavaBeanWriter
> addPropertyEntries
> Warning: Type {http://www.sweden.se/swebok}Name missing!
> 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> findClassName
> Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> 2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
> findClassName
> Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
> C:\work>
>
> There are 2 java files.
> TicketPurchaseAndReservationsFacadeStub.java
> TicketPurchaseAndReservationsFacadeCallbackHandler.java
>
> Regards,
> kinichiro
>
> --- Magnus Bergman <ma...@voiceprovider.com> wrote:
>
>> Hi, I'm trying to use WSDL2Java on a wsdl from a .NET service with
>> the
>> attached wsdl-file, but I'm getting a:
>>
>> java.io.IOException: Type ReturnCode is referenced but not defined.
>>
>> I can see on this problem occurred for others on this list but I
>> cannot
>> figure out how to fix my problem.
>>
>> Any help appreciated.
>>
>> Regards
>> Magnus
>
>
>
>
> ____________________________________________________________________________________
> Sponsored Link
>
> Degrees online in as fast as 1 Yr
> MBA, Bachelor's, Master's, Assoc
> http://yahoo.degrees.info
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
--
------------------------------------
Magnus Bergman
www.voiceprovider.se
Mobile +46(0)733 63 42 08
Office +46(0)8 525 080 08
Fax +46(0)8 456 96 61
Slottsbacken 6
111 30 Stockholm
------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Type xxx is referenced but not defined
Posted by Kinichiro Inoguchi <in...@yahoo.com>.
Hi Magnus,
What version of Axis2 are you using ?
I tried your wsdl with wsdl2java of Axis2 1.1 release,
I got this result.
C:\work>set AXIS2_HOME=C:\work\axis2-1.1
C:\work>%AXIS2_HOME%\bin\wsdl2java -uri ticketfacade.wsdl -o test2
Using AXIS2_HOME: C:\work\axis2-1.1
Using JAVA_HOME: C:\j2sdk1.4.2_04
2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
findClassName
Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
findClassName
Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
2006/11/21 23:53:53 org.apache.axis2.schema.writer.JavaBeanWriter
addPropertyEntries
Warning: Type {http://www.sweden.se/swebok}Name missing!
2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
findClassName
Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
2006/11/21 23:53:53 org.apache.axis2.schema.SchemaCompiler
findClassName
Warning: Type {http://www.sweden.se/swebok}ResponseBase missing!
C:\work>
There are 2 java files.
TicketPurchaseAndReservationsFacadeStub.java
TicketPurchaseAndReservationsFacadeCallbackHandler.java
Regards,
kinichiro
--- Magnus Bergman <ma...@voiceprovider.com> wrote:
> Hi, I'm trying to use WSDL2Java on a wsdl from a .NET service with
> the
> attached wsdl-file, but I'm getting a:
>
> java.io.IOException: Type ReturnCode is referenced but not defined.
>
> I can see on this problem occurred for others on this list but I
> cannot
> figure out how to fix my problem.
>
> Any help appreciated.
>
> Regards
> Magnus
____________________________________________________________________________________
Sponsored Link
Degrees online in as fast as 1 Yr
MBA, Bachelor's, Master's, Assoc
http://yahoo.degrees.info
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org