cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

PTC si viewprojecthistory cli vs. webservice

T_W
2-Explorer
2-Explorer

PTC si viewprojecthistory cli vs. webservice

The command „si viewprojecthistory -P xxx/project.pj --fields=date,labels” works just fine with the cli, but if use the webservice

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://webservice.mks.com/2009/Generic" xmlns:sch="http://webservice.mks.com/2009/Generic/schema">

   <soapenv:Header/>

   <soapenv:Body>

      <gen:command>

         <!--Optional:-->

         <arg0 TransactionId="x">

            <sch:Username>x</sch:Username>

            <sch:Password>x</sch:Password>

            <sch:Application>si</sch:Application>

            <sch:Command>viewprojecthistory</sch:Command>

           <!--Zero or more repetitions:-->

            <sch:Option Name="project">xxx/project.pj</sch:Option>

            <sch:Option Name="fields">date,labels</sch:Option>

         </arg0>

      </gen:command>

   </soapenv:Body>

</soapenv:Envelope>

 

 

 

i get followig Response

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
   <env:Header/>
   <env:Body>
      <env:Fault>
         <faultcode>env:Server</faultcode>
         <faultstring>MKS170064: The command succeeded but there was an error processing the output in the web services layer.</faultstring>
         <detail>
            <ns1:MKSException class="com.mks.api.response.APIException" implication="MKS170064: The command succeeded but there was an error processing the output in the web services layer." xmlns:ns1="http://webservice.mks.com/2009/Generic/fault">Invalid valuelist type: "null".</ns1:MKSException>
         </detail>
      </env:Fault>
   </env:Body>
</env:Envelope>

 

 

 

 

 

1 REPLY 1
awalsh
17-Peridot
(To:T_W)

I think this might be caused by the si viewprojecthistory command not being a Published API command. I get the same error on 12.0 using the Generic wsdl.
Announcements


Top Tags