We are using the axis version bundeled with the
andromda distribution.  Have you tried out the animal
quiz webservice?  That one generates complex types,
does that one deploy ok for you? 

--- "Coleman, Davin" <[EMAIL PROTECTED]>
wrote:

> EJB is provider
> Works with simple types.
> Style is wrapped.
> 
> Here is the offending service. Test method works but
> the getInformation
> method returns empty. The getInformation() on
> InformationServiceBeanImpl EJB
> is being called ok. Can you confirm the version of
> Axis you guys are using?
> 
> Here is the WSDD snippet.
> 
>     <service name="InformationService"
> provider="java:EJB" style="wrapped"
> use="literal">
>  
>
<wsdlFile>/com/centrica/eec/information/InformationService.wsdl</wsdlFile>
>         <documentation> 
>             
>         </documentation>
>        
>
<namespace>http://com.centrica.eec.information</namespace>
>         <parameter name="allowedMethods" value="test
> getInformation"/>
>         <parameter name="beanJndiName"
>
value="ejb/com.centrica.eec.information.InformationService"/>
>         <parameter name="homeInterfaceName"
>
value="com.centrica.eec.information.InformationServiceHome"/>
>         <parameter name="remoteInterfaceName"
>
value="com.centrica.eec.information.InformationService"/>
>         <!-- app server connection info 
>         <parameter name="jndiURL"
> value="jnp://localhost:1099"/>
>         <parameter name="jndiContextClass"
> value="org.jnp.interfaces.NamingContextFactory"/>
>         -->
>         <operation name="test">
>         </operation>
>         <operation name="getInformation">
>         </operation>
>         <typeMapping 
>            
>
type="java:com.centrica.eec.information.RegionalArea"
> 
>            
> xmlns:ns1="http://com.centrica.eec.information";
>             qname="ns1:RegionalArea" 
>            
>
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> 
>  
>
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> 
>             encodingStyle="">
>             <documentation> 
>             
>             </documentation>
>         </typeMapping> 
>         <typeMapping 
>            
>
type="java:com.centrica.eec.information.RegionalArea[]"
> 
>            
> xmlns:ns1="http://com.centrica.eec.information";
>             qname="ns1:ArrayOfRegionalArea" 
>            
>
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
>  
>
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
>             encodingStyle="">
>             <documentation> 
>             
>             </documentation>
>         </typeMapping>  
>         <typeMapping 
>            
>
type="java:com.centrica.eec.information.VOInformation"
> 
>            
> xmlns:ns2="http://com.centrica.eec.information";
>             qname="ns2:VOInformation" 
>            
>
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> 
>  
>
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> 
>             encodingStyle="">
>             <documentation> 
>             
>             </documentation>
>         </typeMapping> 
>       </service>      
> 
> Technical Lead
> 1 Kingsway / London
> Phone: 0207 8442816
> 
> -----Original Message-----
> From: Chad Brandon [mailto:[EMAIL PROTECTED] 
> Sent: 20 August 2004 15:22
> To: Coleman, Davin;
> '[EMAIL PROTECTED]'
> Subject: Re: [Andromda-user] Axis Problems with
> Databinding
> 
> Are you using EJBs as the provider?  Does it work
> when
> you don't use complex types?  Do you have the style
> set as wrapped?  If you send me your model I can
> take
> a look.
> 
> Chad
> 
> --- "Coleman, Davin" <[EMAIL PROTECTED]>
> wrote:
> 
> > My application is using the webservices cartridge
> > and Axis. The web services
> > have complex types as return values. When the
> > application is deployed in
> > JBoss the following exception is thrown in the log
> > file.
> > 
> >  
> > 
> > 2004-08-20 14:32:35,357 DEBUG
> >
> [org.apache.axis.encoding.ser.BaseSerializerFactory]
> > Exception:
> > 
> > java.lang.NoSuchMethodException:
> >
>
org.apache.axis.encoding.ser.BeanSerializerFactory.create(java.lang.Class,
> > javax.xml.namespace.QName)
> > 
> >             at
> > java.lang.Class.getMethod(Class.java:978)
> > 
> >             at
> >
>
org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSeriali
> > zerFactory.java:234)
> > 
> >             at
> >
>
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.ja
> > va:529)
> > 
> >             at
> >
>
org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:245)
> > 
> >             at
> >
>
org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:225)
> > 
> >             at
> >
>
org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:20
> > 4)
> > 
> >             at
> >
>
org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:1
> > 40)
> > 
> >             at
> >
>
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:66)
> > 
> >             at
> >
>
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java
> > :172)
> > 
> >             at
> >
> org.apache.axis.AxisEngine.init(AxisEngine.java:161)
> > 
> >             at
> >
>
org.apache.axis.AxisEngine.<init>(AxisEngine.java:145)
> > 
> >             at
> >
>
org.apache.axis.server.AxisServer.<init>(AxisServer.java:87)
> > 
> >             etc
> > 
> >  
> > 
> >  
> > 
> > Any ideas why? Looks like this occurs when the
> Axis
> > Web Service Deployment
> > Descriptor (WSDD) (server-config.wsdd) which
> > AndroMDA creates. Version of
> > Axis is axis-1.2-beta-20040626.jar
> > 
> >  
> > 
> > Thanks
> > 
> >  
> > 
> > Davin
> > 
> >  
> > 
> > Technical Lead
> > 
> > 1 Kingsway / London
> > 
> > Phone: 0207 8442816
> > 
> >  
> > 
> > 
> > 
> >
>
------------------------------------------------------------
> > The information contained in or attached to this
> > email is
> > intended only for the use of the individual or
> > entity to
> > which it is addressed. If you are not the intended
> > recipient, or a person responsible for delivering
> it
> > to the
> > intended recipient, you are not authorised to and
> > must not
> > disclose, copy, distribute, or retain this message
> > or any
> > part of it. It may contain information which is
> > confidential
> > and/or covered by legal professional or other
> > privilege (or
> > other rules or laws with similar effect in
> > jurisdictions
> > outside England and Wales).
> > The views expressed in this email are not
> > necessarily the
> > views of Centrica plc, and the company, its
> > directors,
> > officers or employees make no representation or
> > accept any
> > liability for its accuracy or completeness unless
> > expressly
> > stated to the contrary.
> > 
> > 
> 



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to