More Create Blog Sign In
Teamcenter PLM
Sunday, January 6, 2013 Author Detail
Manoj Tiwari
Temcenter SOA : Sample SOA Code Setup
Unknown
In this blog I will provide detail step for setting up sample SOA code provided in install image file under SOA zip file.
Below steps is for Java SOA sample code.
Followers
1. Unzip soa_client.zip from install image to TC_ROOT directory. It will create soa_client folder under TC_ROOT. Followers (364) Next
2. Install Eclipse 3.6 and launch
3. Add ClassPath variable for the root location of the soa_client folder.
Open the Preferences dialog of eclipes (Window --> Preferences ... ).
Select the ClassPath Variable tab ( Java --> Build Path --> ClassPath Variables).
Add the variable 'TEAMCENTER_SERVICES_HOME', set it to the root path of the 'soa_client' folder
Follow
Blog Archive
► 2014 (2)
▼ 2013 (9)
► August (2)
► June (1)
► May (1)
► April (1)
► February (2)
4. Import the project ▼ January (2)
Open the Import dialog ( File --> Import... ) Temcenter SOA : Sample SOA Code
Select Existing Project into Workspace (General --> Existing Projects into Workspace ) Setup
Click Next, then browse to .../soa_client/java/sample, select Finish
Teamcenter SOA : Using OOTB SOA
Services
Note:- While importing FileManagement sample, FMS_HOME need to be added just like TEAMCENTER_SERVICES_HOME
5. Compile the project ► 2012 (5)
If the IDE is not configured to Build Automatically, force a build of the project ► 2011 (8)
6. Execute the client application
Open the Debug/Run dialog ( Run --> Debug ...)
Select the HelloTeamcenter Java Application
The launch is configured to connect to the server on http://localhost:7001/tc to change this URI on the Args tab.
If the connection is http, ensure its pointing out to the right URI and this can be checked through Run->Debug Configurations-> Arguments
If it the connection is through iiop, it should be set as follows
-Dhost=iiop:localhost:1572/TcServer1
Note:- Only Java and C++ bindings work in 2-tier mode.
7. Go through the files to understand how the services are being called and can be used in the custom solution. Refer my OOTB SOA Service Blog
for basic understanding of sample code.
See Also :
Teamcenter SOA : Introduction
Teamcenter SOA : Using OOTB SOA Service
Teamcenter SOA : Create your Own SOA
Teamcenter SOA : Detail Step for Creating SOA
Posted by Manoj Tiwari at 3:37 AM
8 comments:
Unknown January 20, 2013 at 4:56 AM
Hi Manoj,
This is really helpful. Could you explain the difference between the Strong and Loose Jar approach using Java SOA and what to use when in
the programming?
Thanks,
Sudhir
Reply
Unknown February 10, 2013 at 11:41 PM
Plz explain Strong and Loose
Reply
Unknown November 14, 2013 at 8:53 PM
Hi Manoj,
You explain very well. if we are using CPP code then in visual studio what type of code setup we need to do.
Reply
Unknown November 18, 2013 at 10:59 PM
Very well explained....
Thanks for the description to setup the project.
Reply
CHIN-CHOM March 25, 2016 at 10:08 AM
This comment has been removed by the author.
Reply
Unknown January 21, 2018 at 11:44 PM
Hi, good post. I am trying to setup on SOAPUI. What do I need to do to setup using WSDL?
Reply
Benjamin December 3, 2021 at 12:55 AM
This comment has been removed by the author.
Reply
Benjamin December 3, 2021 at 12:56 AM
Hi . Can I call fms and download files via soa?
Reply
To leave a comment, click the button below to sign in with Google.
SIGN IN WITH GOOGLE
Newer Post Home Older Post
Subscribe to: Post Comments (Atom)
Simple theme. Powered by Blogger.
: