ChrisClement
asked on
PDS ProjectCreate Request gets "Invalid Request" error
I'm attempting to submit a XML request to the PDS web service for Project Server 2003. The request is fairly simple:
<Request>
<ProjectCreate>
<AutoPublish>1</AutoPublis h>
<Project>
<ProjectName>testing.Publi shed</Proj ectName>
<StartDate>20040524070000< /StartDate >
<TemplateID>37</TemplateID >
<TemplateName>Operations Support</TemplateName>
</Project>
</ProjectCreate>
</Request>
But the response I get from PDS is Error Code 2: rsRequestInvalid "Some part of the request syntax is invalid (general status)"
Not seeing anything wrong with the request itself. The syntax is directly from the PDS Reference help file. Any ideas?
<Request>
<ProjectCreate>
<AutoPublish>1</AutoPublis
<Project>
<ProjectName>testing.Publi
<StartDate>20040524070000<
<TemplateID>37</TemplateID
<TemplateName>Operations Support</TemplateName>
</Project>
</ProjectCreate>
</Request>
But the response I get from PDS is Error Code 2: rsRequestInvalid "Some part of the request syntax is invalid (general status)"
Not seeing anything wrong with the request itself. The syntax is directly from the PDS Reference help file. Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<method>
<Request>
<ProjectCreate>
<AutoPublish>1</AutoPublis
<Project>
<ProjectName>testing.Publi
<StartDate>20040524070000<
<TemplateID>37</TemplateID
<TemplateName>Operations Support</TemplateName>
</Project>
</ProjectCreate>
</Request>
</method>
Basically, I had to call the child node to send the correct XML format.