[ogsa-hpcp-wg] CROWN Endpoint updated

Peter G. Lane lane at mcs.anl.gov
Thu Nov 9 09:10:01 CST 2006


Hi Liang,

I see the namespace prefix defined, but my client still thinks the value is null. I'll have to 
investigate.

As for SOAP messages, here they are for the CreateActivity call:

2006-11-09 09:05:27,493 DEBUG handlers.MessageLoggingHandler [main,logMessage:58] SOAPEnvelope: 
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header>
<wsse:Security 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken><wsse:Username>SC06</wsse:Username><wsse:Password 
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">SC06</wsse:Password><wsu:Created 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2006-11-09T15:05:27Z</wsu:Created></wsse:UsernameToken></wsse:Security><wsa:MessageID>uuid:bb8db240-7003-11db-b4bd-c7b74933a47c</wsa:MessageID><wsa:To>https://colab.crown.org.cn:8080/crown/services/ScheduleService</wsa:To><wsa:Action>http://schemas.ggf.org/bes/2006/08/bes-factory/BESFactoryPortType/CreateActivity</wsa:Action><wsa:From><wsa:Address>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:Address></wsa:From><ns1:ResourceID 
xmlns:ns1="http://www.globus.org/namespaces/2004/10/gram/job">Fork</ns1:ResourceID></soapenv:Header><soapenv:Body><CreateActivity 
xmlns="http://schemas.ggf.org/bes/2006/08/bes-factory"><ActivityDocument><ns1:JobDefinition 
xmlns:ns1="http://schemas.ggf.org/jsdl/2005/11/jsdl"><ns1:JobDescription><ns1:JobIdentification><ns1:JobName>Uname</ns1:JobName><ns1:JobProject 
xsi:type="xsd:string">CROWN</ns1:JobProject></ns1:JobIdentification><ns1:Application><HPCProfileApplication 
xmlns="http://schemas.ggf.org/jsdl/2006/07/jsdl-hpcp"><Executable>uname</Executable><Argument>-a</Argument><Output>uname_crown.out</Output><Error>uname_crown.err</Error><WorkingDirectory>/tmp/interop</WorkingDirectory></HPCProfileApplication></ns1:Application><ns1:Resources><ns1:TotalCPUCount><ns1:Exact>1.0</ns1:Exact></ns1:TotalCPUCount></ns1:Resources></ns1:JobDescription></ns1:JobDefinition></ActivityDocument></CreateActivity></soapenv:Body></soapenv:Envelope>

2006-11-09 09:05:31,231 DEBUG handlers.MessageLoggingHandler [main,logMessage:58] SOAPEnvelope: 
<?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:bccbb080-7003-11db-8f7b-dc71961a890f</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://schemas.ggf.org/bes/2006/08/bes-factory/BESFactoryPortType/CreateActivityResponse</wsa:Action><From 
soapenv:mustUnderstand="0" 
xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing"><Address>https://colab.crown.org.cn:8080/crown/services/ScheduleService</Address></From><wsa:RelatesTo 
RelationshipType="wsa:Reply" 
soapenv:mustUnderstand="0">uuid:bb8db240-7003-11db-b4bd-c7b74933a47c</wsa:RelatesTo></soapenv:Header><soapenv:Body><ns1:CreateActivityResponse 
xmlns:ns1="http://schemas.ggf.org/bes/2006/08/bes-factory"><ns1:ActivityIdentifier 
xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing"><Address>https://192.168.1.37:8000/crown/services/ScheduleService</Address></ns1:ActivityIdentifier></ns1:CreateActivityResponse></soapenv:Body></soapenv:Envelope>

Peter

