You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-dev@ws.apache.org by Aleksander Slominski <as...@cs.indiana.edu> on 2006/05/22 10:05:58 UTC

Re: Required help to debug

hi Prakash,

did try to you source code and set debugger breakpoint in
addAllTypesElements() ? that should tell you what is going on when you
step through this method.

it is hard to know what is going on as you do not provide enough
resources to reproduce the issues.

best,

alek

gnanaprakash.valacha@wipro.com wrote:
> Hi,
>  
> I am using wsif 2.0 in my project. I am getting the following exception.
>  
>
> INFO  [STDOUT] _java.lang.ClassCastException_
>
> 00:39:21,018 INFO  [STDOUT] at
> org.apache.wsif.compiler.util.Utils.addAllTypesElements(Unknown Source)
>
> 00:39:21,018 INFO  [STDOUT] at
> org.apache.wsif.compiler.util.Utils.getAllTypesElements(Unknown Source)
>
> 00:39:21,019 INFO  [STDOUT] at
> org.apache.wsif.base.WSIFServiceImpl.getDefaultTypeMappings(Unknown
> Source)
>
> 00:39:21,019 INFO  [STDOUT] at
> org.apache.wsif.base.WSIFServiceImpl.getAllCustomTypes(Unknown Source)
>
> 00:39:21,019 INFO  [STDOUT] at
> org.apache.wsif.base.WSIFServiceImpl.init(Unknown Source)
>
> 00:39:21,019 INFO  [STDOUT] at
> org.apache.wsif.base.WSIFServiceImpl.<init>(Unknown Source)
>
> 00:39:21,019 INFO  [STDOUT] at
> org.apache.wsif.base.WSIFServiceFactoryImpl.getService(Unknown Source)
>
>  
>
> When I print the 'Types' in the Definition object I am getting the
> following:
>
>  
>
> *SchemaExtensibilityElement ({http://www.w3.org/2001/XMLSchema}schema):*
>
> *required=null*
>
> *element=[xs:schema: null]*
>
>  
>
> I think the line where the Object is type cast is expecting
> UnknonwExtensibilityElement but the actual type is the
>
> following:
>
>  
>
> *com.ibm.wsdl.extensions.schema.SchemaImpl*
>
> ** 
>
> Pls help me debugging the issue.
>
>  
>
> Thanks & Regards
>
> Prakash
>
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> www.wipro.com
>


-- 
The best way to predict the future is to invent it - Alan Kay


---------------------------------------------------------------------
To unsubscribe, e-mail: wsif-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wsif-dev-help@ws.apache.org