Web methods faq

hi
any one pls provide answers for this questions

-----------------------------------------------------------------------------

wht will happen notification enabled,disabled & suspended?(jdbc)
when IS is up & broker is down wht will happen when we are publish the doc?
types of jdbc transaction?
What is diff b/w TN and ftp?
wht will happen notification enabled,disabled & suspended?
wht are type of doc in WM?
type of flow services?
how to write flow service to insert data into DB by using Flat File?
How move services from one server to another server?(only service not package)
When we use multiple transaction management?
where u can see installed jars?
When an IS is started where is the session id stored.?
How to stop the service running when the repeat step is running infinite no. of times?
How pipeline is handled in java services?
How pipeline is handled in java services?

Hi,

Below is my input to your questions, hope it will help you.

Ques:wht will happen notification enabled,disabled & suspended?(jdbc)
Ans:


Ques: when IS is up & broker is down wht will happen when we are publish the doc?
Ans: It will depend on document type, if the published document is volatile and excpetion will be thrown and document will be lost, if document is guaranteed then the document will be stored in DocumentStore and will be there till subscription end (broker) is not available for subscribing them.

Ques: types of jdbc transaction?
Ans: Well not sure what you are trying to ask here, but JDBC transactions can be of type … NO transaction, XA transaction, Local transaction.

Ques: What is diff b/w TN and ftp?
Ans: Again not sure if this question is relevant :p: because TN is WM component which is primarily for B2B enablement, it provides the functionality of partner profiles, document types creation, transactions analysis and lot of other stuff (Check the TN documentation) on the other hand FTP is a transmission mechanism by which one can interchange the documents/transaction… so FTP is one of the delivery methods available on TN to interchange the document with trading partner.

Ques: wht are type of doc in WM?
Ans: Documents are broadly classified in 2 categories XML and FLAT FILE document…

Ques: type of flow services?
Ans: hmmm not sure why you asked this… types of flow service:confused:

Ques: how to write flow service to insert data into DB by using Flat File?
Ans: If you want to insert into DB directly from IS service … you need to use insert adapter service and map the inputs from flat file to this service.

Ques: How move services from one server to another server?(only service not package)
Ans: Wat I am guessing here is you want to move one service from one server to another server under a different package. If yes, you can’t do it from deployer or package management export/import options. You can copy the service from developer and paste in the target location provided both the servers are compatible.

Ques: where u can see installed jars?
Ans: check it in Installed directory\IntegrationServer\lib\jars

Ques: When an IS is started where is the session id stored.?
Ans: in the lock file in home directory on IS as well as in DB i guess ;).

Ques: How to stop the service running when the repeat step is running infinite no. of times?
Ans: Reload the package under which the service is, if does’nt work restart IS.

Ques: How pipeline is handled in java services?
Ans: Pipeline is handled by using “pipeline” object… java provides methods like pipeline.getCursor() to get the pipeline in IData … later on can do the processign as required. destroy() method can be used to clear the pipeline.

Additionally check the WM documentation if you are looking for some thing comprehensively.

cheers!
nD

1 Like

All Jars can be seen from IS Console under ‘About’ link. As we do not keep all the jars under lib\jars.
And Lock file is of zero byte file. I don’t agree that it i keeps the session id details. Seesion ID details is saved in the WMSESSION table.

thnx vikas for the note about the session info!
Even i was not sure about the this :frowning: but thanks for pointing out the table name.

cheers!
nD

thanks for giving information(answers) abt that .

“type of flow services?”

Heh - There is only one. :slight_smile: But I’ve seen some developers use the Try/Catch construct as outer scaffolding in all Flow services. So if a service does:

..blah
...blah 
...blah

They write it as:

Try
  ..blah
  ...blah 
  ...blah
Catch
  getLastError
  customLogService

This qualifies as a style of Flow service.

Ques: How move services from one server to another server?(only service not package)
ANS:We can move only service from one server to another server.
Go to Packages/publishing/createandDeleteRelease/
Select your package(createRelaese)
Select radio button called selected files then select what are all the services you want to move then create relese and send to target server.

In this way the package will also be moved … which is not the original requirement.

Just two additional puntualizations:

1- About page will show loaded JARS for LOADED packages, not all the installed jars for example for unloaded packages. To find out jars for current unloaded packages, search in the PackageName/code/jars and PackageName/code/jars/static folders. (Yes they are not unsed until package is enabled, but they are installed :smiley: ).

2- Sessions are held on memory, and the internal service wm.server.query:getSessionList will display current sessions. Or visiting page http://localhost:5555/WmRoot/server-cluster.dsp

The auditing of this sessions if internal pool is configured to JDBC is written to WMSESSION table, true. However if no pool is configured they go to flat file :smiley:

He he :stuck_out_tongue:

Cheers.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.