2009/5/19 Stian Soiland-Reyes <[email protected]>:
> On Tue, May 19, 2009 at 10:07, Alan Williams <[email protected]> wrote:
>>>> construct that doesn't really describe what's in it. The URI of each
>>>> service in the WSDL would be a better discriminator, right?
>>> Sorry, I meant "the qualified name of each service in the WSDL" --
>>> i.e. namespace + servicename.
>> I agree.  The namespace + servicename + operation would seem to be
>> better.  I will ask Stuart Owen (our WSDL expert) what he thinks.
>
>
> What is 'servicename'? Do you mean like in the binding?
>
>  <wsdl:service name="HippiService">

Yep, that's what I had in mind...

> I'll let Stuart comment, I guess this would also differentiate between
> different service bindings in the same file - but is a wsdl:service
> required to have a name? Even in old-style RPC/encoded?

Err... Not an expert in rpc/encoded, but when I remove the name
attribute, Eclipse says:

cvc-complex-type.4: Attribute 'name' must appear on element 'wsdl:service'.

I *think* this is an XSD validation error so this would be true in
rpc/encoded too.

> Also a <wsdl:service> can have *multiple* ports inside, but they are
> meant to be somewhat equivalent pr port type (perhaps this could be
> used for some redundancy?):
...
> My favourite would be to do it on the port type and operation name - I
> don't think they would need to be fully qualified as they can't have
> namespace prefixes anyway within a WSDL. (again I'm not sure about
> that..)

Well, everything in the WSDL is in the targetNamespace defined in the
root element, right?

I think the correct way to identify a service is like:

{http://funcnet.eu/FuncNet_1_0/}CodaCathService

i.e. {namespace-uri}ServiceName

> To do this 100% - would we need to do wsdl URL, service name and port
> type name - or do we then also need operation name?

I think we would need operation name -- a port type can have multiple
operations -- I think this is pretty common actually, e.g. in
submit/monitor/retrieve services.

But I disagree about using the WSDL for the reasons in the last mail :-)

{namespace-uri}ServiceName -> PortType -> operation ??

> I suggest moving this to taverna-hackers - are you on that list, Andrew..?

Err, I am now, feel free to reply there instead...

Andrew.

-- 
:: http://biotext.org.uk/ ::

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
taverna-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-users
Documentation: http://www.mygrid.org.uk/usermanual1.7/
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
Biological Services: http://www.mygrid.org.uk/wiki/Mygrid/BiologicalWebServices

Reply via email to