Hi Studium;

Could you please post the wsdl as well.

[EMAIL PROTECTED] wrote:

>Thank you Deepal, but I think the action is set.
>While debugging I can see that the options-Container of the 
>messageContext-Object has an entry
>action with the value 'http://localhost:8080/axis2/services/MyService/myMethod'
>which is the correct URL.
>
>Attached is the client (stubclass).
>While stepping through the stubs myMethod the axisOperation within the 
>messageContext seems to be correct. The field soapAction has the value 
>urn:myMethod. 
>Within the OutInAxisOperationClient::execute(), MC.getSoapAction() returns 
>http://localhost:8080/axis2/services/MyService/myMethod
>
>
>Is it possible that the cause of this error is the first element in the body 
>which is called myMethodRequest
>
>--------------------------------------
>The sent SOAP-Message I get from the MessageContext envelope-variable looks 
>like this:
>
><?xml version='1.0' encoding='utf-8'?>
><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Header />
>       <soapenv:Body>
>       <myMethodRequest 
> xmlns="http://localhost:8080/axis2/services/MyService/xsd";>
>               <dir xmlns="">
>                       <dir>hostname</dir>
>               </dir>
>       </myMethodRequest>
>       </soapenv:Body>
></soapenv:Envelope>
>
>Does anyone has further ideas ?
>
>Thanks so long
>
>Bille
>  
>
>>-----Ursprüngliche Nachricht-----
>>Von: [email protected]
>>Gesendet: 29.06.06 08:00:25
>>An: [email protected]
>>Betreff: Re: [axis2] code generated service :: Operation not found
>>    
>>
>
>
>  
>
>>Hi Studium;
>>As I understand , you are not sending SOAP action in the request.
>>try
>>option.setAction("myMethod"); , before calling the service.
>>
>>[EMAIL PROTECTED] wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I have a code generated service deployed, let's call it 'MyService'. The 
>>>axis service list says the service is fine and has a method 'myMethod'
>>>When running the Client with a simple message I get an AxisFault saying:
>>>
>>>Operation Not found EPR is http://localhost:8080/axis2/services/MyService 
>>>and WSA Action =  http://localhost:8080/axis2/services/MyService/myMethod
>>>     at 
>>> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287)
>>>
>>>While debugging I realized, that the instance variable axisOperation isn't 
>>>set (DispatchPhase::checkPostCondition()).
>>>The AxisEngine class doesn't seem to get the axisOperation set.
>>>For code  generation I used the Eclipse PlugIn Version 1.2.0
>>>
>>>I'm using the nightly build of 07.06.2006.
>>>
>>>Could anybody give me a hint please of what I'm missing?
>>>
>>>TIA Bille
>>>
>>>
>>>______________________________________________________________
>>>Verschicken Sie romantische, coole und witzige Bilder per SMS!
>>>Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>>>
>>>
>>>---------------------------------------------------------------------
>>>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]
>>
>>    
>>
>
>
>______________________________________________________________
>Verschicken Sie romantische, coole und witzige Bilder per SMS!
>Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
>  
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>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