<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>3318</bug_id>
          
          <creation_ts>2005-05-10 04:25</creation_ts>
          <short_desc>globusrun-ws problem</short_desc>
          <delta_ts>2005-07-06 12:47:47</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>C WS Core</product>
          <component>Serialization/Transport</component>
          <version>4.0.0</version>
          <rep_platform>Sun</rep_platform>
          <op_sys>Solaris</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shintaro Kawamura">shintaro@pst.fujitsu.com</reporter>
          <assigned_to name="Joe Bester">bester@mcs.anl.gov</assigned_to>
          <cc>bester@mcs.anl.gov</cc>
    
    <cc>lane@mcs.anl.gov</cc>
    
    <cc>madduri@mcs.anl.gov</cc>
    
    <cc>rynge@isi.edu</cc>

      

      
          <long_desc isprivate="0">
            <who name="Shintaro Kawamura">shintaro@pst.fujitsu.com</who>
            <bug_when>2005-05-10 04:25:47</bug_when>
            <thetext>The following bugs were detected on Solaris. 


$ cat test.xml 
&lt;job&gt;
  &lt;executable&gt;/bin/echo&lt;/executable&gt;
  &lt;argument&gt;Hello Globus&lt;/argument&gt;
  &lt;stdout&gt;/home/kawamura/stdout&lt;/stdout&gt;
  &lt;stderr&gt;/home/kawamura/stderr&lt;/stderr&gt;
