Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
xml dateTime format pattern violation when using DateTime::Format::XSDby dlinetsk (Initiate) |
on May 27, 2015 at 17:03 UTC ( [id://1128040]=perlquestion: print w/replies, xml ) | Need Help?? |
dlinetsk has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, we are using XML::Compile::WSDL11 to compile our schema, and trying to send a message to a webservice. The Message Header has a dateTime parameter (xs:dateTime) that has a pattern .+T.+Z. We tried setting this parameter to "2006-10-06T00:23:02Z" but got error error: string `2006-10-06T00:23:02Z' does not match pattern `.+T.+Z' our XSD for this parameter is:
using print $wsdl->explain we get the following example for this parameter Any tips? Thank you.
Back to
Seekers of Perl Wisdom
|
|