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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Translate the entire conversation x

Facing issue with Checkout webject InfoEngine task

SM_10840693
4-Participant

Facing issue with Checkout webject InfoEngine task

Hi Team,

 

I am trying to checkout Part using below taks I have created 

<%@page language="java"%>
<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%>

<ie:webject name="Get-Properties" type="MGT">
    <ie:param name="ATTRIBUTE" data="wt.federation.ie.VMName"/>
    <ie:param name="GROUP_OUT" data="properties"/>
</ie:webject>

<ie:webject name="Query-Objects" type="OBJ">
    <ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])" />
    <ie:param name="ATTRIBUTE" data="name"/>
    <ie:param name="ATTRIBUTE" data="number"/>
    <ie:param name="GROUP_OUT" data="parts"/>
    <ie:param name="TYPE" data="$(@FORM[]typeOfObj1[])"/>
    <ie:param name="WHERE" data="number='$(@FORM[]number1[])'"/>
</ie:webject>

<ie:webject name="Query-Objects" type="OBJ">
    <ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])" />
    <ie:param name="ATTRIBUTE" data="name"/>
    <ie:param name="ATTRIBUTE" data="number"/>
    <ie:param name="GROUP_OUT" data="document"/>
    <ie:param name="TYPE" data="$(@FORM[]typeOfObj2[])"/>
    <ie:param name="WHERE" data="number='$(@FORM[]number2[])'"/>
</ie:webject>

<ie:webject name="CheckOut-Objects" type="ACT">
    <ie:param name="INSTANCE" data="$(properties[0]wt.federation.ie.VMName[0])" />
    <ie:param name="GROUP_OUT" data="checkedOutParts"/>
    <ie:param name="OBJECT_REF" data="$(parts[]obid[]) "/>
    <ie:param name="TYPE" data="wt.part.WTPart"/>
</ie:webject>

 

When Query object blocks are working I am able to fetch part and document, as I add Checkout part webject it throws below error can you please help

<?xml version="1.0" encoding="UTF-8"?>
<wc:COLLECTION xmlns:wc="http://www.ptc.com/infoengine/1.0">
<Exception NAME="Exception" TYPE="Exception" STATUS="-1">
<wc:MESSAGE>wt.ufid.UfidException: Malformed Windchill Remote Object Identifier
Nested exception is: java.lang.ClassNotFoundException: VR
Nested exception is: wt.ufid.UfidException: Malformed Windchill Remote Object Identifier
Nested exception is: java.lang.ClassNotFoundException: VR; nested exception is:  wt.ufid.UfidException: wt.ufid.UfidException: Malformed Windchill Remote Object Identifier
Nested exception is: java.lang.ClassNotFoundException: VR
Nested exception is: wt.ufid.UfidException: Malformed Windchill Remote Object Identifier
Nested exception is: java.lang.ClassNotFoundException: VR</wc:MESSAGE>
  <wc:INSTANCE>
    <hierarchy>com.infoengine.util.IEException</hierarchy>
    <hierarchy>javax.servlet.jsp.JspException</hierarchy>
    <hierarchy>java.lang.Exception</hierarchy>
    <hierarchy>java.lang.Throwable</hierarchy>
    <hierarchy>java.lang.Object</hierarchy>
  </wc:INSTANCE>
</Exception>
</wc:COLLECTION>

  

1 REPLY 1
MTH
10-Marble
10-Marble
(To:SM_10840693)

Hi SM_10840693,

 

The parsing of the info*engine seems to be wrong as it s interpreting the version reference of the part as the object class. The resulting class should be wt.part.WTPart.

Announcements
Top Tags