Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

PDS ProjectCreate Request gets "Invalid Request" error

Posted on 2006-04-14
2
Medium Priority
?
251 Views
Last Modified: 2013-11-15
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</AutoPublish>
                    <Project>
                         <ProjectName>testing.Published</ProjectName>
                         <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?
0
Comment
Question by:ChrisClement
2 Comments
 

Author Comment

by:ChrisClement
ID: 16469727
Figured out the problem.  The xml that was actually being sent was:
<method>
          <Request>
             <ProjectCreate>
                 <AutoPublish>1</AutoPublish>
                 <Project>
                     <ProjectName>testing.Published</ProjectName>
                     <StartDate>20040524070000</StartDate>
                      <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.
0
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16545770
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: x-men
Where used to see Gantt charts for illustrating project timelines, but what if I wanted to visualize passed timed events? Here's how.
A simple overview of the possibilities of using technology for project management.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question