first, thank you very much...
i think i solve the problem i had, but i don't fully understand how it solved.
iv'e created the skeleton with the wsdl2java, that also created a stab.
iv'e warrped the skeleton and put the service in the repository...
then i simply made a main method on the stab and tried to test it!
it failed... the execption was service not found epr
then i used what the user-guide suggested and created the client side.
from what i saw, only the skeleton and message receiver don't apper in the client side.
after i added the code to the client side, and option.setSoapAction it worked!
i don't understand why?
thanks, alon
From: iksrazal <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [axis2] service not found erp!!!
Date: Tue, 27 Dec 2005 15:15:05 -0200
>Em Terça 27 Dezembro 2005 15:57, o alon cohen escreveu:
> > i'm new to axis2 and i tried to fallow the example of the user guide, using
> > wsdl2java iv'e created the skeleton and the stab from the
> > axis2SampleDoclit.wsdl I made the aar and deployed the service. The service
> > was shown inside available services. Then I tried to run the stab and got
> > the exceptionâ¦
> > I'm can't show the errors, because my computer is off the internet.
> > The error happens in the post dispatchâ¦
> > For the service to work I copied the service url shown inside the erp.
> > It claims that he can't find the serviceâ¦
> > I have some questionsâ¦
> > 1.      how can I know which services the client can see?
>
>Try http://localhost:8080/axis2/listServices
>
> > 2.      2.  is there a set of commands that can pull the services names and
> > theirs  erp?
>
>Try:
>
>Options options = stub._getClientOptions();
>
> > 3.      3. how can I create the client without all the data
> > binding?
>
>Maybe I misunderstand your question. There are 3 or 4 examples without data
>binding, ie the callback one for example.
>
> > 4.      4. which parameters are required in the client optionsÂ
> > just to  identify the service with out  sending   an operation?
>
>If the wsdl is correct and is packaged correctly, none are theoretically
>needed. I say 'theoretically' because the .93 release had a bug - since fixed
>- where you may need to do a 'options.setAction("yourAction")' that matches
>the soapAction for your operation.
>
>See this tutorial which may help:
>
>http://www.developer.com/open/print.php/10930_3557741_2
>
>
> > Any other
> > info will be very helpful.
> > I read   the user guide and the architect guide, but there was no real info
> > on this. Thanks,
> > Â
> > Alon.
>
>--
>HTH,
>iksrazal
>http://www.braziloutsource.com/
Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!
