I may have to correct myself again:
Maybe you can skip the reference properties in the
factoryEndpoint element since gram gets the LRM from
the ResourceID element in the soap header.
But i guess i wouldn't do so, because the job resource
property 'serviceLevelAgreement' (which contains the job
description) then does not reflect to what LRM that job
had been submitted to.
So a client wouldn't be able to figure out the LRM after
submission.

Martin

> Ah, i mixed things up.
> Find a soap message of a job attached.
> What's probably missing is the ResourceID element in the soap header.
>
> Nonetheless: the factoryEndpoint element in the job description
> must contain reference properties.
>
> I'm not really sure about the necessity of the MessageID element
> in the header.
>
> Martin
>
>> Hi
>> I have to look more but I don't think createManagedJob requires a
>> resource key in the request.. Can you try with something simple like
>> the Counter service and see if that works ?
>> On Mar 6, 2008, at 11:55 AM, Miguel Julián wrote:
>>
>>> Hi everyone,
>>> I'm "playing" with SoapUI in order to invoke the GRAM's factory
>>> (managedJobFactory->createManagedJob). I only want to submit a very
>>> simple work (without credentials or staging) but I'm not filling the
>>> SOAP parameters properly. At this moment, the services responses
>>> with a fault: resource key is missing.
>>>
>>> It would be great if someone could teach/show me how to fill the
>>> request soap message out.
>>>
>>> Thank you in advance.
>>>
>>> ps: You can also find my SOAP request attached
>>> <soapenv:Envelope
>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> " xmlns:job="http://www.globus.org/namespaces/2004/10/gram/job";
>>> xmlns:wsn="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd
>>> " xmlns:add="http://schemas.xmlsoap.org/ws/2004/03/addressing";
>>> xmlns:des="http://www.globus.org/namespaces/2004/10/gram/job/description
>>> " xmlns:typ="http://www.globus.org/namespaces/2004/10/gram/job/
>>> types" xmlns:rft="http://www.globus.org/namespaces/2004/10/rft";>
>>>    <soapenv:Header/>
>>>    <soapenv:Body>
>>>       <job:createManagedJob>
>>>          <des:job>
>>>             <des:factoryEndpoint>
>>>                
>>> <add:Address>https://host:8443/wsrf/services/ManagedJobFactoryService
>>> </add:Address>
>>>             </des:factoryEndpoint>
>>>             <typ:localUserId>miguel</typ:localUserId>
>>>             <des:executable>/bin/touch</des:executable>
>>>             <des:directory>/home/miguel</des:directory>
>>>             <des:argument>/home/miguel/victory</des:argument>
>>>             <des:count>1</des:count>
>>>             <des:jobType>single</des:jobType>
>>>          </des:job>
>>>       </job:createManagedJob>
>>>    </soapenv:Body>
>>> </soapenv:Envelope>
>>> --
>>> Miguel Julián Ramos(Miky)
>>> http://www.mikysblog.com
>>> http://www.youtube.com/watch?v=d6gmp8pf8k4 <soap.xml>
>>
>> --
>> Ravi K Madduri
>> The Globus Alliance | Argonne National Laboratory | University of
>> Chicago
>> http://www-unix.mcs.anl.gov/~madduri
>>
>>
>


Reply via email to