Check Undestanding about webMethods 7.1.2

Hello every body,

I am a new webMethods user, I just finished to attend a webMethods 7.1.2 BPM course and I have some questions that I need to get answers. It helps me to understand very well almost all components, tools and concepts related to webMethods 7.1.2.
Any tip and answer will be appreciated and helpful :slight_smile:

:!: START THE INTEGRATION SERVER, BROKER AND MWS:
#What is the url for the IS Server ?
#what is the url for my webMethods Server ?
#Why is the broker monitor set to Automatic start, but not the broker server?

:!: PACKAGES AND FOLDERS:
#If you place the folders in the wrong parent folder, how could you correct it?
#Why is a consistent folder structure in all packages important?

:!: CREATE A SERVICE:
#Why is the order of the services important?
#How many inputs can the pub.string:concat service accept?
#Where would the server log appear if the server is not running through the Command Prompt?

:!: DOCUMENT TYPES:
#What is the benefit of using a schema forimport over using a DTD?
#What are the two ways to intend a document type element under another?

:!: FLOW SERVICES -BRANCH:
#When are regular expressions useful in branch?
#Can you combine a switch variable woth Evaluate labels=true?
#Why use Trace to test branch logic instead of Run?

:!: BUILDING FLOW SERVICES- LOOP:
#What would happen if the MAP and debugLog steps were not intented under the Loop?
#Does Loop have a limit?
#Why do you want to use document references rather than creating the document in the service input?

:!: BUILDING FLOW SERVICES-SEQUENCE:
#Rather than using a service you know will fail, how can you throw an Exeption in Flow?
#When we create a business logic for a Try/Catch using a sequence in a flow service called ABC, we want also create a service, called DEF, that will return an exception, and then embed that service in a Try/Catch. What happen if the ABC service flow works (doesn’t fail)?

:!: MAPPING SERVICE:
Context: we created a service that maps from one data format to another using the document types we created peviously
#How is a transformer different from a normal service?
#What if the transformer you want to use is not in the transformer drop-down list?
#why did we need to LOOP over a document type created previously? Why not just map from this same document type to other document list?

:!: MONITORING BUSINESS PROCESSES:
Context:Using My webMethods to track the execution of services.
#Why is it necesseray to create remote server aliases?
#Under what circumstances would it be acceptable to resubmit a service? Why?

:!: VALIDATION SERVICE:
Context:We created a business logic in order to validate an inbound Purchase Order, we tested to verify that the line items in Purchase Order have a valid quantity. Then we will flag the order as invalid for follow up by a customer service representative.
#Why we need to set isValid to true at the very beginning? is there a better way?
#is there another way we could have validated this particular value with writing Flow or Java?

:!: CREATE A FLAT FILE SCHEMA:
Context: We created , configured and tested a Flat File Schema object to parse flat files.
#Why can’t flat files be imported like XML documents?
#What is the meaning of Nth field?

:!: CREATE A FLAT FILE DICTIONARY
#What is the difference between a dictionary and a schema?
#Why we should create the IS document type when the schema is complete?

:!: CREATE WEB SERVICE DESCRIPTORS AND CUSTOMS FAULT:
#What would we create a Provider WSD or a Consumer WSD ?
#How and when are WSC’s created ?
#Can we have more than one custom SOAP Fault Document?

:!: BROKER Pub/Sub:
#What happen when a document is made publishable?
#What would be the appropriate production settings for publishable properties Discard and Time to Live if the Storage type = Garanteed? ?
#What two objects are required for publishing?
#What three objects are required for subscribing?
#Why were we required to use the full document type name as argument name in the flow service created before?

:!: JMS Pub/Sub:
#What is a topic versus a queue?
#Where is a topic created and confugured for use with IS (2 places)?
#What two objects are required for publishing ?
#What three objects are required for subscribing ?

:!: CREATE ADAPTER SERVICES :
Context: We created 2 insert adapter services, 2 select adapter services, and a parent flow to easily work with data in a database.
#What administratrive activity must be done prior to using adapter service templates?
#Why is it important to specify the LOOP input array before mapping the fields of insertOrderDetails adapter?