Liang Zhong wrote:
> Thank you Peter,
> I have checked with my service.
> My guys forget to add the namespace definition of the q. I have fixed it.
> But I indeed use the http://www.w3.org/2005/08/addressing version of WSA.
> Please send the request and response message to me.
> Thank you.
> 
> Best Regards,
> Liang ZHONG
> Grid Computing Research Group
> Institute of Advanced Computing Technology, Beihang University
> Tel: +86 10 8231 6262
> Fax: +86 10 8231 6796
> Addr: Room 507, Building G,The New Main Building, 37# Xueyuan Rd., Haidian
> District, Beijing 100083, PRC
> 
> -----Original Message-----
> From: Peter G. Lane [mailto:lane at mcs.anl.gov] 
> Sent: Thursday, November 09, 2006 9:36 AM
> To: Liang Zhong
> Cc: 'Alessandro Maraschini'; ogsa-hpcp-wg at ggf.org
> Subject: Re: [ogsa-hpcp-wg] CROWN Endpoint updated
> 
> I'm getting the factory attributes document now, but it doesn't like the
> LocalResourceManagerType 
> element. I think the problem is that the namespace prefix you're using "q"
> is not defined anywhere. 
> This is what mine looks like:
> 
> <ns1:LocalResourceManagerType
> xmlns:ns2="http://www.globus.org/bes/2006/11/resource/manager" 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> xsi:type="xsd:QName">ns2:Fork</ns1:LocalResourceManagerType>
> 
> 
> CreateActivity sort of worked this time too, but the WS-Addressing namespace
> on the 
> ActivityIdentifier is incorrect:
> 
> <ActivityIdentifier 
> xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing"><Address>https://co
> lab.crown.org.cn:8080/crown/services/ScheduleService</Address></ActivityIden
> tifier>
> 
> The BES spec requires EPR's from the version of WS-Addressing that has the
> following namespace:
> 
> http://www.w3.org/2005/08/addressing
> 
> You appear to be using http://schemas.xmlsoap.org/ws/2004/03/addressing.
> 
> Peter
> 
> Liang Zhong wrote:
>> Hi Alex,
>> 	Could you send the request message to me? Chris has successfully
>> invoke my service.
>>
>> Best Regards,
>> Liang ZHONG
>> Grid Computing Research Group
>> Institute of Advanced Computing Technology, Beihang University
>> Tel: +86 10 8231 6262
>> Fax: +86 10 8231 6796
>> Addr: Room 507, Building G,The New Main Building, 37# Xueyuan Rd., Haidian
>> District, Beijing 100083, PRC
>>
>> -----Original Message-----
>> From: Alessandro Maraschini [mailto:alessandro.maraschini at datamat.it] 
>> Sent: Thursday, November 09, 2006 12:26 AM
>> To: Peter G. Lane
>> Cc: Liang Zhong; ogsa-hpcp-wg at ggf.org
>> Subject: Re: [ogsa-hpcp-wg] CROWN Endpoint updated
>>
>> The same: a create activity terminated successfully yet returned empty
>> (NULL) ActivityIdentifier within its response.
>>
>> cheers,
>> Alessandro
>>
>>
>> On Wed, 2006-11-08 at 17:20, Peter G. Lane wrote:
>>> All the responses for the operations are returning null. For example:
>>>
>>> 2006-11-08 09:18:30,073 DEBUG handlers.MessageLoggingHandler
>> [main,logMessage:58] SOAPEnvelope: 
>>> <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://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:Messag
>> eID 
>>
> soapenv:mustUnderstand="0">uuid:c447ca20-6f44-11db-af15-d331ce6119a0</wsa:Me
>> ssageID><wsa:To 
>>
> soapenv:mustUnderstand="0">http://www.w3.org/2005/08/addressing/anonymous</w
>> sa:To><wsa:Action 
>>
> soapenv:mustUnderstand="0">http://schemas.ggf.org/bes/2006/08/bes-factory/BE
>> SFactoryPortType/GetActivityDocumentsResponse</wsa:Action><From 
>>> soapenv:mustUnderstand="0" 
>>>
> xmlns="http://www.w3.org/2005/08/addressing"><Address>https://colab.crown.or
>> g.cn:8080/crown/services/ScheduleService</Address></From><wsa:RelatesTo 
>>> RelationshipType="http://www.w3.org/2005/08/addressing/reply"
>>>
> soapenv:mustUnderstand="0">uuid:c31898f0-6f44-11db-b115-b69d9f0f6bd9</wsa:Re
>> latesTo></soapenv:Header><soapenv:Body>
>>> <!-- NULL response message -->
>>> <ns1:GetActivityDocumentsResponse
>> xmlns:ns1="http://schemas.ggf.org/bes/2006/08/bes-factory"/>
>>> </soapenv:Body></soapenv:Envelope>
>>>
>>> Peter
>>>
>>> Liang Zhong wrote:
>>>> Hi all,
>>>>
>>>>          I have updated the CROWN endpoint to fix some issues found in 
>>>> our interop test.
>>>>
>>>> Please help me to test the new service implementation.
>>>>
>>>> Thank you.
>>>>
>>>>  
>>>>
>>>> Best Regards,
>>>>
>>>> Liang ZHONG
>>>>
>>>> Grid Computing Research Group
>>>>
>>>> Institute of Advanced Computing Technology, Beihang University
>>>>
>>>> Tel: +86 10 8231 6262
>>>>
>>>> Fax: +86 10 8231 6796
>>>>
>>>> Addr: Room 507, Building G,The New Main Building, 37# Xueyuan Rd., 
>>>> Haidian District, Beijing 100083, PRC
>>>>
>>>>  
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> --
>>>>   ogsa-hpcp-wg mailing list
>>>>   ogsa-hpcp-wg at ogf.org
>>>>   http://www.ogf.org/mailman/listinfo/ogsa-hpcp-wg
>>> ______________________________________________________________________
>>> --
>>>   ogsa-hpcp-wg mailing list
>>>   ogsa-hpcp-wg at ogf.org
>>>   http://www.ogf.org/mailman/listinfo/ogsa-hpcp-wg
>>
>>
>>
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3804 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.ogf.org/pipermail/ogsa-hpcp-wg/attachments/20061109/dc6b0195/attachment.bin 


More information about the ogsa-hpcp-wg mailing list