I removed the IOException and replaced it with Exception 

Now i get the following error :

 

 

27/05/2007 08:27:16 org.apache.axis2.description.WSDL11ToAxisServiceBuilder
addQNameReference
SEVERE: There are no parts for fault message :
{http://mycompanyName.com/}Exception
27/05/2007 08:27:16 org.apache.axis2.description.WSDL11ToAxisServiceBuilder
populateService


SEVERE:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingExcept
ion: There are no parts for fault message :
{http://mycompanyName.com/}Exception


Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
 at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngi
ne.java:137)
 at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
 at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)


Caused by: org.apache.axis2.AxisFault: There are no parts for fault message
: {http://mycompanyName.com/}Exception
 at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL
11ToAxisServiceBuilder.java:298)
 at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServi
ces(WSDL11ToAllAxisServicesBuilder.java:100)
 at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngi
ne.java:131)
 ... 2 more


Caused by:
org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingExcept
ion: There are no parts for fault message :
{http://mycompanyName.com/}Exception
 at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WS
DL11ToAxisServiceBuilder.java:920)
 at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL
11ToAxisServiceBuilder.java:533)
 at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSD
L11ToAxisServiceBuilder.java:374)
 at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WS
DL11ToAxisServiceBuilder.java:334)
 at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL
11ToAxisServiceBuilder.java:288)
 ... 4 more
Java Result: 1

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Sunday, May 27, 2007 4:31 AM
To: [email protected]
Subject: Re: Axis2 codegen Unable to determine namespace of
'ax21:IOException' "

Sharon,

Please log a bug with your original sources used to run java2wsdl. you
are probably throwing a IOException in one of your service classes,
please remove that and try just to check if that is the cause of the
problem.

thanks,
dims

On 5/26/07, Sharon <[EMAIL PROTECTED]> wrote:
> Hi
> I am trying to get the client java files using Wsdl2Java generator,
> I am geting the next exception :
>
> UNBOUND_PREFIX: Unable to determine namespace of 'ax21:IOException'
>
> The wsdl was created by Java2Wsdl.
>
> Can I skip WSDL validation in order to create the client sources?
>
> Thank you
> Sharon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
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]

Reply via email to