This discussion is archived
0 Replies Latest reply: Oct 25, 2013 1:18 PM by ltan RSS

createScheduleActivitiesV2 - web service issue

ltan Newbie
Currently Being Moderated

Dear All,

 

Hope one of you may be able to help.

 

Has anyone got the webservices createScheduleActivitiesV2 working in 9.13?

We tried using the default data mapping 'P6 Integration' with the pre-defined 'Activity Number' column name mapped to XML element 'Id'

In XML we have the ActivityIdentifier set to 'Id'. (We also tried using GUID)

 

The Response XML always comes back with 'Activity Identifier is empty', StatusCode: 738

 

We have also tried changing the data mapping column to 'Activity Id' mapped to the 'Id', but also got the same Response.

Here is a cut down version of Request XML. We only have 2 activities in the P6 project.

 

Much appreciated and many thanks in advance.

 

Lim

 

 

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://general.service.webservices.skire.com">

   <soapenv:Header/>

   <soapenv:Body>

      <gen:createScheduleActivitiesV2 soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

         <shortname xsi:type="xsd:string">unifier</shortname>

         <authcode xsi:type="xsd:string">unifier</authcode>

         <projectNumber xsi:type="xsd:string"></projectNumber>

         <sheetName xsi:type="xsd:string">Project Schedule Sheet</sheetName>

         <sheetXML xsi:type="xsd:string">

         <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>

         <List_Wrapper>

<APIBusinessObjects xmlns="http://xmlns.oracle.com/Primavera/P6/V8.3/API/BusinessObjects"

                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                 xsi:schemaLocation="http://xmlns.oracle.com/Primavera/P6/V8.3/API/BusinessObjects

                                      http://xmlns.oracle.com/Primavera/P6/V8.3/API/p6apibo.xsd">

<OBS>

</OBS>

<Calendar>

</Calendar>

<EPS>

</EPS>

<Project>

  <WBS>

  </WBS>

  <Activity>

   <GUID>{C62B5C2F-EC23-4041-A3BD-424E3C5F890C}</GUID>

   <Id>A1000</Id>

   <Name>Activity 1000</Name>

  </Activity>

  <Activity>

   <GUID>{22A05D64-AD8F-2641-8C6D-3BD01BC58422}</GUID>

   <Id>A1010</Id>

   <Name>New Activity</Name>

  </Activity>

</Project>

</APIBusinessObjects>

</List_Wrapper>

         ]]>

         </sheetXML>

         <options xsi:type="xsd:string">

         <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>

         <MapName>P6 Integration</MapName>

         <ActivityIdentifier>Id</ActivityIdentifier>

         ]]>

         </options>

      </gen:createScheduleActivitiesV2>

   </soapenv:Body>

</soapenv:Envelope>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points