HI All,
I am using XMLBEans to generate the java classes from wsdl using Axis 2.
While compilation , it gives me the following  error :-

     [iajc] error at public class XXXServiceMessageReceiverInOut extends 
org.apache.axis2.receivers.AbstractInOutMessageReceiver{
The type XXXMessageReceiverInOut must implement the inherited abstract method 
MessageReceiver.receive(MessageContext)
     [iajc] error at if((op.getName() != null) && ((methodName = 
org.apache.axis2.util.JavaUtils.xmlNameToJavaIdentifier(op.getName().getLocalPart()))
 != null)){
     [iajc]                                                                     
        ^^^^^^^^^^^^^^
     [iajc] The method xmlNameToJavaIdentifier(String) is undefined for the 
type JavaUtils
     [iajc] [error   0]: error at public class XXXServiceMessageReceiverInOut 
extends org.apache.axis2.receivers.AbstractInOutMessageReceiver{
     [iajc]              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [iajc] XXXServiceMessageReceiverInOut.java:14:0::0 The type 
XXXServiceMessageReceiverInOut must implement the inherited abstract method 
MessageReceiver.receive(MessageContext)
     [iajc] [error   1]: error at if((op.getName() != null) && ((methodName = 
org.apache.axis2.util.JavaUtils.xmlNameToJavaIdentifier(op.getName().getLocalPart()))
 != null)){
     [iajc]                                                                     
        ^^^^^^^^^^^^^^
     [iajc] XXXyServiceMessageReceiverInOut.java:35:0::0 The method 
xmlNameToJavaIdentifier(String) is undefined for the type JavaUtils


I am not sure if I would need to implement that method. Would that not be done 
as part of the wsdl2Java generation. I believe only the *Skeleton.java needs to 
be modified

Thanks
Nilesh

Reply via email to