axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hurst, Cyrus" <>
Subject Wrox EJB Provider example correction .....
Date Wed, 19 Jun 2002 19:04:37 GMT

    I have been fumbling around with this and finally got it working.
  In reference to the EJB Provider example in Wrox Axis book , two more 
  parameters need to be added to the wsdd for it to  work 
  correctly.  They are
     1) <parameter name="remoteInterfaceName" value="theRemoteInterfaceName"
     2) <parameter name="className"  value="theRemoteInterfaceName" /> 

-----Original Message-----
From: Hurst, Cyrus []
Sent: Wednesday, June 19, 2002 9:40 AM
To: ''
Subject: RE: NoSuchMethodException- Follow up 

    Does anyone know if any parameters in the  .wsdd for EJB provider
 have changed since Beta1 ?  I followed the example in the WROX Axis book
 for deploying stateless session beans but I am getting  NoSuchOperation
when I 
 invoke the EJB web-service.  My wsdd looks like :
<deployment xmlns=""
    <service name="AssociateInfo" provider="java:EJB">
        <parameter name="beanJndiName" value="jndi/ejb/AssociateSessionEJB"
        <parameter name="homeInterfaceName"
value="com.nielsenmedia.lrs.cpr.associate.AssociateSessionHome" />
        <parameter name="allowedMethods" value="getAssociateIDFromDMZID"/>
        <parameter name="jndiURL" value="t3://d2loc:9023" />
        <parameter name="jndiContextClass"
value="weblogic.jndi.WLInitialContextFactory" />


-----Original Message-----
From: Hurst, Cyrus []
Sent: Wednesday, June 19, 2002 9:21 AM
To: ''
Subject: RE: NoSuchMethodException- Resolved...

   Found the problem...I didn't realize the method signature for
message-based service had changed in Beta2 .  
   I have been following the Wrox Axis book examples which use Axis Beta1.
The correct
   method signature should be  :
                 public Element[] updateAssociateProfile(Vector
soapBodyElements) throws Exception 


-----Original Message-----
From: Hurst, Cyrus []
Sent: Tuesday, June 18, 2002 4:42 PM
To: ''
Subject: NoSuchMethodException...

   I keep running into this problem and haven't found the cause of it .. I
am testing out a message-based service .  
     In my client code I have this as my endPointURL :
                String endpointURL =

     In my message service class this is the method signature :  
                public Element[] updateAssociateProfile(MessageContext
context, Vector soapBodyElements) throws Exception

     In my deploy.wsdd I have :
        <service name="CPRMessagingService" provider="java:MSG">
           <parameter name="className" value="TestCprMessagingService" />
           <parameter name="allowedMethods" value="updateAssociateProfile"

     In the generated wsdl :  
       <wsdl:portType name="TestCprMessagingService">
       <wsdl:operation name="updateAssociateProfile" parameterOrder="in0
       <wsdl:input message="intf:updateAssociateProfileRequest" /> 
       <wsdl:output message="intf:updateAssociateProfileResponse" /> 
       <wsdl:fault message="intf:Exception" name="Exception" /> 

  As you can see the method name(updateAssociateProfile) is consistent
throughout the code yet I'm getting NoSuchMethodException  on both client
and server console .  Any ideas?  


View raw message