Re: Fw: [Axis2] IWAB0399E Error in generating Java from WSDL

2006-07-13 Thread delapenajs

Hi Anne,

Thank
you for the advise. I noticed that my existing codes were not following
java bean convention. Also, i even used Singleton. After a few adjustments,
this should work fine.


Joseph







Anne Thomas Manes
[EMAIL PROTECTED] 
07/13/2006 01:09 PM



Please respond to
axis-user@ws.apache.org





To
axis-user@ws.apache.org


cc



Subject
Re: Fw: [Axis2] IWAB0399E Error in generating
Java from WSDL








The problem is with this reference in the WSDL:

 element name=setEmail
  complexType
   sequence
   element maxOccurs=unbounded name=email
type=tns1:Email/ 
   /sequence
  /complexType
  /element

Your WSDL imports the tns1 namespace, but does not provide a location for
the schema. I assume that the Eclipse tool can't figure out how to resolve
the reference, so gives you the error. 

You need to make sure that your define the Email object as a bean and include
the bean in your project before attempting to generate the service.

Anne

On 7/12/06, [EMAIL PROTECTED]
[EMAIL PROTECTED]
wrote:

Hi, 

Attached are screen shots on how i encountered
the error + the .wsdl file.  This is how it came to be: 
1.  I
created a new Dynamic Web Project, 
2.  copied
my src folder from existing project, 
3.  chose
the class i want to expose as webservice and tried to create a new web
service from it. 
4.  error
IWAB0399E
... referenced but not defined


thank you, 


Joseph 









Anne Thomas Manes
[EMAIL PROTECTED]

07/13/2006 04:07 AM





Please respond to
axis-user@ws.apache.org






To
axis-user@ws.apache.org



cc



Subject
Re: [Axis2] IWAB0399E Error in generating
Java from WSDL










Please post your WSDL.

On 7/12/06, [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

 Hi,

 I've already done a webservice using Eclipse
3.2.  Used Dynamic Web
 Project then created Web Service from it.  It was ok and went
smooth.  Now
 i'm trying to convert my existing codes to a webservice.  I
got stuck n
 kept on encountering this error:

 IWAB0399E Error in generating Java from
WSDL: java.io.IOException:
 Type {http://package.morepackage}MyClass is referenced but not defined.


 How do i go about? Please advise


 thanks,


 Joseph


-
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: [Axis2] IWAB0399E Error in generating Java from WSDL

2006-07-12 Thread Anne Thomas Manes

Please post your WSDL.

On 7/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi,

I've already done a webservice using Eclipse 3.2.   Used Dynamic Web
Project then created Web Service from it.   It was ok and went smooth.   Now
i'm trying to convert my existing codes to a webservice.   I got stuck n
kept on encountering this error:

IWAB0399E Error in generating Java from WSDL:  java.io.IOException:
Type {http://package.morepackage}MyClass is referenced but not defined.


How do i go about? Please advise


thanks,


Joseph



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] IWAB0399E Error in generating Java from WSDL

2006-07-12 Thread delapenajs

Hi,

Attached
are screen shots on how i encountered the error + the .wsdl file. 
This is how it came to be: 

   1.  I created a new Dynamic Web
Project, 

   2.  copied my src folder from
existing project, 

   3.  chose the class i want to
expose as webservice and tried to create a new web service from it.

   4.  error IWAB0399E
... referenced but not defined

thank you,


Joseph








Anne Thomas Manes
[EMAIL PROTECTED] 
07/13/2006 04:07 AM



Please respond to
axis-user@ws.apache.org





To
axis-user@ws.apache.org


cc



Subject
Re: [Axis2] IWAB0399E Error in generating
Java from WSDL








Please post your WSDL.

On 7/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi,

 I've already done a webservice using Eclipse
3.2.  Used Dynamic Web
 Project then created Web Service from it.  It was ok and went
smooth.  Now
 i'm trying to convert my existing codes to a webservice.  I
got stuck n
 kept on encountering this error:

 IWAB0399E Error in generating Java from
WSDL: java.io.IOException:
 Type {http://package.morepackage}MyClass is referenced but not defined.


 How do i go about? Please advise


 thanks,


 Joseph


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Fw: [Axis2] IWAB0399E Error in generating Java from WSDL

2006-07-12 Thread Anne Thomas Manes
The problem is with this reference in the WSDL: element name=setEmail complexType sequence element maxOccurs=unbounded name=email type=tns1:Email/
 /sequence /complexType /elementYour WSDL imports the tns1 namespace, but does not provide a location for the schema. I assume that the Eclipse tool can't figure out how to resolve the reference, so gives you the error. 
You need to make sure that your define the Email object as a bean and include the bean in your project before attempting to generate the service.AnneOn 7/12/06, 
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Hi,

Attached
are screen shots on how i encountered the error + the .wsdl file. 
This is how it came to be: 

   1.  I created a new Dynamic Web
Project, 

   2.  copied my src folder from
existing project, 

   3.  chose the class i want to
expose as webservice and tried to create a new web service from it.

   4.  error IWAB0399E
... referenced but not defined

thank you,


Joseph










Anne Thomas Manes
[EMAIL PROTECTED] 
07/13/2006 04:07 AM



Please respond to
axis-user@ws.apache.org





To
axis-user@ws.apache.org



cc



Subject
Re: [Axis2] IWAB0399E Error in generating
Java from WSDL








Please post your WSDL.

On 7/12/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 Hi,

 I've already done a webservice using Eclipse
3.2.  Used Dynamic Web
 Project then created Web Service from it.  It was ok and went
smooth.  Now
 i'm trying to convert my existing codes to a webservice.  I
got stuck n
 kept on encountering this error:

 IWAB0399E Error in generating Java from
WSDL: java.io.IOException:
 Type {http://package.morepackage}MyClass is referenced but not defined.


 How do i go about? Please advise


 thanks,


 Joseph


-
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]




-To unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] IWAB0399E Error in generating Java from WSDL

2006-07-11 Thread delapenajs

Hi,

I've
already done a webservice using Eclipse 3.2.  Used Dynamic Web
Project then created Web Service from it.  It was ok and
went smooth.  Now i'm trying to convert my existing codes to a webservice.
 I got stuck n kept on encountering this error:

IWAB0399E
Error in generating Java from WSDL: java.io.IOException: Type
{http://package.morepackage}MyClass is referenced but not defined.


How
do i go about? Please advise


thanks,


Joseph