Using attributes to mark RefProp's and RefParam's

Team, 

Me and Igor were chatting about how to mark RefProp's and RefParam's on
the way back AND still not "lose the ability to leverage the SOAP
processing model", here's the outcome.....Comments?

Suppose we have an EPR which says this:
<wsa:EndpointReference>
   <wsa:Address>
        http://www.example.com/services/someService
   </wsa:Address>
   <wsa:ReferenceProperties>
        <tns:resourceID>DataChunk42</tns:resourceID>
   </wsa:ReferenceProperties>
   <wsa:ReferenceParameters>
        <tns:expires>32000</tns:expires>
   </wsa:ReferenceParameters>
</wsa:EndpointReference>

Can we have it come back as this?
<SOAP-ENV:Envelope>
     <SOAP-ENV:Header>
         <wsa:MessageID>msgid:1234567902282223</wsa:MessageID>
         <wsa:To>http://www.example.com/services/someService</wsa:To>
         <wsa:Action>http://www.example.com/someAction</wsa:Action>
         <wsa:From>http://www.example.com/clients/someClient</wsa:From>
 
<wsa:ReplyTo><wsa:Address>http://www.example.com/clients/someOtherClient
</wsa:Address></wsa:ReplyTo>
 
<wsa:FaultTo><wsa:Address>http://www.example.com/clients/yetAnotherClien
t</wsa:Address></wsa:FaultTo>
         <tns:resourceID
wsa:type="property">DataChunk42</tns:resourceID>
         <tns:expires wsa:type="parameter">32000</tns:expires>
     </SOAP-ENV:Header>
     <SOAP-ENV:Body>
        ...
     </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Davanum Srinivas
Computer Associates
Senior Architect, Web Services Group
Tel: +1 508 628 8251
davanum.srinivas@ca.com
http://ws.apache.org/~dims/

Davanum Srinivas
Computer Associates
Senior Architect, Web Services Group
Tel: +1 508 628 8251
davanum.srinivas@ca.com
http://ws.apache.org/~dims/

Received on Wednesday, 24 November 2004 17:56:11 UTC