<element name="setEmail">
<complexType>
<sequence>
<element maxOccurs="unbounded" name="email" type="tns1:Email"/>
</sequence>
</complexType>
</element>
<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
Toaxis-user@ws.apache.org cc SubjectRe: [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]