Error 42 - GeneralUnhandledException on PSI QueueCreateProject

J

James

Hi,

Due to system requirements I am using Java to access the SOAP web service of
PSI. When attempting to create a new project using the QueueCreateProject web
method sending the following as the request I get Error 42:
GeneralUnhandledException....which is obviously very little to go on when
debugging.


REQUEST:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:proj="http://schemas.microsoft.com/office/project/server/webservices/Project/"
xmlns:projds="http://schemas.microsoft.com/office/project/server/webservices/ProjectDataSet/">
<soapenv:Header/>
<soapenv:Body>
<proj:QueueCreateProject>
<proj:jobUid>{77c2fcd2-93c6-4386-8089-847136dc259f}</proj:jobUid>
<proj:dataset>
<projds:projectDataSet>
<projds:project>
<projds:pROJ_UID>9087f21b-8503-4445-9a27-af08cba1c4d0</projds:pROJ_UID>
<projds:pROJ_NAME>Project Name</projds:pROJ_NAME>
<projds:pROJ_TYPE>0</projds:pROJ_TYPE>
</projds:project>
</projds:projectDataSet>
</proj:dataset>
<proj:validateOnly>false</proj:validateOnly>
</proj:QueueCreateProject>
</soapenv:Body>
</soapenv:Envelope>


REPLY:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>System.Web.Services.Protocols.SoapException:
ProjectServerError(s) LastError=GeneralUnhandledException Instructions: Pass
this into PSClientError constructor to access all error information
at
Microsoft.Office.Project.Server.WebService.Project.QueueCreateProject(Guid
jobUid, ProjectDataSet dataset, Boolean validateOnly)</faultstring>

<faultactor>http://XXXXXXXXXXXXX:56737/SharedServices/PSI/Project.asmx</faultactor>
<detail>
<errinfo>
<general>
<class name="An unhandled exception occurred in
Project.QueueCreateProject.">
<error id="42" name="GeneralUnhandledException"
uid="ee948234-cf32-46bb-9c5d-220d988478f7"/>
</class>
</general>
</errinfo>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>


I am running out of ideas on what it could be, and am using a SOAP tester
now to formulate a working packet, adn then adjust the Java to create a
correct request.

Are there any examples of correct SOAP requests or DataSets XML for use with
the PSI Services? It would greatly help, or if someone could just packet
sniff their PSI call and send it along - obviously obscuring data - I am just
after the format.

Cheers for any help,

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top