Which one of these sentences is right, the perfect simple or the perfect continuous?

> 
> A: Have you ever worked in a factory?  
> 
>  B: No, never!
> 
> 
> 

or

> 
> A: Have you ever been working in a factory?  
> 
>  B: No, never!
> 
> 
>