Re: [axis2] service not found erp!!!

2006-01-04 Thread alon cohen

thank you ajith...
I need to clarify what I understand and what I don't…

I understand that the option.setAction is meant to find the operation, not the service. My problem is, that I don't find the service though I copied the end point from the available service list.

There is a class called *dispatching checker* that in server side works in the post-dispatch phaze and it's job is to check if the msgContext.getAxisService is not null and if it’s not null it check for operation!

What's trouble me is : how can I debug my server side and see the incoming call class and message context. 

My next try was creating a new service, based on other example (the calculator). that example didn't use any declaration of soap action, and declared the operation inside the OM building. Iv'e checked carefully that the name spaces and the qname are the same – and still iv'e got service not found (not the operation)
It also, as I recall didn't created mesageContext…


Any help and light will be most welcome!

Thanks, all
Alon. 





From:Ajith Ranabahu [EMAIL PROTECTED]Reply-To:axis-user@ws.apache.orgTo:axis-user@ws.apache.orgSubject:Re: [axis2] service not found erp!!!Date:Thu, 29 Dec 2005 12:18:12 +0600
Hi Alon,
The reason is that the Axis2 system uses the SOAPAction to find the
service on the server side. As soon as the SOAP action went missing ,
the service would not be found!
If you look inside the generated message receiver code, you'll see what I mean.
The problem with just filling out what the code generator generated
code may not solve the problem because the old client options code had
a bug in delegating. So you should modify the code NOT to have a parent
options passed in and then set the SOAPAction.

Ajith


Express yourself instantly with MSN Messenger! MSN Messenger Download today it's FREE!



[axis2] service not found erp!!!

2005-12-27 Thread alon cohen

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?
2.2. is there a set of commands that can pull the services names and theirs erp?
3. 3. how can I create the client without all the data binding?
4. 4. which parameters are required in the client options just to identify the service with outsendingan operation?
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. 
Don't just search. Find. MSN Search Check out the new MSN Search!