Main BLOGGER
Google
WWW THIS BLOG
Wednesday, May 31, 2006
 
gt4 wsrf soap message

---Request CreateResource

 

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">

 

<soapenv:Header>

  <wsa:MessageID soapenv:mustUnderstand="0">uuid:083d9e90-f0af-11da-9bca-e3cee5a2e991</wsa:MessageID>

  <wsa:To soapenv:mustUnderstand="0">http://128.226.182.124:8998/wsrf/services/examples/core/factory/MathFactoryService</wsa:To>

  <wsa:Action soapenv:mustUnderstand="0">http://www.globus.org/namespaces/examples/core/FactoryService/FactoryPortType/createResourceRequest</wsa:Action>

  <wsa:From soapenv:mustUnderstand="0"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address></wsa:From>

</soapenv:Header>

 

<soapenv:Body>

  <createResource xmlns="http://www.globus.org/namespaces/examples/core/FactoryService"/>

</soapenv:Body>

 

</soapenv:Envelope>

 

--- Response CreateResource

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">

 

<soapenv:Header>

  <wsa:MessageID soapenv:mustUnderstand="0">uuid:085df7d0-f0af-11da-ad34-d5b17adc3a4f</wsa:MessageID>

  <wsa:To soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To>

  <wsa:Action soapenv:mustUnderstand="0">http://www.globus.org/namespaces/examples/core/FactoryService/FactoryPortType/createResourceResponse</wsa:Action>

  <wsa:From soapenv:mustUnderstand="0"><wsa:Address>http://128.226.182.124:8998/wsrf/services/examples/core/factory/MathFactoryService</wsa:Address></wsa:From>

  <wsa:RelatesTo RelationshipType="wsa:Reply" soapenv:mustUnderstand="0">uuid:083d9e90-f0af-11da-9bca-e3cee5a2e991</wsa:RelatesTo></soapenv:Header>

 

<soapenv:Body>

  <createResourceResponse xmlns="http://www.globus.org/namespaces/examples/core/FactoryService">

     <wsa:EndpointReference>

         <wsa:Address>http://128.226.182.124:8998/wsrf/services/examples/core/factory/MathService</wsa:Address>

         <wsa:ReferenceProperties>

            <ns1:MathResourceKey xmlns:ns1="http://www.globus.org/namespaces/examples/core/MathService_instance">15619471</ns1:MathResourceKey>

         </wsa:ReferenceProperties>

         <wsa:ReferenceParameters/>

    </wsa:EndpointReference>

  </createResourceResponse>

</soapenv:Body></soapenv:Envelope>

 

----add request

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">

 

<soapenv:Header>

   <wsa:MessageID soapenv:mustUnderstand="0">uuid:08e13190-f0af-11da-9bca-e3cee5a2e991</wsa:MessageID>

   <wsa:To soapenv:mustUnderstand="0">

       http://128.226.182.124:8998/wsrf/services/examples/core/factory/MathService

   </wsa:To>

   <wsa:Action soapenv:mustUnderstand="0">

       http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/addRequest

   </wsa:Action>

   <wsa:From soapenv:mustUnderstand="0">

     <wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address>

   </wsa:From>

   <ns1:MathResourceKey soapenv:mustUnderstand="0" xmlns:ns1=

         "http://www.globus.org/namespaces/examples/core/MathService_instance">

     15619471

   </ns1:MathResourceKey>

</soapenv:Header>

 

<soapenv:Body>

  <add xmlns="http://www.globus.org/namespaces/examples/core/MathService_instance">10</add>

</soapenv:Body>

 

</soapenv:Envelope>

 

---add response

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">

<soapenv:Header>

<wsa:MessageID soapenv:mustUnderstand="0">uuid:08e48cf0-f0af-11da-ad34-d5b17adc3a4f</wsa:MessageID>

<wsa:To soapenv:mustUnderstand="0">http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous

</wsa:To>

<wsa:Action soapenv:mustUnderstand="0">http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/addResponse

</wsa:Action>

<wsa:From soapenv:mustUnderstand="0" xmlns:ns1="http://www.globus.org/namespaces/examples/core/MathService_instance">

<wsa:Address>http://128.226.182.124:8998/wsrf/services/examples/core/factory/MathService</wsa:Address>

<wsa:ReferenceProperties>

<ns1:MathResourceKey soapenv:mustUnderstand="0" xmlns:ns1="http://www.globus.org/namespaces/examples/core/MathService_instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">15619471</ns1:MathResourceKey>

</wsa:ReferenceProperties>

</wsa:From>

<wsa:RelatesTo RelationshipType="wsa:Reply" soapenv:mustUnderstand="0">uuid:08e13190-f0af-11da-9bca-e3cee5a2e991

</wsa:RelatesTo>

 

</soapenv:Header>

 

<soapenv:Body><addResponse xmlns="http://www.globus.org/namespaces/examples/core/MathService_instance"/>

</soapenv:Body></soapenv:Envelope>




<< Home

Powered by Blogger

Google
WWW THIS BLOG