Re: Required help to debug

Aleksander Slominski <[email protected]> Tue, 23 May 2006 12:12:49 -0400
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
[email protected] wrote:
> Hi Alek,
>
> I have downloaded the wsif Patch from this location
> http://cvs.apache.org/dist/ws/wsif/
>
> How to upgrade the wsif-2.0 with this patch? Pls advice
>   
try and just replace wsif.jar file (you may need ot replace related jars
such as axis if you use SOAP AXIS provider)

HTH,

alek
> Regards
> Prakash
>
> -----Original Message-----
> From: Aleksander Slominski [mailto:[email protected]]
> Sent: Monday, May 22, 2006 1:36 PM
> To: [email protected]
> Cc: [email protected]
> Subject: 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
>
> [email protected] 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>   


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