:!: NOTIFICATION:
#What is automatically created and updated when you work with your notification service?
#What occurs when the notification schedule is enabled?
#Why is the notification schedule an administration task?

:!: USE SERVICES IN A BUSINESS PROCESS:
#Why do we need to create swimlanes within a process? What effect do they have on the execution of the process ?
#What occurs throughout the system when you perform a build and upload from designer?
#What are the different start mechanisms for a process?

:!: MONITORING A BUSINESS PROCESS:

Why would our process already be enabled in My webMethods Server (when we view it there for the first time?

Many thanks to all of you and best regards :slight_smile:

Hi Nicolas,

I’m assuming that your questions are based on the webMethods 712 exercises and hopefully the below helps:

START THE INTEGRATION SERVER, BROKER AND MWS:
#What is the url for the IS Server?
The URL should be http://hostname:portnumber, the default port however is 5555
#what is the url for my webMethods Server ?
The URL should be http://hostname:portnumber, the default port however is 8800.
#Why is the broker monitor set to Automatic start, but not the broker server?
Because the Broker Monitor monitors the health state of the broker servers and it should be started first in order to do so.

Exclamation PACKAGES AND FOLDERS:
#If you place the folders in the wrong parent folder, how could you correct it?
There are 2 ways you can do to correct the situation:
You can drag and drop the package OR Right click at the desired package, choose cut and then select the correct parent folder to paste.

#Why is a consistent folder structure in all packages important?
This will avoid namespace conflicts by nesting the primary folder

Exclamation CREATE A SERVICE:
#Why is the order of the services important?
Because the service can be uniquely identified
#How many inputs can the pub.string:concat service accept?
2
#Where would the server log appear if the server is not running through the Command Prompt?
\IntegrationServer\logs

Exclamation DOCUMENT TYPES:
#What is the benefit of using a schema for import over using a DTD?
XML schemas perform a similar function to DTDs, however they are a newer standard and support some features that DTDs do not, like namespaces.
#What are the two ways to intend a document type element under another?
You may select the Shift Right Item from Compose option in the toolbar, or press CTRL+SHIFT+Right arrow on the highted document type element.

Exclamation FLOW SERVICES -BRANCH:
#When are regular expressions useful in branch?
It can be used for pattern-matching.
#Can you combine a switch variable woth Evaluate labels=true?
No
#Why use Trace to test branch logic instead of Run?
Trace enables you to set breakpoints and “trace into” compared to Run.

Exclamation BUILDING FLOW SERVICES- LOOP:
#What would happen if the MAP and debugLog steps were not intented under the Loop?
If the MAP & debugLog steps are not indented under the Loop step, they will not get repeated under the Loop step.
#Does Loop have a limit?
No, Loop is unlimited.
#Why do you want to use document references rather than creating the document in the service input?
The document references contains all the necessary structure that is required for the specific document type.

Exclamation BUILDING FLOW SERVICES-SEQUENCE:
#Rather than using a service you know will fail, how can you throw an Exeption in Flow?
Use “Exit with Failure” and Reason will throw a ServiceException
#When we create a business logic for a Try/Catch using a sequence in a flow service called ABC, we want also create a service, called DEF, that will return an exception, and then embed that service in a Try/Catch. What happen if the ABC service flow works (doesn’t fail)?
There will be no output displayed in Server log. You may try writing a sample service as describe to verify your output.

Exclamation MAPPING SERVICE:
Context: we created a service that maps from one data format to another using the document types we created peviously
#How is a transformer different from a normal service?
Transformers compared to normal service, can accomplish multiple value transformations in a single flow step.
#What if the transformer you want to use is not in the transformer drop-down list?
You may click “browse” to search for your desired transformer service that you may have created elsewhere.
#why did we need to LOOP over a document type created previously? Why not just map from this same document type to other document list?

Context:Using My webMethods to track the execution of services.
#Why is it necesseray to create remote server aliases?
To resubmit services on a remote IS.
#Under what circumstances would it be acceptable to resubmit a service? Why?
In the event that a resource experiences a fatal failure, and you want to restore the resource to its pre-failure state by resubmitting service invocations.

Exclamation VALIDATION SERVICE:
#Why we need to set isValid to true at the very beginning? is there a better way?
This is to check if the object is valid. Another way is to check using sequence.
#is there another way we could have validated this particular value with writing Flow or Java?
Remove isValid=True

Exclamation CREATE A FLAT FILE SCHEMA:
#Why can’t flat files be imported like XML documents?
The Flat files needs to be defined.
#What is the meaning of Nth field?
For extraction purpose in delimited flat file.

Exclamation CREATE A FLAT FILE DICTIONARY
#What is the difference between a dictionary and a schema?
Schemas contain flat file structure; dictionaries are reusable repositories for schemas and record definitions
#Why we should create the IS document type when the schema is complete?

Exclamation CREATE WEB SERVICE DESCRIPTORS AND CUSTOMS FAULT:
#What would we create a Provider WSD or a Consumer WSD ?
#How and when are WSC’s created ?
WSD gets automatically created when you enter the WSDL URL.
#Can we have more than one custom SOAP Fault Document?
Yes with the use of Sequence.

Exclamation BROKER Pub/Sub:
#What happen when a document is made publishable?
Once a document is made publishable, you or other developers can subscribe to those publishable document types by creating triggers.
#What would be the appropriate production settings for publishable properties Discard and Time to Live if the Storage type = Garanteed?
Discard=False, Time to Live does not matter as it will be saving to database.
#What two objects are required for publishing?
Document and handling service
#What three objects are required for subscribing?
Trigger, Document and handling service
#Why were we required to use the full document type name as argument name in the flow service created before?
If full document name is not provided for the publishable document type, there is a chance that the document does not get published.

Exclamation JMS Pub/Sub:
#What is a topic versus a queue?
Topic subscriber is for single consumer, while queue may have multiple consumers which message is distributed in round robin fashion.
#Where is a topic created and confugured for use with IS (2 places)?
#What two objects are required for publishing ?
Document and publishing service
#What three objects are required for subscribing ?
Trigger, Document and handling service

Exclamation CREATE ADAPTER SERVICES :
Context: We created 2 insert adapter services, 2 select adapter services, and a parent flow to easily work with data in a database.
#What administratrive activity must be done prior to using adapter service templates?
Creation of JDBC Adapter connection from IS Admin console.
#Why is it important to specify the LOOP input array before mapping the fields of insertOrderDetails adapter?
If Loop input array is not specified before mapping, it will only insert value after the Loop.

Exclamation NOTIFICATION:
#What is automatically created and updated when you work with your notification service?
#What occurs when the notification schedule is enabled?
#Why is the notification schedule an administration task?
You may refer to JDBC Adapter Guide for Notification handling pertaining the questions in these section.

Exclamation USE SERVICES IN A BUSINESS PROCESS:
#Why do we need to create swimlanes within a process? What effect do they have on the execution of the process ?
Swimlanes are created to further subdivide a process, such as by department.
#What occurs throughout the system when you perform a build and upload from designer?
Designer automatically updates the mapping services of all steps to include the current step signatures, and generates mapping services for all steps that do not yet have them defined.
#What are the different start mechanisms for a process?
Few ways: a) By publishing the document b) Using the Trading Network document (with correlation ID) c) Using web services.

Exclamation MONITORING A BUSINESS PROCESS:

Why would our process already be enabled in My webMethods Server (when we view it there for the first time?

In 7.1.x, process model will not be already enabled. You should go to MWS and then enable the model for monitoring. In 8.0 you can see the process already enabled for the first time. (By some designer specific settings).

Hello Nicolas,

Can you let me know if you got the answer for the below question?
“#What is the benefit of using a schema forimport over using a DTD?”