You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Madeleine Wright <m....@ru.ac.za> on 2005/01/05 22:52:22 UTC
Re: how to synchronize the OperationDesc with the implementation
class?
Thanks so much for taking the time to get back to me on this. I took
another look at the file you mentioned and realized I had several
attributes missing from the fault part. It works now!!
Madeleine
Jongjin Choi wrote:
> Madeleine,
>
> The <parameter>, I mean for the parameters for the java method, not classname and allowed methods.
> You should not specifiy those under <operation> element.
> The wsdd use the same name for the service's parameter and operation's parameter. (I think this is confusing)
>
> Have you take a look at the deploy.wsdd in samples/faults directory?
> I think the file will be a help to you.
>
> /Jongjin.
>
> ----- Original Message -----
> From: "Madeleine Wright" <m....@ru.ac.za>
> To: <ax...@ws.apache.org>
> Sent: Thursday, December 30, 2004 7:54 AM
> Subject: Re: how to synchronize the OperationDesc with the implementation class?
>
>
>
>>No - I put the input parameters inside the operation element, but the
>>class name and allowed methods parameters I put separately. Should
>>these last 2 be inside the operation element?
>>
>>Thanks.
>>
>>Madeleine
>>
>>Jongjin Choi wrote:
>>
>>>Did you specify the <parameter> element under the <operation> element?
>>>
>>>/Jongjin
>>>
>>>----- Original Message -----
>>>From: "Madeleine Wright" <m....@ru.ac.za>
>>>To: <ax...@ws.apache.org>
>>>Sent: Wednesday, December 29, 2004 10:41 AM
>>>Subject: how to synchronize the OperationDesc with the implementation class?
>>>
>>>
>>>
>>>
>>>>Plwase can someone give me a clue as to what I'm doing wrong. I'm
>>>>trying to test faults and to include a fault in the wsdd I need to
>>>>include an operation element but I'm obviously doing something wrong
>>>>because I keep getting an Axis InternalException that says: "The
>>>>OperationDesc for doIndex was not synchronized to a method of
>>>>WI.WebIndexerImpl." My operation element looks like this:
>>>><operation name="doIndex" qname="tns.doIndex" xmlns:tns="http://WI"
>>>>returnType="xsd:string">
>>>> ...
>>>></operation>
>>>>
>>>>How do I make the two synchronize please?
>>>>
>>>>Thanks.
>>>>
>>>
>>