Yes, I am consuming a web service, and I think you understand the problem I’m 
running into perfectly.  It would be very easy for me to format the dates in a 
character field (I’ve already done this as a test) but can’t find a way to pass 
it to a date field on the WSDL.  I’ve already had to modify the WSDL for 
several issues, so I can do this again, it’s just that I was hoping for a 
cleaner solution because I have to store eight different copies of the same 
edited WSDL on eight different filters so I can pass the correct data for each 
one and leave off attributes that they don’t want us to pass.

Thanks,

Shawn Pierson
Remedy Developer | Energy Transfer

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Jayesh
Sent: Tuesday, October 27, 2015 10:40 AM
To: [email protected]
Subject: Re: Web Service Date Question

**
I think you are consuming the web service. What is the data type of that 
attribute in WSDL definition? Is it Date Time?

I think the only way is to pass it by altering the format in character field as 
you mentioned But will the target system accept the data type as character 
field?

Or do we have anythink in remedy to get universal date time in UTC format. I 
think other languages can be used to convert like javascript but then how to 
pass it in a filter.

Regards,
Jayesh
________________________________
From: Pierson, Shawn<mailto:[email protected]>
Sent: ‎27-‎10-‎2015 08:40 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Web Service Date Question
**
Thanks.  My observation is that the web service accepts the format with the 
offset, but the vendor I am working with says that I should not send an offset.

So the problem is that my date value might look like this:
2015-10-27T09:00:00-05:00

But the vendor says it should look like this:
2015-10-27T09:00:00Z

I’m not aware of any way to change that within Remedy, nor will the Filter 
workflow allow me to map a date attribute on the WSDL to a character field in 
Remedy.

Thanks,

Shawn Pierson
Remedy Developer | Energy Transfer

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Jayesh
Sent: Tuesday, October 27, 2015 9:29 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Web Service Date Question

**
Hi ,

I am not sure I understood your query but if you want to pass specific offset 
in webservice then you can alter the offset using + or - HH:MM
Or you can store the offset in character field and create date format 
webservice accepts.
Regards,
Jayesh
________________________________
From: Pierson, Shawn<mailto:[email protected]>
Sent: ‎27-‎10-‎2015 06:38 PM
To: [email protected]<mailto:[email protected]>
Subject: Web Service Date Question
**
Good morning,

I’m currently trying to figure something out connecting to web services from a 
filter with AR System.  The web service I am connecting to requires the date to 
be in a format like “YYYY-MM-DDTHH:MM:SSZ” for GMT.  However, the only option 
that I seem to be able to send through AR System is 
“YYYY-MM-DDTHH:MM:SS-HH:MM:SS” (this accounts for the time zone.)  I’ve 
considered simply doing date math to account for the time zone but the vendor I 
am dealing with is adamant that I send a “Z” at the end or nothing else.  Since 
Remedy doesn’t let you map dates to text fields, I can’t simply fix it that way 
either.  The only option I’ve come up with is modifying the WSDL and making it 
think that the date is a character field so I can send the value they want, but 
I’m not even sure if that will work.

Are there any other suggestions out there, hopefully ones that help me avoid 
further modifying the WSDL?

Thanks,

Shawn Pierson
Remedy Developer | Energy Transfer

Private and confidential as detailed 
here<http://www.energytransfer.com/mail_disclaimer.aspx>. If you cannot access 
hyperlink, please e-mail sender. _ARSlist: "Where the Answers Are" and have 
been for 20 years_
_ARSlist: "Where the Answers Are" and have been for 20 years_
Private and confidential as detailed 
here<http://www.energytransfer.com/mail_disclaimer.aspx>. If you cannot access 
hyperlink, please e-mail sender. _ARSlist: "Where the Answers Are" and have 
been for 20 years_
_ARSlist: "Where the Answers Are" and have been for 20 years_

Private and confidential as detailed here: 
http://www.energytransfer.com/mail_disclaimer.aspx .  If you cannot access the 
link, please e-mail sender.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to