Hi all,
I'm trying to invoke a WS method from an automated activity in my bpm. This method does a search to an MDM table. What I need is for this search method to return all the registries from this MDM table.
If I run the WS search method from the WS Navigator, I am able to do this by only filling the repository and server fields. I also have to make a node called "Criteria" not null. This node would be where I would input the search criteria to refine the search, however, since I want the method to return all registries, I leave all atributes inside empty. This works OK in the web service navigator. The input structure that works in the WS Navigator looks like this:
searchMDM_MATERIAL_TYPES
query
criteria
namedSearchCriteria [0]
maskCriteria [0]
....
....
keywordCriteria (Null)
mDM_CODE (Null)
mDM_NAME (Null)
resultDefinition (Null)
reposInfo
repository: "Materials"
serverName: "myserver"
If I try to invoke this WS in the automated activity, only filling repository and serverName, I get an error saying that the "query" node is missing from the input. How can I make sure this passed as not null when the WS is called so that I don't get this error?
Please let me know if you need more information.
Any help will be greatly appreciated.
Thanks!
Edited by: AlainMore on Dec 7, 2011 7:53 PM