&lt;/job&gt;
$ globusrun-ws -submit -f test.xml 
Submitting job...Failed.
globusrun-ws: Error submitting job
globus_soap_message_module: Deserialization of
{http://www.w3.org/2001/XMLSchema}dateTime failed.
globus_soap_message_module: Deserialization of
{http://www.globus.org/namespaces/2004/10/gram/job}NewTerminationTime failed.
globus_soap_message_module: Failed deserialization of content
&quot;2005-05-11T09:12:42.000Z&quot; {http://www.w3.org/2001/XMLSchema}dateTime type.
$</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joe Bester">bester@mcs.anl.gov</who>
            <bug_when>2005-05-10 07:40:57</bug_when>
            <thetext>Please run the globusrun-ws command with the environment variable
GLOBUS_SOAP_MESSAGE_DEBUG set to MESSAGES like this:

env GLOBUS_SOAP_MESSAGE_DEBUG=MESSAGES globusrun-ws -submit -f test.xml 

and send us the output?

Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Shintaro Kawamura">shintaro@pst.fujitsu.com</who>
            <bug_when>2005-05-12 20:34:39</bug_when>
            <thetext>The debugging message was not output.

$ env GLOBUS_SOAP_MESSAGE_DEBUG=MESSAGES globusrun-ws -submit -f test.xml
Submitting job...Failed.
globusrun-ws: Error submitting job
globus_soap_message_module: Deserialization of
{http://www.w3.org/2001/XMLSchema}dateTime failed.
globus_soap_message_module: Deserialization of
{http://www.globus.org/namespaces/2004/10/gram/job}NewTerminationTime failed.
globus_soap_message_module: Failed deserialization of content
&quot;2005-05-14T01:18:10.000Z&quot; {http://www.w3.org/2001/XMLSchema}dateTime type.
$</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joe Bester">bester@mcs.anl.gov</who>
            <bug_when>2005-05-13 18:08:06</bug_when>
            <thetext>Strange. Try using the -dbg command line option.

joe</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Shintaro Kawamura">shintaro@pst.fujitsu.com</who>
            <bug_when>2005-05-15 19:08:07</bug_when>
            <thetext>$ globusrun-ws -dbg -submit -f test.xml
Submitting job...
=== REQUEST MESSAGE (length 2088) (time 1116201920.663335000) ===
&lt;ns1:Envelope
xmlns:ns1=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;ns1:Header&gt;&lt;/ns1:Header&gt;&lt;ns2:Body

xmlns:ns2=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;&lt;ns3:createManagedJob
xmlns:ns3=&quot;http://www.globu
s.org/namespaces/2004/10/gram/job&quot;
xmlns:ns4=&quot;http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotific
ation-1.2-draft-01.xsd&quot;
xmlns=&quot;http://www.globus.org/namespaces/2004/10/gram/job&quot;&gt;&lt;ns3:InitialTerminati
onTime&gt;2005-05-17T00:05:19Z&lt;/ns3:InitialTerminationTime&gt;&lt;ns3:JobID&gt;uuid:30e39f94-c59e-11d9-9af8-0100000
061b7&lt;/ns3:JobID&gt;&lt;ns4:Subscribe&gt;&lt;ns4:ConsumerReference
xmlns:ns5=&quot;http://schemas.xmlsoap.org/ws/2004/03
/addressing&quot;&gt;&lt;ns5:Address&gt;https://vppch29.chk.pst.fujitsu.com:51004/wsrf/services/NotificationConsumerS
ervice&lt;/ns5:Address&gt;&lt;ns5:ReferenceProperties&gt;&lt;ns8:ResourceID
xmlns:ns6=&quot;http://www.w3.org/2001/XMLSchem
a-instance&quot; xmlns:ns7=&quot;http://www.w3.org/2001/XMLSchema&quot;
xmlns:ns8=&quot;http://www.globus.org/docs.oasis-op
en.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl&quot;
ns6:type=&quot;ns7:string&quot;&gt;30e727c2-c59e-11d9-
9af8-0100000061b7&lt;/ns8:ResourceID&gt;&lt;/ns5:ReferenceProperties&gt;&lt;/ns4:ConsumerReference&gt;&lt;ns4:TopicExpressio
n xmlns:ns9=&quot;http://www.globus.org/namespaces/2004/10/gram/job/types&quot;
Dialect=&quot;http://docs.oasis-open.o
rg/wsn/2004/06/TopicExpression/Simple&quot;&gt;ns9:state&lt;/ns4:TopicExpression&gt;&lt;ns4:UseNotify&gt;true&lt;/ns4:UseNotif
y&gt;&lt;/ns4:Subscribe&gt;&lt;ns10:job
xmlns:ns10=&quot;http://www.globus.org/namespaces/2004/10/gram/job/description&quot;&gt;
&lt;ns10:factoryEndpoint
xmlns:ns5=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot;&gt;&lt;ns5:Address&gt;https:/
/localhost:8443/wsrf/services/ManagedJobFactoryService&lt;/ns5:Address&gt;&lt;ns5:ReferenceProperties&gt;&lt;ns3:Resou
rceID xmlns:ns6=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:ns7=&quot;http://www.w3.org/2001/XMLSchema
&quot;
ns6:type=&quot;ns7:string&quot;&gt;Fork&lt;/ns3:ResourceID&gt;&lt;/ns5:ReferenceProperties&gt;&lt;/ns10:factoryEndpoint&gt;&lt;ns10:exe
cutable&gt;/bin/echo&lt;/ns10:executable&gt;&lt;ns10:argument&gt;Hello
World&lt;/ns10:argument&gt;&lt;ns10:stdout&gt;stdout&lt;/ns10:
stdout&gt;&lt;ns10:stderr&gt;stderr&lt;/ns10:stderr&gt;&lt;ns10:queue&gt;kawa_q&lt;/ns10:queue&gt;&lt;/ns10:job&gt;&lt;/ns3:createManagedJo
b&gt;&lt;/ns2:Body&gt;&lt;/ns1:Envelope&gt;
----------------------------------------------

=== RESPONSE MESSAGE (length 2009) (time 1116201922.271148000) ===
&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
xmlns:xsd=&quot;http://www.w3.or
g/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:wsa=&quot;http://schemas.xmlso
ap.org/ws/2004/03/addressing&quot;&gt;&lt;soapenv:Header&gt;&lt;wsa:MessageID
soapenv:mustUnderstand=&quot;0&quot;&gt;uuid:322ced10-c
59e-11d9-9d60-89566777c714&lt;/wsa:MessageID&gt;&lt;wsa:To
soapenv:mustUnderstand=&quot;0&quot;&gt;http://schemas.xmlsoap.org
/ws/2004/03/addressing/role/anonymous&lt;/wsa:To&gt;&lt;wsa:Action
soapenv:mustUnderstand=&quot;0&quot;&gt;http://www.globus.
org/namespaces/2004/10/gram/job/ManagedJobFactoryPortType/createManagedJobResponse&lt;/wsa:Action&gt;&lt;wsa:Fro
m soapenv:mustUnderstand=&quot;0&quot;
xmlns:ns12=&quot;http://www.globus.org/namespaces/2004/10/gram/job&quot;&gt;&lt;wsa:Addres
s&gt;https://localhost:8443/wsrf/services/ManagedJobFactoryService&lt;/wsa:Address&gt;&lt;wsa:ReferenceProperties&gt;&lt;
ns12:ResourceID
xmlns:ns12=&quot;http://www.globus.org/namespaces/2004/10/gram/job&quot;&gt;Fork&lt;/ns12:ResourceID&gt;&lt;/
wsa:ReferenceProperties&gt;&lt;/wsa:From&gt;&lt;wsa:RelatesTo RelationshipType=&quot;wsa:Reply&quot;
soapenv:mustUnderstand=&quot;
0&quot;&gt;uuid:314a6242-c59e-11d9-9af8-0100000061b7&lt;/wsa:RelatesTo&gt;&lt;/soapenv:Header&gt;&lt;soapenv:Body&gt;&lt;createManag
edJobResponse
xmlns=&quot;http://www.globus.org/namespaces/2004/10/gram/job&quot;&gt;&lt;NewTerminationTime&gt;2005-05-17T
00:05:19.000Z&lt;/NewTerminationTime&gt;&lt;CurrentTime&gt;2005-05-16T00:05:20.793Z&lt;/CurrentTime&gt;&lt;managedJobEndpoin
t&gt;&lt;wsa:Address&gt;https://10.90.135.211:8443/wsrf/services/ManagedExecutableJobService&lt;/wsa:Address&gt;&lt;wsa:R
eferenceProperties&gt;&lt;ResourceID&gt;30e39f94-c59e-11d9-9af8-0100000061b7&lt;/ResourceID&gt;&lt;/wsa:ReferenceProperti
es&gt;&lt;wsa:ReferenceParameters/&gt;&lt;/managedJobEndpoint&gt;&lt;subscriptionEndpoint&gt;&lt;wsa:Address&gt;https://10.90.135.
211:8443/wsrf/services/SubscriptionManagerService&lt;/wsa:Address&gt;&lt;wsa:ReferenceProperties&gt;&lt;ns1:Subscripti
onKey
xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/06/core&quot;&gt;31fa9270-c59e-11d9-9d60-89566777c714&lt;/n
s1:SubscriptionKey&gt;&lt;/wsa:ReferenceProperties&gt;&lt;wsa:ReferenceParameters/&gt;&lt;/subscriptionEndpoint&gt;&lt;/createM
anagedJobResponse&gt;&lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;
----------------------------------------------
Failed.
globusrun-ws: Error submitting job
globus_soap_message_module: Deserialization of
{http://www.w3.org/2001/XMLSchema}dateTime failed.
globus_soap_message_module: Deserialization of
{http://www.globus.org/namespaces/2004/10/gram/job}NewTe
rminationTime failed.
globus_soap_message_module: Failed deserialization of content
&quot;2005-05-17T00:05:19.000Z&quot; {http://www.w3
.org/2001/XMLSchema}dateTime type.
$</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Shintaro Kawamura">shintaro@pst.fujitsu.com</who>
            <bug_when>2005-06-16 02:58:02</bug_when>
            <thetext>I ascertained the cause of the error.
It should consider portability as follows. 


*** source-trees/libxml2/include/libxml/schemasInternals.h.org  Thu Jun 16
16:37:23 2005
--- source-trees/libxml2/include/libxml/schemasInternals.h      Thu Jun  9
19:06:18 2005
***************
*** 138,144 ****
      unsigned int      min     :6;     /* 0 &lt;=  min    &lt;= 59   */
      double            sec;
      unsigned int      tz_flag :1;     /* is tzo explicitely set? */
!     int               tzo     :11;    /* -1440 &lt;= tzo &lt;= 1440 */
  };
  
  /* Duration value */
--- 138,144 ----
      unsigned int      min     :6;     /* 0 &lt;=  min    &lt;= 59   */
      double            sec;
      unsigned int      tz_flag :1;     /* is tzo explicitely set? */
!     signed   int      tzo     :11;    /* -1440 &lt;= tzo &lt;= 1440 */
  };
  
  /* Duration value */</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Joe Bester">bester@mcs.anl.gov</who>
            <bug_when>2005-06-16 15:57:40</bug_when>
            <thetext>Thanks for tracking this down. The patch is committed to CVS and will be part of
the 4.0.1 update release soon.

joe</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>