Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Hello experts,
I have the following sinmple I*E code to connect to the another server to retrieve the wtparts:
<ie:webject name="Query-Objects" type="OBJ">
<ie:param name="INSTANCE" data="windchillxp"/>
<ie:param name="TYPE" data="wt.part.WTPart"/>
<ie:param name="ATTRIBUTE" data="name"/>
<ie:param name="ATTRIBUTE" data="number"/>
<ie:param name="WHERE" data="()"/>
<ie:param name="SORTED" data="ASC"/>
<ie:param name="SORTBY" data="name"/>
<ie:param name="GROUP_OUT" data="power-part"/>
</ie:webject>
Where "windchillxp" is the adapter name created in another server.
The above webject is executed in Windchill A server, and accessing data in Windchill server B.
Getting the following error:
2013-06-03 16:06:45,011 INFO [ajp-bio-8010-exec-2] wt.system.out wcadmin - ------->Where clause: name=*null*
2013-06-03 16:06:45,135 ERROR [ajp-bio-8010-exec-2] com.infoengine.log.error wcadmin - java.lang.NullPointerException
java.lang.NullPointerException
at com.infoengine.procunit.adapter.Adapter.receive(Adapter.java:662)
at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:335)
at com.infoengine.compiledTasks.file.D$3a$5cptc$5cWindchill_10$2e1$5cWindchill$5ctasks.ext.part1$2exml.invoke(part1$2exml.java:89)
============================
Any other ways to connect from server A to server B thru Infoengine tasks?
Thanks,