RH7: How to handle almost-identical instances of material
Hi all RH people,
A RH 7 question.
I have some material -- some text, a pic, and a table -- that
gets used a number of times in the documentation, but with certain
words modified as according to the actual topic.
I can make the material into a snippet and import it every
time I need it, but of course that won't help me with the word
modifications for each different instance.
So what I need is a way to pass text arguments into the
snippet.
Can I do this in RoboHelp 7?
Or is there some other way of doing this?
TIA
- avi
Thanks for the response, Colum.
>> There is no way I can think of to do this with
snippets
Maybe in RH9 ...
I thought that this is the typical sort of thing that Single
Sourcing should do.
>> but you could use variables. Just change the
variable value for the text as required.
Ummm ... can 't see how that would work. I need all the
different topics (identical except for a few words) in the same
project at once.
>> Alternatively, I'd be tempted to have a dummy
project with all the instances of the text in seperate topics which
you could then import as and when required.
Not sure this would help me. I have three topics, which are
almost identical, except for a few words.
I have a very simple, "square, vanilla" idea that would do
it. Just have a dummy topic with all the material, but where the
words differ, I would substitute searchable place holders, one or
more as needed, for the word instances,
e.g.,"!<feature_name>!" . Then I can import or copy-paste
that material section as needed and then do a Find-Replace on
"!<feature_name>!" to insert the words I need for the
specific topic. But this is very lo-tech. I would have expected
something better in 2009.
Maybe you meant the same thing, but in different words.
- avi
Similar Messages
-
CF11 - How to handle unresponsive clustered instances?
My client is running ColdFusion Server 11,0,02,291725 on Windows. They've configured five clustered instances with session replication, and requests are forwarded to the cluster via IIS and the CF connector.
Client requests are frequently hitting unresponsive instances or instances in an error state (clients seeing Server Error 500).
Is there a recommended way to configure the CF connector to detect unresponsive instances and stop sending client requests to them?Thanks for the response, Colum.
>> There is no way I can think of to do this with
snippets
Maybe in RH9 ...
I thought that this is the typical sort of thing that Single
Sourcing should do.
>> but you could use variables. Just change the
variable value for the text as required.
Ummm ... can 't see how that would work. I need all the
different topics (identical except for a few words) in the same
project at once.
>> Alternatively, I'd be tempted to have a dummy
project with all the instances of the text in seperate topics which
you could then import as and when required.
Not sure this would help me. I have three topics, which are
almost identical, except for a few words.
I have a very simple, "square, vanilla" idea that would do
it. Just have a dummy topic with all the material, but where the
words differ, I would substitute searchable place holders, one or
more as needed, for the word instances,
e.g.,"!<feature_name>!" . Then I can import or copy-paste
that material section as needed and then do a Find-Replace on
"!<feature_name>!" to insert the words I need for the
specific topic. But this is very lo-tech. I would have expected
something better in 2009.
Maybe you meant the same thing, but in different words.
- avi -
How to handle multiple request in the servlet
how to handle multiple request in the servlet...
Example:
java forum...
i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
if we use thread how to implement in servlet ?Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method. -
How to handle exception CX_SY_REF_IS_INITIAL
hi experts,
im working on a test scenario for abap mapping in SAP XI im getting this error
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference
i understand that i need to catch this exception in the abap coding but i'm not familiar with oops concepts
can any one please suggest me how to handle this exception for the following code...
method IF_MAPPING~EXECUTE.
break x1149.
* initialize iXML
TYPE-POOLS: ixml.
class cl_ixml definition load.
** Instances & Variable declaration =======================
* instance main factory
TYPES: BEGIN OF t_xml_line,
data(256) TYPE x,
END OF t_xml_line.
DATA: l_ixml TYPE REF TO if_ixml,
* instance input stream factory
l_streamfactory TYPE REF TO if_ixml_stream_factory,
* instance input stream
l_istream TYPE REF TO if_ixml_istream,
* instance input document
l_document TYPE REF TO if_ixml_document,
* instance parse input document
l_parser TYPE REF TO if_ixml_parser,
* instance for elements within the nodes
node TYPE REF TO if_ixml_node,
*instance of nodemap
nodemap TYPE REF TO if_ixml_named_node_map,
* instance for iterator
iterator TYPE REF TO if_ixml_node_iterator,
name TYPE string,
value TYPE string,
* instance main factory
o_ixml TYPE REF TO if_ixml,
* instance output document
o_document TYPE REF TO if_ixml_document,
* instance output stream
o_istream TYPE REF TO if_ixml_ostream,
* instance parse output document
o_parser TYPE REF TO if_ixml_parser,
* instance fot renderer
renderer type ref to if_ixml_renderer,
irc type i,
l_xml_size TYPE i,
*ROOT ELEMENT
l_element_MT_DEMANDTEC_COST TYPE REF TO if_ixml_element,
*NEXT CHILD ELEMENT FROM THE ABOVE PARENT
l_element_DT_DEMANDTEC TYPE REF TO if_ixml_element,
*CHILDREN1 ELEMENT FOR DT_DEMANDTEC
l_element_DT_WHSE TYPE REF TO if_ixml_element,
*CHILDREN2 ELEMENT FOR DT_DEMANDTEC
l_element_DT_DC TYPE REF TO if_ixml_element,
*CHILDREN3 ELEMENT FOR DT_DEMANDTEC
l_element_DT_PLANT TYPE REF TO if_ixml_element,
*CHILDREN4 ELEMENT FOR DT_DEMANDTEC
l_element_DT_QTY TYPE REF TO if_ixml_element.
*saving the xml document
DATA: l_xml_table TYPE TABLE OF t_xml_line.
types: begin of t_source,
whse(5),
dc(4) ,
plant(4),
qty type i,
end of t_source.
types: tt_source TYPE STANDARD TABLE OF t_source.
data: wa_source type t_source.
data: it_source TYPE tt_source,
ivalue type string.
* Procedures and business logic =======================================
* Creating the main iXML factory
l_ixml = cl_ixml=>create( ).
* Creating a stream factory
l_streamfactory = l_ixml->create_stream_factory( ).
* create input stream
l_istream = l_streamfactory->create_istream_xstring( source ).
* initialize input document
l_document = l_ixml->create_document( ).
* Create a Parser
l_parser = l_ixml->create_parser( stream_factory = l_streamfactory
istream = l_istream
document = l_document ).
* parse input document
l_parser->parse( ).
* Validate a document
l_parser->set_validating( mode = if_ixml_parser=>co_validate ).
* Parse the stream
IF l_parser->parse( ) NE 0.
IF l_parser->num_errors( ) NE 0.
DATA: parseerror TYPE REF TO if_ixml_parse_error,
str TYPE string,
i TYPE i,
count TYPE i,
index TYPE i.
count = l_parser->num_errors( ).
WRITE: count, ' parse errors have occured:'.
index = 0.
WHILE index < count.
parseerror = l_parser->get_error( index = index ).
i = parseerror->get_line( ).
WRITE: 'line: ', i.
i = parseerror->get_column( ).
WRITE: 'column: ', i.
str = parseerror->get_reason( ).
WRITE: str.
index = index + 1.
ENDWHILE.
ENDIF.
ENDIF.
* Process the document
IF l_parser->is_dom_generating( ) EQ 'X'.
refresh : it_source.
node ?= l_document.
CHECK NOT node IS INITIAL.
* create a node iterator
iterator = node->create_iterator( ).
* get current node
node = iterator->get_next( ).
* loop over all nodes
WHILE NOT node IS INITIAL.
CASE node->get_type( ).
WHEN if_ixml_node=>co_node_element.
* element node
name = node->get_name( ).
nodemap = node->get_attributes( ).
WHEN if_ixml_node=>co_node_text.
* text node
value = node->get_value( ).
if name eq 'DT_WHSE'.
wa_source-whse = value.
ELSEIF name eq 'DT_DC'.
wa_source-DC = value.
ELSEIF name eq 'DT_PLANT'.
wa_source-PLANT = value.
ELSEIF name eq 'DT_QTY'.
wa_source-QTY = value.
COLLECT wa_source INto it_source.
CLEAR wa_source.
ENDIF.
endcase.
node = iterator->get_next( ).
endwhile.
ENDIF.
loop at it_source into wa_source .
at first.
* Creating a ixml factory
o_ixml = cl_ixml=>create( ).
* Creating the dom object model
o_document = l_ixml->create_document( ).
endat.
* Build and Fill root node MT_DEMANDTEC_COST
AT FIRST.
l_element_MT_DEMANDTEC_COST =
O_document->create_simple_element(
name = 'MT_DEMANDTEC_COST'
parent = o_document ).
ENDAT.
* Build and Fill Child node DT_DEMANDTEC for parent
* MT_DEMANDTEC_COST
l_element_DT_DEMANDTEC = O_document->create_simple_element(
name = 'DT_DEMANDTEC'
parent = l_element_MT_DEMANDTEC_COST ).
* Build and Fill Child node1 DT_WHSE for parent DT_DEMANDTEC
ivalue = wa_source-WHSE.
l_element_DT_WHSE = O_document->create_simple_element(
name = 'DT_WHSE'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
* Build and Fill Child node2 DT_WHSE for parent DT_DEMANDTEC
ivalue = wa_source-DC.
l_element_DT_DC = O_document->create_simple_element(
name = 'DT_DC'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
* Build and Fill Child node3 DT_WHSE for parent DT_DEMANDTEC
ivalue = wa_source-PLANT.
l_element_DT_PLANT = O_document->create_simple_element(
name = 'DT_PLANT'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
* Build and Fill Child node4 DT_QTY for parent DT_DEMANDTEC
ivalue = wa_source-QTY.
l_element_DT_QTY = O_document->create_simple_element(
name = 'DT_QTY'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
endloop.
* render document ======================================================
* create output stream
o_istream = l_streamfactory->create_ostream_xstring( result ).
* Connect internal XML table to stream factory
o_istream = l_streamfactory->create_ostream_itable( table =
l_xml_table ).
renderer = o_ixml->create_renderer( ostream = o_istream
document = o_document ).
irc = renderer->render( ).
* how do i catch the exception for type CX_SY_REF_IS_INITIAL ...?
endmethod.
full reward points for answers.
Thanks & Regards,
Uday Kumar.
Edited by: UDAY on May 6, 2008 9:32 PMHi Uday,
Its occurs because you're trying to access a objects with null reference. Or you forgot to create an instance or an error occurs during the instance creation. So You should put all your "Procedures and business logic" inside a Try/catch block. as follow.
" Define a class exception object to get error message......
DATA o_exception TYPE REF TO cx_sy_ref_is_initial.
"// Use the statment Try block to catch the error.
TRY.
* Creating the main iXML factory
l_ixml = cl_ixml=>create( ).
* Creating a stream factory
l_streamfactory = l_ixml->create_stream_factory( ).
* create input stream
l_istream = l_streamfactory->create_istream_xstring( source ).
* initialize input document
l_document = l_ixml->create_document( ).
* Create a Parser
l_parser = l_ixml->create_parser( stream_factory = l_streamfactory
istream = l_istream
document = l_document ).
* parse input document
l_parser->parse( ).
* Validate a document
l_parser->set_validating( mode = if_ixml_parser=>co_validate ).
* Parse the stream
IF l_parser->parse( ) NE 0.
IF l_parser->num_errors( ) NE 0.
DATA: parseerror TYPE REF TO if_ixml_parse_error,
str TYPE string,
i TYPE i,
count TYPE i,
index TYPE i.
count = l_parser->num_errors( ).
WRITE: count, ' parse errors have occured:'.
index = 0.
WHILE index < count.
parseerror = l_parser->get_error( index = index ).
i = parseerror->get_line( ).
WRITE: 'line: ', i.
i = parseerror->get_column( ).
WRITE: 'column: ', i.
str = parseerror->get_reason( ).
WRITE: str.
index = index + 1.
ENDWHILE.
ENDIF.
ENDIF.
* Process the document
IF l_parser->is_dom_generating( ) EQ 'X'.
refresh : it_source.
node ?= l_document.
CHECK NOT node IS INITIAL.
* create a node iterator
iterator = node->create_iterator( ).
* get current node
node = iterator->get_next( ).
* loop over all nodes
WHILE NOT node IS INITIAL.
CASE node->get_type( ).
WHEN if_ixml_node=>co_node_element.
* element node
name = node->get_name( ).
nodemap = node->get_attributes( ).
WHEN if_ixml_node=>co_node_text.
* text node
value = node->get_value( ).
if name eq 'DT_WHSE'.
wa_source-whse = value.
ELSEIF name eq 'DT_DC'.
wa_source-DC = value.
ELSEIF name eq 'DT_PLANT'.
wa_source-PLANT = value.
ELSEIF name eq 'DT_QTY'.
wa_source-QTY = value.
COLLECT wa_source INto it_source.
CLEAR wa_source.
ENDIF.
endcase.
node = iterator->get_next( ).
endwhile.
ENDIF.
loop at it_source into wa_source .
at first.
* Creating a ixml factory
o_ixml = cl_ixml=>create( ).
* Creating the dom object model
o_document = l_ixml->create_document( ).
endat.
* Build and Fill root node MT_DEMANDTEC_COST
AT FIRST.
l_element_MT_DEMANDTEC_COST =
O_document->create_simple_element(
name = 'MT_DEMANDTEC_COST'
parent = o_document ).
ENDAT.
* Build and Fill Child node DT_DEMANDTEC for parent
* MT_DEMANDTEC_COST
l_element_DT_DEMANDTEC = O_document->create_simple_element(
name = 'DT_DEMANDTEC'
parent = l_element_MT_DEMANDTEC_COST ).
* Build and Fill Child node1 DT_WHSE for parent DT_DEMANDTEC
ivalue = wa_source-WHSE.
l_element_DT_WHSE = O_document->create_simple_element(
name = 'DT_WHSE'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
* Build and Fill Child node2 DT_WHSE for parent DT_DEMANDTEC
ivalue = wa_source-DC.
l_element_DT_DC = O_document->create_simple_element(
name = 'DT_DC'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
* Build and Fill Child node3 DT_WHSE for parent DT_DEMANDTEC
ivalue = wa_source-PLANT.
l_element_DT_PLANT = O_document->create_simple_element(
name = 'DT_PLANT'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
* Build and Fill Child node4 DT_QTY for parent DT_DEMANDTEC
ivalue = wa_source-QTY.
l_element_DT_QTY = O_document->create_simple_element(
name = 'DT_QTY'
VALUE = ivalue
parent = l_element_DT_DEMANDTEC ).
endloop.
* render document ======================================================
* create output stream
o_istream = l_streamfactory->create_ostream_xstring( result ).
* Connect internal XML table to stream factory
o_istream = l_streamfactory->create_ostream_itable( table =
l_xml_table ).
renderer = o_ixml->create_renderer( ostream = o_istream
document = o_document ).
irc = renderer->render( ).
" The Statement CATCH define a block that catches the exceptions of the
" exception class cx_sy_ref_is_initial
CATCH cx_sy_ref_is_initial INTO o_exception.
" If you need to get the error message text do as follow
DATA errorMsg type string.
" Get the message text
errorMsg = o_exception->GET_TEXT( ).
" Display the error information
MESSAGE errorMsg TYPE 'I'.
ENDTRY.
The TRY block defines a guarded area whose class-based exceptions can be caught in the subsequent CATCH blocks. If no exception occurs in the TRY block and it reaches its end, the system continues the processing after ENDTRY. If a class-based exception occurs in the TRY block, the system searches for an exception handler in the same or an external TRY control structure.
Font: SAP Help
You can see a how to create and use an exception in this example [ ABAP Objects - Defining a Class-based exceptions|https://wiki.sdn.sap.com/wiki/x/19w] .
Best Regards.
Marcelo Ramos -
OIM11gR2 - How to migrate an Application Instance Form
Hello,
I'm trying to migrate an Application Instance Form from my Dev env to my QA env.
My target system is SAP
I performed the following steps in Dev:
1. Installed and configured the SAP Connector (no problem here)
2. Created a sandbox
3. Created an Application Instance
4. Created the Application Instance Form
5. Ran a target reconciliation to confirm everything is working properly
6. Exported the sandbox
7. Published the sandbox
8. Via Deployment Manager I exported all objects related to SAP (Resource object, Process Forms, Lookups etc.)
In QA I did:
9. Installed and configured the SAP Connector (no problem here)
10. Via Deployment Manager I imported the objects related to SAP
11. Imported the sandbox
Problem:
To my surprise, the Application Instance does not have a Form in the QA env.
I had to create it manually by performing the following:
12. Create a sandbox
13. Open the Application Instance definition
14. Click on create (to create a form)
15. Entered the same name I used in my Dev environment
16. Received an error message saying that the form already exists
17. Entered a different name for the Form
18. Saved
19. Exported the sandbox (to import in Prd)
20. Published the sandbox
21. Ran a target reconciliation to confirm everything is working properly
I tried to reproduce the problem with another (test) destination environment because I don't want to have the same problem when migrating to Prd.
I repeated the steps 9,10,11 except that I imported the sandbox exported from QA (step 19) instead.
The same problem: Application Instance definition has no Form attached to it in my test destination environment.
If I try to create the form with the same name, it gives an error message saying it is already there.
Is my procedure wrong?
Is there an official procedure explaining how to migrate only Application Instance Form from one env to another?
My env:
OS: Windows 2008 R2 SP1
OIM: 11gR2 BP7
SAP connector: 9.1.2.2.0
Thanks,
AdrThis is a bug: Bug:16027176
Check the [Article ID 1515225.1] which proposes a workaround that might be useful in your case (it was not in mine).
In short the workaround is:
The following order should be observed to export :
- IT Resource & Application instance in one xml
- Request DataSet in another xml
- SysAdmin Sandbox (the one defined while creating the Application Instance and the Form)
- Identity URL Sandbox (defined while customizing the fields on the Form, in the Catalogue page)
Adr -
How to handle rpc/encoded style messages using BizTalk?
I am integrating with a lot of services and one of our customers has a service with rpc/encoded style
I could consume and generate schema from their wsdl file via BizTalk consume WCF wizard.
Once I am trying to call the service with request message that generated from the schema, it is giving an error that can not desterilize the first element of the message.
No Deserializer found to deserialize a 'FieldName' using encoding style 'null'
I compared the stub xml request message from SaopUI and I noticed that the xml expecting the data type with the element like this .
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsb="WSBanka">
<soapenv:Header/>
<soapenv:Body>
<wsb:bnkBorcsorgulama soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<sozlesmeNo xsi:type="xsd:string">?</sozlesmeNo>
<bankaKodu xsi:type="xsd:string">?</bankaKodu>
<anahtar xsi:type="xsd:string">?</anahtar>
</wsb:bnkBorcsorgulama>
</soapenv:Body>
</soapenv:Envelope>
On the other hand, I got the request of the message from Fiddler using the BizTalk , and the generate xml of the BizTalk schema without the data type.
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsb="WSBanka">
<soapenv:Header/>
<soapenv:Body>
<wsb:bnkBorcsorgulama>
<sozlesmeNo>?</sozlesmeNo>
<bankaKodu>?</bankaKodu>
<anahtar>?</anahtar>
</wsb:bnkBorcsorgulama>
</soapenv:Body>
</soapenv:Envelope>
In SoapUi, if I remove a datatype from the message, I will get same error from the BizTalk request.
I read some articles that rpc/encoded style are not supported but I am not sure and these articles are not clear.
I also read that it was supported with Soap adapter but now it is deprecated.
So, Is there any one has an experience in rpc/encoded style messages and how to handle these message in BizTalk or is there any work around to handle these messages?
Your inputs really appreciate it.
Thanks in advance,
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As AnswerHi,
Please refer to the document which might help you:
#RPC/Encoded Style
http://www.c-sharpcorner.com/UploadFile/martinkropp/DesigningInteroperableWebService11232005044847AM/DesigningInteroperableWebService.aspx -
Suggestions on how to handle "Hacked Skype Account...
I. User Can Still Access Account
Run a full anti-virus scan (and other security scans available in your computer). This may help to detect and remove any elements that the hacker may have used in gaining access to your account.
2. Immediately Change Your Password, preferably with something that is difficult to guess, and not related or totally different from the passwords you previously used.
3. If the hacker also changed your registered email address, changed it back to your own email address. Here is the link on how to change your registered email address;
https://support.skype.com/en/faq/FA96/How-do-I-change-my-email-address-or-add-another-email-address-...
4. Contact Skype to report the incident. They may be able to provide you with further explanation, clarification and helpful advice. Use the Subject Security & Privacy >> Identity theft / Account takeover.
https://support.skype.com/support_selection
5. You can also contact your bank to inform or alert them of the incident if there is a payment method registered in your Skype account. They may also be able to provide you with additional suggestions, advice, or options.
II. User Can Not Access Account (Password Has Been Changed) – Registered Email Address Not Changed.
Run a full anti-virus scan (and other security scans available in your computer). This may help to detect and remove any elements that the hacker may have used in gaining access to your account.
2. Open the “Forgotten Your Password” page, then request for a new password to be sent to your registered email address;
https://login.skype.com/account/password-reset-request
3. Contact Skype to report the incident. They may be able to provide you with further explanation, clarification and helpful advice. Select the subject Security & Privacy >> Identity theft / Account takeover.
https://support.skype.com/support_request
4. You can also contact your bank to inform or alert them of the incident if there is a payment method registered in your Skype account. They may also be able to provide you with additional suggestions, advice, or options.
III. User Can Not Access Account (Password Has Been Changed) – Registered Email Address Has Also Been Changed.
Run a full anti-virus scan (and other security scans available in your computer). This may help to detect and remove any elements that the hacker may have used in gaining access to your account.
2. If your account has a billing or purchase history in the last 6 months, you can request for a new password without the need of your registered email address. just click the link below;
https://login.skype.com/account/password-automation
After acquiring a new password, you can proceed in changing the registered email address to your own email address;
https://support.skype.com/en/faq/FA96/How-do-I-change-my-email-address-or-add-another-email-address-...
3. Contact Skype to report the incident. They may be able to provide you with further explanation, clarification and helpful advice. They will most likely ask you to provide some details in order for them to verify that you are the real account owner. Select subject/topic Security & Privacy >> Identity theft / Account takeover.
https://support.skype.com/support_request
4. You can also contact your bank to inform or alert them of the incident if there is a payment method registered in your Skype account. They may also be able to provide you with additional suggestions, advice, or options.
5. If your account has no recent purchase, it may no longer be possible to retrieve your account. Still you can try to contact Skype to know if you have other possible options.
Note: If for some reason the links to contact customer support don't work, you can also send an email to [email protected]
Useful Links
A. Protecting your Computer
http://www.skype.com/intl/en-gb/security/online-safety/#protecting
B. Skype Security - Protecting your online safety, security and privacy.
http://www.skype.com/intl/en/security/
C. What can I do if someone has taken over my account? (from support.skype.com)
https://support.skype.com/en-us/faq/FA10920/What-can-I-do-if-someone-has-taken-over-my-account;jsess...
D. How can I contact Skype Customer Service?
https://support.skype.com/en/faq/FA1170/How-can-I-contact-Skype-Customer-Service
CONTACT SKYPE CUSTOMER SERVICE | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES | WINDOWS PROBLEMS TROUBLESHOOTING | SKYPE DOWNLOAD LINKS
MORE TIPS, TRICKS AND UPDATES AT
skypefordummies.blogspot.comSkype is useless for this.
They will claim that you the user are responsible, and that they don't need to do anyhing.
So....
Do not allow Skype to autorefill your account when it runs low on balance, and do not store a creditcard, or other payment info with them.
Each user is liable for whatever the hackers can steal.
As this is from recent personal experience, I recommend you to never keep payment information on file with Skype. -
How to handle multiple records in BPMN process
Hi All,
We are using Oracle BPM 11g.In my requirement,I am using the database adapter to get the data from table and I need to validate the each record and update the status of that record from the BPM Process.But I dont know how to handle if multiple records come at a time.Can anybody please helpout from this problem.
Thanks in advanced.
Narasimha Rao.Can you have a look at this post: http://redstack.wordpress.com/2010/09/30/iteratingtraversing-arrays-in-bpm/
It's solving a different problem, but the key is that it's using a multi-instance subprocess to iterate over an array of "things" that need to be acted in. In your case it's the set of results from the db query rather than the set of tests in the example. But the principle is the same. You'd take collection of rows from the DB and process them in a multi-instance subprocess. The text that begins with the following would be good place to start:
"Now let’s implement the body of our process. We will use the Subprocess object to handle the traversal of the array of tests. Drag a Subprocess from the component palette on the right into the process and drop it on the line between the Start and End nodes."
In the loop characteristics you'd define whether you want to execute serially or in parallel. -
How to handle the errors in transformations
Hi
I am using SOA, JDev 10.1.3.3.
How to handle the exceptions in transformations.
If any thing goes wrong in transformation then how to handle that situation.
I am not getting any kind of instances like errored out..
Please help me out
Regards
PavankumarI think your issue is that your process is going into manual recovery.
In the console click on the tab BPEL processes. There is a link on the left for manual recovery. Do you see your processes there?
What happens if you put your transformation into a scope. The in that scope you have a catch All. In this catch All routine just do a terminate. This will error your process but you should see it appear in the console.
cheers
James -
How to handle blank line in File adapter
Hi,
I am using a file adapter with CSV as input file. If I have a blank line in CSV file, BPEL is failing read it, no instance is created and file is archieved.
Please let me know how to handle this issue.
ThanksHi Yatan,
I am already using rejectedMessageHandlers, I am on 10.1.3.3.
Here's my bpel.xml
============
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELSuitcase>
<BPELProcess id="EmpAddressUpdABCSImpl" src="EmpAddressUpdABCSImpl.bpel">
<partnerLinkBindings>
<partnerLinkBinding name="ReadFile">
<property name="wsdlLocation">ReadFile.wsdl</property>
<property name="rejectedMessageHandlers">file://E:/HRARCHIVE/BadData</property>
</partnerLinkBinding>
<partnerLinkBinding name="InsertAddressUpd">
<property name="wsdlLocation">InsertAddressUpd.wsdl</property>
<property name="retryInterval">60</property>
</partnerLinkBinding>
</partnerLinkBindings>
<configurations>
<property name="sensorLocation">sensor.xml</property>
<property name="sensorActionLocation">sensorAction.xml</property>
</configurations>
<activationAgents>
<activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="ReadFile">
<property name="portType">Read_ptt</property>
<property name="rejectedMessageHandlers">file://E:/HRARCHIVE/BadData</property>
</activationAgent>
</activationAgents>
</BPELProcess>
</BPELSuitcase>
Someone told me that this can be achieved by changing the native schema, I tried many options but no result. Please suggest me.
-- Shirish -
How to handle different languages in Illustrator for big clients?
Hi Guys,
I need small suggestio for 'How to handle different languages in illustrator for big clients'. For instance; Arabic, this is a language which needs to be read from right to left instead of left to right. There are other strange languages as well (Cyrillic, Chinese etc.). It happens also that when you copy strange languages from a word file it will not be easy to paste it the correct way in a .ai file. Besides that, it’s also difficult to do a language check when we are not able to read it!. So, to make a long story short, I want to figure out how we can deal with multiple language circles?
Can you some please give me the solution for this...
Thanks in advance...
HARII take it you might come from an arabic background.
Here is how you can help yourself to some degree.
Google has a translation feature and service which is at the moment free. It is excellent.
Secondly if you are working with ME languages you really need the ME version of Illustrator or any other Creative Suites Application in order for it to work properly.
It, is also best to enable the language and the input for that language for your system on the Mac it is easy you go to the Language and text feature in theSystem Preferences, once enabled you can select the fro the menu bar under the American flag if you are in the US. Thst will appear once you have more than one language selected.
You select the language input you need and then a font for that language then paste and edit.
You need fonts on your computer that are of those languages as well.
How to manage this as a work flow well that is something you will have to work on yourself or hire a consultant who specializes in this area.
We had a few visit here when they have come across a snafu. So they exists. -
How to Handle user Session in JSP
Help me,
How to handle user session in JSP.......Prakash_Pune wrote:
tell me some Debugging tech. so i can overcome from my problem.....Do you use an IDE? Any IDE ships with a decent debugger where in you can just execute the code step by step, explore the current variable values and check what exactly is happening. For example Eclipse or IntelliJ. If you don´t use an IDE, then just place some System.out.println() or Logger.debug() statements at strategic locations printing the variables of relevance so that you can track in logs what exactly is happening.
or tell any other way to find is my page is thread safe or not...Just write correct code and narrow the scope of the variables as much as possible. If you for example assigned the user object to a static variable or as a servlet´s instance variable, then exactly the same user object would be used everywhere in the application. That kind of logical things. -
How to Handle Error Check in a BADI
Hi all,
I have implemented a BADI "IWO1_ORDER_BADI" with method CHANGE_COSTRELEVNCY.
I have put a check , which raises a error on some condition.
But my problem is that after getting the error the transaction stop in non-editable mode and doesn't allow the user to modify the error and also this method was in PAI.
Pls let me know how to handle this error.
Thanks in advanceHello Vivek
Since you do not really tell us on which condition you need to send an error message it is difficult to address your question.
However, since method CHANGE_COSTRELEVNCY contains the IMPORTING parameter IS_CAUFVD I could imagine that you might successful by implementing ORDER_SCHEDULE as well.
Perhpas the following scenario might work:
Check condition in method CHANGE_COSTRELEVNCY and set (e.g.) instance attribute MD_FAILED = 'X' (which you have to define in your implementing class)
Check error attribute in method ORDER_SCHEDULE
IF ( me->md_failed = 'X' ).
do_not_schedule = 'X'.
ENDIF.
This logic assumes that your failure condition is due to values in CAUFVD and that the error message should suppress scheduling of the order (both of which might be wrong because we do not know what you want exactly...).
Regards
Uwe -
How to handle exceptions thrown by event
Hi all,
i have this slight problem, i'm trying to handle accessing a databse from a button click, i'm trying to simulate somebody logging on to a network. the code is as follows;
*@author James Taylor
*@version 30-11-2003
*Logon gui
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class LogonUI extends JFrame {
//instance variables
private JLabel userNameL;
private JPasswordField password;
private JButton logon;
ButtonHandler handler;
Connection con;
Statement stmt;
*Constructor initialises and creates UI, adds functionality to the button.
public LogonUI() throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
super("Employee Logon");
Container c = getContentPane();
c.setLayout(new FlowLayout() );
//handles what happens when user presses the button
handler = new ButtonHandler();
userNameL = new JLabel("Please Enter Password:");
c.add(userNameL);
password = new JPasswordField(15);
c.add(password);
logon = new JButton( "Logon" );
//anonymous inner class that is created once the button is pressed.
//it connects to database to validate user
logon.addActionListener( handler );
c.add(logon);
c.setBackground( Color.pink );
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
setSize(250,150);
setVisible(true);
*class that opens connection to validate user
private class ButtonHandler implements ActionListener {
public void actionPerformed(ActionEvent ae)throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
try{
boolean isValidUser = false;
//Load mysql driver
Class.forName("com.mysql.jdbc.Driver").newInstance();
//make a connection
String url = "jdbc:mysql://localhost/flight";
con = DriverManager.getConnection(url)
//Create and instantiate a statement obj
stmt = con.createStatement();
//get a result set
ResultSet rs = stmt.executeQuery("SELECT Password FROM employees");
//Iterate through the result set
while ( rs.next() ){
String savedPassword = rs.getString("Password");
if (password.getText().equals(savedPassword) ){
isValidUser = true;
JOptionPane.showMessageDialog(null,"Yipeeeee");
if (isValidUser == false){
JOptionPane.showMessageDialog(null,"Invalid Password");
stmt.close();
con.close();
}catch(Exception e){ e.printStackTrace();}
public static void main (String[] args) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
LogonUI testAirApp = new LogonUI();
}When the user presses the button the app tries to validate the user.
I have not been able to test the code due to SQL Exceptions thrown in the handler class, and when i try and throw them up from here i get;
LogonUI.java:52: actionPerformed(java.awt.event.ActionEvent) in LogonUI.ButtonHandler cannot implement actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener; overridden method does not throw java.lang.InstantiationExceptionAny ideas on my code and how to handle these exceptions will be very appreciated. Regards, JamesTurn your checked exceptions into unchecked exceptions and retrieve the cause later:
RuntimeException unchecked = new RuntimeException(checked);
Throwable t = unchecked.getCause();Stephen -
How to handle double click event in a text control
Hi,
Will u please send me information on handling double click events inside text control and also about locking and unlocking of DB tables for updation.
Regards,
Praba.Hi Prabhavathi,
Here is how you handle double click events in Textedit control.
1)Create a custom control in screen (say TEXT_CONTROL)
2)In main program,
a) Declarations:
data: obj type ref to cl_gui_custiom_control.
text type ref to cl_gui_textedit.
b) Create the instance of custom container
c) Create the instance of textedit control.
3)Now to handle double click events , create a local class as follows.
class shail_event definition.
public section.
methods:
handle_doubleclick for event dblclick of cl_gui_textedit .
endclass.
class shail_event implementation.
method handle_doubleclick .
here do the coding for handling the double click.
endmethod.
endclass.
4) Create an instance of the handler class(ie.ZSHAIL_EVENT).Let it be named hand.
5) Define varibles for event.
DATA: i_events TYPE cntl_simple_events,
wa_events TYPE cntl_simple_event.
SET HANDLER hand->handle_doubleclick for text.
wa_events-eventid = cl_gui_textedit=>event_double_click.
wa_events-appl_event = 'X'. "This is an application event
APPEND wa_events TO i_events.
6)
CALL METHOD texte->set_registered_events
EXPORTING
events = i_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
These are the basic steps needed for handling events in Textedit control.You can go to SE24 and type CL_GUI_TEXTEDIT to find the associated events of the class.
If you want the program, kindly send your mail-id so that I can mail it to you.
Regards,
Sylendra.
Maybe you are looking for
-
I downloaded the e-book The 80/10/10 Diet by Dr. Douglas Graham directly onto my old 4th gen iPod Touch from interviewthemasters.com a while back so my Purchases in iTunes 11 still shows no books available to re-download. _None_ of my iBooks content
-
Usage of 'export' & 'import' command in SSL
Hi, I have a query regarding 'export' and 'import' command while creating security certificates. Why do we use export word in this command and not anywhere else - keytool -export -alias weblogic -file trust.pem -keystore mykeystore.jks -storepass web
-
Creating item category in WebTools CRM 2007
I am new to Webtools CRM 2007. I need some help in creating catgeories so my users can create quotes and orders. However, I am receiving an error message stating I need a part category first. When I lok at my Bulk operations in the category sectio
-
Report row check and browser refresh
I've selected some rows in a region report with the checkbox column. After refreshing the page in the browser the marking is still there on those rows. How can I make it disappear automatically on refresh?
-
How to create I/O Root domain?
Hi, I would like to ask your help in creating an I/O root domain? Is it the same as creating a guest VM. Is this just another guest VM that has direct connection with I/O such as HBA and Ethernet card? Regards, Andrew