Hi Negrao;
AxisOperation is abstract class so you can not call;
new AxisOperation();
So what you can do is create sub class of that , like InOutAxisOperation;
AxisOperation op = new InOutAxisOperation();

Axis2 has different implementation of AxisOperation for different MEP.
If you can pls have a look at;
org.apache.axis2.description.AxisOperationFactory;

Bruno Negrao wrote:

> Hi guys,
>
> when I try to instantiate an AxisOperation object with:
>
> AxisOperation agendaPesquisa =  new AxisOperation();
>
> that gives me an "Unresolved compilation problem":
>
> Exception in thread "main" java.lang.Error: Unresolved compilation
> problem:
>     Cannot instantiate the type AxisOperation
>
>     at teste.TestAgenda.main(TestAgenda.java:46)
>
> Is this a bug?
>
> (i'm downloading the latest nightly snapshot anyway...)
> thanks,
> bruno
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to