OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-poc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Tokyo POC RR: Sample TPAML between Registry clients and Registryservice



Attached is a sample TPA in TPAML 1.0.6 syntax. This TPA can be used as
a template where we can simply change some URLs etc. and use the
modified version as the TPA between say CISCO Registry client and Sun
registry. There is a pattern based relationship between this TPA and the
6 interfaces in the RR Services v0.8. The mapping is defined in that
spec.

Since creating this file was a tedious and error prone process, if
anyone finds any error (syntactical or semantic) in the TPA please let
me know. I will send out an update in that case. Please don't hesitate
to ask any questions on this subject.

--
Regards,
Farrukh

<?xml version = "1.0"?>
<!--DOCTYPE TPA SYSTEM "tpa_1_0_6.dtd"-->

<!--Note: above URL will actually point to a URL in the repository for the schema for TPAML-->
<TPA>    
	<TPAInfo>        
		<TPAName>Sample TPA between Registry client and Registry Service</TPAName>        
		<TPAType>            
			<Protocol>ebXML</Protocol>            
			<Version>0.1</Version>            
			<Type>RegistryServices</Type>        
		</TPAType>        
		<Role>            
			<RoleDefn>                
				<RoleName>RegistryClient</RoleName>                
				<RolePlayer/>            
			</RoleDefn>            
			<RoleDefn>                
				<RoleName>RegistryService</RoleName>                
				<RolePlayer/>            
			</RoleDefn>        
		</Role>        
		<Participants>            
			<Member IdCodeType = "DUNS" MemberId = "333333333">                
				<PartyName Partyname = "CiscoRegistryClient">CiscoRegistryClient</PartyName>                
				<CompanyTelephone/>                
				<Address>                    
					<AddressType>location</AddressType>                    
					<AddressLine> 
					</AddressLine>                    
					<City> 
					</City>                    
					<State> 
					</State>                    
					<Zip> 
					</Zip>                    
					<Country> 
					</Country>                
				</Address>                
				<Contact Type = "primary">                    
					<LastName>Sankar</LastName>                    
					<FirstName>Krishna</FirstName>                    
					<MiddleName> 
					</MiddleName>                    
					<Title> 
					</Title>                    
					<ContactTelephone Type = "primary">123-456-7890</ContactTelephone>                    
					<EMail Type = "primary">ksankar@cisco.com</EMail>                
				</Contact>            
			</Member>            
			<Member IdCodeType = "DUNS" MemberId = "000000000">                
				<PartyName Partyname = "SunRegistryService">SunRegistryService</PartyName>                
				<CompanyTelephone> 
				</CompanyTelephone>                
				<Address>                    
					<AddressType>location</AddressType>                    
					<AddressLine> 
					</AddressLine>                    
					<City> 
					</City>                    
					<State> 
					</State>                    
					<Zip> 
					</Zip>
					<Country>USA</Country>                
				</Address>                
				<Contact Type = "primary">                    
					<LastName>Najmi</LastName>                    
					<FirstName>Farrukh</FirstName>                    
					<MiddleName>Salahudin</MiddleName>                    
					<Title> 
					</Title>                    
					<ContactTelephone Type = "primary">781-442-0703</ContactTelephone>                    
					<EMail Type = "primary">najmi@east.sun.com</EMail>                
				</Contact>            
			</Member>        
		</Participants>        
		<Duration>            
			<Start>                
				<Date>20000725</Date>                
				<Time>000000.000Z</Time>            
			</Start>            
			<End>                
				<Date>20001231</Date>                
				<Time>000000.000Z</Time>            
			</End>        
		</Duration>    
	</TPAInfo>    
	<DeliveryChannelSet>        
		<DeliveryChannel ChannelId = "id_registry_http_transport_channel" TransportId = "id_registry_http_transport" DocExchangeId = "id_doc_exchange"/>        
		<DeliveryChannel ChannelId = "id_registryclient_http_transport_channel" TransportId = "id_registryclient_http_transport" DocExchangeId = "id_doc_exchange"/>        
	</DeliveryChannelSet>    
	<Transport TransportId = "id_registry_http_transport">        
		<Communication>            
			<HTTP>                
				<Version>1.1</Version>                
				<HTTPNode>                    
					<OrgName Partyname = "SunRegistryService"/>                    
					<HTTPAddress>                        
						<RequestURL>http://10.0.0.0:/servlet/RegistryService</RequestURL>
					</HTTPAddress>                
				</HTTPNode>                
				<TransportEncoding>ebXML</TransportEncoding>             
			</HTTP>        
		</Communication>    
	</Transport>    
	<Transport TransportId = "id_registryclient_http_transport">        
		<Communication>            
			<HTTP>                
				<Version>1.1</Version>                
				<HTTPNode>                    
					<OrgName Partyname = "CiscoRegistryClient"/>                    
					<HTTPAddress>                        
						<RequestURL>http://10.0.0.112:8000/servlet/RegistryClient</RequestURL>                    
					</HTTPAddress>                
				</HTTPNode>                
				<TransportEncoding>ebXML</TransportEncoding>            
			</HTTP>        
		</Communication>    
	</Transport>    
	<DocExchange DocExchangeId = "id_doc_exchange">        
		<MessageIdempotency>required</MessageIdempotency>    
	</DocExchange>    
	<BusinessProtocol>        
		<MessageSet>ebXML Registry Service</MessageSet>            
		<BusinessInterface>                
  
			<!--Begin Interfaces implemented by RegistryService-->
			<ServiceInterface InterfaceId = "Registry">  
				<OrgName Partyname = "SunRegistryService"/>  
				<TaskName>Registry</TaskName>  
				<ActionMenu>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "registerParty">      
						<Request>        
							<RequestName>RegisterPartyRequest</RequestName>        
							<RequestMessage>RegisterPartyRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>      
						</Request>      
						<Response>        
							<ResponseName Required = "yes">RequestAcceptedResponse</ResponseName>      
						</Response>        
						<ExceptionResponse>        
							<ExceptionResponseName>EbXMLError</ExceptionResponseName>      
						</ExceptionResponse> 
    
					</Action>  
				</ActionMenu>  
			</ServiceInterface> 
			<ServiceInterface InterfaceId = "ObjectManager">  
				<OrgName Partyname = "SunRegistryService"/>  
				<TaskName>ObjectManager</TaskName>  
				<ActionMenu>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "submitObjects">      
						<Request>        
							<RequestName>SubmitObjectsRequest</RequestName>        
							<RequestMessage>SubmitObjectsRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>      							      
						</Request>      
						<Response>        
							<ResponseName Required = "yes">RequestAcceptedResponse</ResponseName>      
						</Response>        
						<ExceptionResponse>        
							<ExceptionResponseName>EbXMLError</ExceptionResponseName>      
						</ExceptionResponse> 
    
					</Action>

					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "approveObjects">      
						<Request>        
							<RequestName>ApproveObjectsRequest</RequestName>        
							<RequestMessage>ApproveObjectsRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>          
						</Request>      
						<Response>        
							<ResponseName Required = "yes">RequestAcceptedResponse</ResponseName>      
						</Response>        
						<ExceptionResponse>        
							<ExceptionResponseName>EbXMLError</ExceptionResponseName>      
						</ExceptionResponse> 
    
					</Action>  

					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "deprecateObjects">      
						<Request>        
							<RequestName>DeprecateObjectsRequest</RequestName>        
							<RequestMessage>DeprecateObjectsRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>          
						</Request>      
						<Response>        
							<ResponseName Required = "yes">RequestAcceptedResponse</ResponseName>      
						</Response>        
						<ExceptionResponse>        
							<ExceptionResponseName>EbXMLError</ExceptionResponseName>      
						</ExceptionResponse> 
    
					</Action>  
  
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "removeObjects">      
						<Request>        
							<RequestName>RemoveObjectsRequest</RequestName>        
							<RequestMessage>RemoveObjectsRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>            
						</Request>      
						<Response>        
							<ResponseName Required = "yes">RequestAcceptedResponse</ResponseName>      
						</Response>        
						<ExceptionResponse>        
							<ExceptionResponseName>EbXMLError</ExceptionResponseName>      
						</ExceptionResponse> 
    
					</Action>  
  
				</ActionMenu>  
			</ServiceInterface>

			<ServiceInterface InterfaceId = "ObjectQueryManager">
				<!-- Note only asynch version of interface actions are needed for Tokyo POC-->  
				<OrgName Partyname = "SunRegistryService"/>  
				<TaskName>ObjectQueryManager</TaskName>  
				<ActionMenu>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "getRootClassificationNodesAsynch">      
						<Request>        
							<RequestName>GetRootClassificationNodesRequest</RequestName>        
							<RequestMessage>GetRootClassificationNodesRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>      							      
						</Request>      
						<Response>        
							<ResponseName Required = "yes">GetRootClassificationNodesResponse</ResponseName>      
						</Response>
						<!--Note there is no ExceptionResponse since reponse can convey errors as well-->         
    
					</Action>

					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "getClassificationTreeAsynch">      
						<Request>        
							<RequestName>GetClassificationTreeRequest</RequestName>        
							<RequestMessage>GetClassificationTreeRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>          
						</Request>      
						<Response>        
							<ResponseName Required = "yes">GetClassificationTreeResponse</ResponseName>      
						</Response>        
						<!--Note there is no ExceptionResponse since reponse can convey errors as well-->         
    
					</Action>  

					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "getClassifiedObjectsAsynch">      
						<Request>        
							<RequestName>GetClassifiedObjectsRequest</RequestName>        
							<RequestMessage>GetClassifiedObjectsRequest</RequestMessage>
							<Channel ChannelId = "id_registry_http_transport_channel"/>            
						</Request>      
						<Response>        
							<ResponseName Required = "yes">GetClassifiedObjectsResponse</ResponseName>      
						</Response>        
						<!--Note there is no ExceptionResponse since reponse can convey errors as well-->         
    
					</Action>  
  
				</ActionMenu>  
			</ServiceInterface>
  
			<!--End Interfaces implemented by RegistryService-->
			
			<!--Begin Interfaces implemented by RegistryClient-->
			<ServiceInterface InterfaceId = "RegistryClient">  
				<OrgName Partyname = "CiscoRegistryClient"/>  
				<TaskName>RegistryClient</TaskName>  
				<ActionMenu>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "registerPartyAccepted">      
						<Request>        
							<RequestName>RequestAcceptedResponse</RequestName>        
							<RequestMessage> RequestAcceptedResponse </RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>            
						</Request>          
					</Action>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "registerPartyError">      
						<Request>        
							<RequestName>EbXMLError</RequestName>        
							<RequestMessage>EbXMLError</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>  
				</ActionMenu>  
			</ServiceInterface>
			
			<ServiceInterface InterfaceId = "ObjectManagerClient">  
				<OrgName Partyname = "CiscoRegistryClient"/>  
				<TaskName>ObjectManagerClient</TaskName>  
				<ActionMenu>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "submitObjectsAccepted">      
						<Request>        
							<RequestName>RequestAcceptedResponse</RequestName>        
							<RequestMessage> RequestAcceptedResponse </RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "submitObjectsError">      
						<Request>        
							<RequestName>EbXMLError</RequestName>        
							<RequestMessage>EbXMLError</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>  
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "approveObjectsAccepted">      
						<Request>        
							<RequestName>RequestAcceptedResponse</RequestName>        
							<RequestMessage> RequestAcceptedResponse </RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "approveObjectsError">      
						<Request>        
							<RequestName>EbXMLError</RequestName>        
							<RequestMessage>EbXMLError</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>  
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "deprecateObjectsAccepted">      
						<Request>        
							<RequestName>RequestAcceptedResponse</RequestName>        
							<RequestMessage> RequestAcceptedResponse </RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "deprecateObjectsError">      
						<Request>        
							<RequestName>EbXMLError</RequestName>        
							<RequestMessage>EbXMLError</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>  
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "removeObjectsAccepted">      
						<Request>        
							<RequestName>RequestAcceptedResponse</RequestName>        
							<RequestMessage> RequestAcceptedResponse </RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "removeObjectsError">      
						<Request>        
							<RequestName>EbXMLError</RequestName>        
							<RequestMessage>EbXMLError</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>  
				</ActionMenu>  
			</ServiceInterface>

			<ServiceInterface InterfaceId = "ObjectQueryManagerClient">  
				<OrgName Partyname = "CiscoRegistryClient"/>  
				<TaskName>ObjectQueryManagerClient</TaskName>  
				<ActionMenu>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "getRootClassificationNodesAsynchResponse">      
						<Request>        
							<RequestName>GetRootClassificationNodesResponse</RequestName>        
							<RequestMessage>GetRootClassificationNodesResponse</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>    
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "getClassificationTreeAsynchResponse">      
						<Request>        
							<RequestName>GetClassificationTreeResponse</RequestName>        
							<RequestMessage>GetClassificationTreeResponse</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>  
					<Action Type = "basic" Invocation = "asyncOnly" ActionId = "getClassifiedObjectsAsynchResponse">      
						<Request>        
							<RequestName>GetClassifiedObjectsResponse</RequestName>        
							<RequestMessage>GetClassifiedObjectsResponse</RequestMessage>
							<Channel ChannelId = "id_registryclient_http_transport_channel"/>      
						</Request>          
					</Action>    
				</ActionMenu>  
			</ServiceInterface>

			<!--End Interfaces implemented by RegistryClient-->
		</BusinessInterface>        
    
	</BusinessProtocol>    
	<Comment>This document is an example of the sample TPA between a RegistryClient and the ebXML RegistryService v0.8</Comment>
</TPA>
begin:vcard 
n:Najmi;Farrukh 
tel;fax:781-442-1610
tel;work:781-442-0703
x-mozilla-html:TRUE
url:www.sun.com
org:Sun Microsystems;Java Software
adr:;;1 Network Drive, MS BUR02-302;Burlington;MA;01803-0902;USA
version:2.1
email;internet:najmi@east.sun.com
fn:Farrukh S. Najmi
end:vcard


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC