Miguel,
the factory endpoint is not complete. here's a complete one
<factoryEndpoint>
<wsa:Address>
https://host:port/wsrf/services/ManagedJobFactoryService
</wsa:Address>
<wsa:ReferenceProperties>
<gram:ResourceID>
Fork
</gram:ResourceID>
</wsa:ReferenceProperties>
</factoryEndpoint>
(namespaces:
xmlns:gram="http://www.globus.org/namespaces/2004/10/gram/job"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
)
the ResourceID element tells gram what local resource manager (LRM) to
use. It can be Fork, PBS, LSF, Condor, ... depending on what LRM you
use. For testing Fork will be fine.
In upcoming 4.2 your endpoint would be ok, because there will be
a default LRM that is used if a client did not specify any.
But in 4.0 you'll have to specify it.
Martin
> 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
>