|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[SOLVED]Empty input value for type long |
« View previous topic :: View next topic » |
Author |
Message
|
francoisvdm |
Posted: Wed Jun 11, 2003 1:42 pm Post subject: [SOLVED]Empty input value for type long |
|
|
Partisan
Joined: 09 Aug 2001 Posts: 332
|
I'm starting a workflow with a MQ message "ProcessTemplateCreateAndStartInstance", and I supply values in some of the fields in the ProcInstInputData.
Now, I can supply an empty string for a string item, but not for a "long" data item.
Is there a way to "not give a value" for numeric fields?
Thank you _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
Francois van der Merwe |
|
Back to top |
|
 |
Ratan |
Posted: Wed Jun 11, 2003 2:19 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Dont set them at all. Just construct the XML with the data you need leave all others.
Eg:
<MYData>
<Num> 5<\num>
<MyStr> str<\Mystr>
<\MyData>
If you dont need Num just send in
MYData>
<MyStr> str<\Mystr>
<\MyData> _________________ -Ratan |
|
Back to top |
|
 |
francoisvdm |
Posted: Thu Jun 12, 2003 6:33 am Post subject: |
|
|
Partisan
Joined: 09 Aug 2001 Posts: 332
|
Thanks, that helps up to a point. I'm getting problems with nested data.
Say:
<MyStruct>
<Data1>
<Data2>
<Name>abc</Name>
<Age>23</Age>
</Data2>
<Data2>
<Name>def</Name>
<Age>55</Age>
</Data2>
</Data1>
</MyStruct>
Then if I leave out the second Data2 section, the error FMC01104E is generated, telling me that the data element is not found.
I'm not skilled in XML, so do I make a basic error here? Thanks _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
Francois van der Merwe |
|
Back to top |
|
 |
vennela |
Posted: Thu Jun 12, 2003 7:11 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
francoisvdm |
Posted: Thu Jun 12, 2003 7:31 am Post subject: |
|
|
Partisan
Joined: 09 Aug 2001 Posts: 332
|
Thanks - yes, that is my problem, so now I must make sure if there is one one, make it two.  _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
Francois van der Merwe |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|