ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB as Web service Client

Post new topic  Reply to topic
 WMB as Web service Client « View previous topic :: View next topic » 
Author Message
venky
PostPosted: Wed May 23, 2007 8:02 pm    Post subject: WMB as Web service Client Reply with quote

Master

Joined: 08 Jul 2003
Posts: 205

Hi,

I am trying to invoke a web service method implemented in .NET.
In my request, I have to send date and time in the following field:
<at:pSinceDateTime>05/23/07 13:42:00</at:pSinceDateTime>. So, when I send a request with this format, the web service method throws the following exception:

"Server was unable to read request. ---> There is an error in XML document (6, 54). ---> The string '05/23/07 13:42:00' is not a valid AllXsd value".

Is there a way that we can specify that the SOAP message is Data time field ? or just sending the message in that format should do ?

Any thoughts ?

Thanks.
Back to top
View user's profile Send private message
sambati
PostPosted: Thu May 24, 2007 4:56 am    Post subject: Server was unable to read request Reply with quote

Novice

Joined: 14 Nov 2006
Posts: 19

"Server was unable to read request. ---> There is an error in XML document (6, 54). ---> The string '05/23/07 13:42:00' is not a valid AllXsd value".

hi venky,

observe the datetime format in ur XSD or WSDL it might be '05/23/07'T'13:42:00' not '05/23/07 13:42:00' that might be the reason for the failure .
construct the field as below and try it out it might work.
<at:pSinceDateTime>05/23/07'T'13:42:00</at:pSinceDateTime>.
Back to top
View user's profile Send private message Send e-mail
venky
PostPosted: Thu May 24, 2007 5:37 am    Post subject: Reply with quote

Master

Joined: 08 Jul 2003
Posts: 205

Thank you, sambati - '2006-03-10T07:42:00Z' worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB as Web service Client
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.