On Fri, Nov 7, 2008 at 12:29 AM, Ray Harrison <[EMAIL PROTECTED]> wrote:

> Ray Harrison wrote:
>
>> Definitely agreed there - the walk-through was VERY insightful and I truly
>> appreciate you taking the time to put it together!
>>
>> Cheers
>> Ray
>>
>>
>>
>> On Thu, 06 Nov 2008 15:10:47 -0700, Dan Becker <[EMAIL PROTECTED]>
>> wrote:
>>
>>  Simon Laws wrote:
>>>
>>>> Let me see if I can give you a summary of what happens. I'll use one of
>>>> our
>>>> samples to do that (
>>>>
>>>> http://svn.apache.org/repos/asf/tuscany/java/sca/samples/helloworld-ws-reference/).
>>>>
>>>>
>>>
>>> Author recognition points +1!!!
>>>
>>> I know one can step through this with the sample and a debugger, but this
>>> sort of walk-through really helps lots of users. Thanks, Simon.
>>>
>>>
>>
>>
>>  OK - enclosed is the bare-bones project with everything stripped out. And
> it is based on my interpretation of the original translate example, which I
> am enclosing too (and which works though the variant of translate I have
> been testing (not the enclosed) uses doc/literal rather than rpc - both
> work).
>
> I'm sure it is something ignorant I am not seeing but I just can't seem to
> make headway. I need one of those "light-bulb moments" ;-)
>
> Thanks
> Ray
>
>
One thing is that the namespace used in the binding.ws wsdlElement attribute
does not match the target namespace of the wsdl - its got an extra trailing
slash character. Tuscany really should give a better error message in that
case instead of just carrying on ignoring the problem, i think you should
raise a JIRA about that so we get it fixed.

That the translate sample works without the remotable annotation is also a
bug. That may not have been the best sample to use as a base though as it
was specifically to find a way to invoke rpc/encoded services, its probably
easier to start with one of the more tried and tested Tuscany samples like
the helloworld-ws-reference one that Simon mentioned.

   ...ant

Reply via email to