Hi all,

I've been trying this unsuccessfully for the last several days and have run
up against a wall as
what to do.  The Oracle support keep pressurizing me to upgrade to Oracle
9iAS 9.04 (I'm on ver 9.02)
saying that the problem has been fixed in 9.04.

Here's the problem description.
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
 I have deployed a web service on OC4J having a complex type input and a    
 complex                                                                    
 type return. The web service is implemented as a stateless session bean    
 and                                                                        
 the relevant web.xml for the deployment is:                                
                                                                            
 <servlet>                                                                  
 <servlet-name>ZipLookupManager</servlet-name>                              
 <servlet-class>oracle.j2ee.ws.SessionBeanWebService</servlet-class>        
 <init-param>                                                               
 <param-name>jndi-name</param-name>                                         
 <param-value>ZipLookupManagerBean</param-value>                            
 </init-param>                                                              
 <init-param>                                                               
 <param-name>class-name</param-name>                                        
 <param-value>com.indus.banner.components.cdyne.ZipLookupManagerBean</param 
 -va                                                                        
 lue>                                                                       
 </init-param>                                                              
 <init-param>                                                               
 <param-name>interface-name</param-name>                                    
 <param-value>com.indus.banner.components.cdyne.IZipLookupManager</param-va 
 lue>                                                                       
 </init-param>                                                              
 <init-param>                                                               
 <param-name>custom-bean-qname</param-name>                                 
 <param-value>                                                              
 com.indus.banner.components.cdyne.LatLongReturn,                           
 http://cdyne.components.banner.indus.com,                                  
 LatLongReturn,                                                             
 org.apache.soap.encoding.soapenc.BeanSerializer,                           
 org.apache.soap.encoding.soapenc.BeanSerializer                            
 </param-value>                                                             
 </init-param>                                                              
 <init-param>                                                               
 <param-name>custom-bean-qname</param-name>                                 
 <param-value>                                                              
 com.indus.banner.components.cdyne.ZipState,                                
 http://cdyne.components.banner.indus.com,                                  
 ZipState,                                                                  
 org.apache.soap.encoding.soapenc.BeanSerializer,                           
 org.apache.soap.encoding.soapenc.BeanSerializer                            
 </param-value>                                                             
 </init-param>                                                              
 </servlet>                                                                 
                                                                            
 The web service deploys correct. I have all the relevant jars in the       
 %J2EE_HOME%\lib folder. However, when I call the web service from a        
 standalone                                                                 
 client I get the following error:                                          
 java.lang.ClassNotFoundException:                                          
 org.apache.soap.encoding.soapenc.BeanSerializer                            
 at                                                                         
 oracle.j2ee.ws.GeneratedClassLoader.findClass(GeneratedClassLoader.ja      
 va:48)                                                                     
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)                   
 at java.lang.ClassLoader.loadClass(ClassLoader.java:262)                   
 at oracle.j2ee.ws.BaseWebService.initQnameMap(BaseWebService.java:602)     
 at oracle.j2ee.ws.RpcWebService.init(RpcWebService.java:453)               
 at                                                                         
 oracle.j2ee.ws.SessionBeanRpcWebService.init(SessionBeanRpcWebService      
 .java:54)                                                                  
                                                                            
 Please advise!                                                             
                                                                            
                                                                            

Thanks
Rizwan

****************************************
This email message and all attachments transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and
privileged information. Please DO NOT forward this email outside of the recipient's 
Company unless expressly authorized to do so herein.  Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email
and destroy all copies of the original message.

Any views expressed in this email message are those of the individual sender except 
where the sender specifically states them to be the views of Indus
 International, Inc.
****************************************


Reply via email to