W3C home > Mailing lists > Public > www-ws@w3.org > April 2003

BravoAir/CongoBuy grounding question

From: Daniel Elenius <danel698@student.liu.se>
Date: 10 Apr 2003 15:53:48 +0200
To: www-ws@w3.org
Message-Id: <1049982828.2057.14.camel@q85.ryd.student.liu.se>

Hi!

I just spotted a thing that's done differently in these two files, and I
want to know which one is the recommended style.

In CongoGrounding.daml, all URIs to entities defined in the WSDL file
are referenced by plain URI, for example:

<grounding:wsdlOperation>
   &congo_wsdl_grounding;#CongoBuy
</grounding:wsdlOperation>

But in BravoAir, it's done like this:

<grounding:wsdlOperation>
  <xsd:uriReference
rdf:value="&BravoAirGroundingWSDL;#GetDesiredFlightDetails..."/>
</grounding:wsdlOperation>

The latter one has the advantage that DAMLvalidator doesn't complain...

So, which style should I use?



I also have another question. I note that in both these examples, each
atomic process gets its own Port type in the wsdl grounding. Is this a
requirement (for some reason) or can I have just one port for the whole
service (say, a "Printer" service with different methods) and operations
within that port for the different methods (like, "print document",
"print test sheet", "set configuration")?

The reason I'm asking is because I'm creating my WSDL grounding based on
what Apache Axis' Java2WSDL utility produces, and it uses the latter
style (where the Port = the Java Class, and each operation = a Java
method within that class).

Regards,
/Daniel
Received on Thursday, 10 April 2003 09:53:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:41 GMT