Benefits of AS3 over AS2?
I would like to accomplish some very basic functionality in
Flash, such
as, creating buttons that link to other frames, scenes,
websites,
documents, turn on sounds, etc.
I would ideally like to do this using the built in Behaviors,
however,
these will only work with AS2.
1.) Is there any benefit to using AS2 over AS3?
2.) Is there a date that Adobe has announced where they will
no longer
support AS2?
Thanks.
nambo1,
First of all, the real hero is the Flash Player. The Flash
Player, the features it has, and the environments it runs in and
how it runs in those environments (particularly the web browser,
but as kglad pointed, it's very flexible and is used other places
as well) is what makes it so popular. ActionScript is simply how
you programatically use the Flash Player. ActionScript is an
ECMAScript language of which there are others, but it's the Flash
Player (and what you can do with it) that attracts people.
The Flash Player has been popular for awhile now. AS3,
however, is the latest and completely redone language for the Flash
Player. Because it's new and because there are significant
differences between AS3 and its predecessor (AS1 and AS2), there is
some adoption time required. Many people are still using AS2. You
can google to find out a lot more detail about the
advantages/disadvantages to AS3 vs AS2, if that's what you're
really looking for.
Similar Messages
-
Benefits of AS3 over other programming languages
Hi everyone i am writing a project on AS3 and trying to find
the benefits AS3 has over other object orientated programming
languages in designing a website and why it is getting so popular.
Tried searching on google but has never got any useful information.
Thanks for you assistance in advancenambo1,
First of all, the real hero is the Flash Player. The Flash
Player, the features it has, and the environments it runs in and
how it runs in those environments (particularly the web browser,
but as kglad pointed, it's very flexible and is used other places
as well) is what makes it so popular. ActionScript is simply how
you programatically use the Flash Player. ActionScript is an
ECMAScript language of which there are others, but it's the Flash
Player (and what you can do with it) that attracts people.
The Flash Player has been popular for awhile now. AS3,
however, is the latest and completely redone language for the Flash
Player. Because it's new and because there are significant
differences between AS3 and its predecessor (AS1 and AS2), there is
some adoption time required. Many people are still using AS2. You
can google to find out a lot more detail about the
advantages/disadvantages to AS3 vs AS2, if that's what you're
really looking for. -
TP Agreement Not Found -- OAGIS XML document over AS2
Hi,
I am getting TP Agreement not found error while receiving OAGIS XML document over AS2. Below is error message.
Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND
I am not sure why it says null-INBOUND. It appears like it is not able to identify Document Version. DOCTYPE_REVISION=7.2.1 is being passed in the AS2 transport headers but still it does not recognize the version.
I am not sure what is missing. Please give some ideas hints.
Below is the Business Message:----
Id AC12149513F1F78141400000E7DEDE00
Message Id AC12149513F1F78136200000E7DED800
Refer To Message Refer To Message
Sender Type AS2 Identifier
Sender Value SOALocal
Receiver Type AS2 Identifier
Receiver Value PowellIndustries
Sender SOALocal
Receiver Powell
Agreement Id
Agreement
Document Type PROCESS_INVOICE_002
Document Protocol OAG
Document Version 7.2.1
Message Type REQ
Direction INBOUND
State MSG_ERROR
Acknowledgement Mode NONE
Response Mode ASYNC
Send Time Stamp 06/07/2013 11:28:49 AM
Receive Time Stamp 06/07/2013 11:28:50 AM
Document Retry Interval(Channel) 0
Document Remaining Retry(Channel) 0
Document Retry Interval(Agreement)
Document Remaining Retry(Agreement)
Native Message Size 10788
Translated Message Size
Business Action Name
Business Transaction Name
Xpath Name1
Xpath Value1
Xpath Expression1
Xpath Name2
Xpath Value2
Xpath Expression2
Xpath Name3
Xpath Value3
Xpath Expression3
Correlation From XPath Name
Correlation From XPath Value
Correlation From XPath Expression
Correlation To XPath Name
Correlation To XPath Value
Correlation To XPath Expression
Wire Message Wire Message
Application Message Application Message
Payload Storage Payload Storage
Attachment Attachment
Label
Collaboration Id AC12149513F1F7813BF00000E7DEDB00
Collabration Name
Collabration Version
Business Action Name
Exchange Protocol Name AS2
Exchange Protocol Version 1.1
Interchange Control Number
Group Control Number
Transaction Set Control Number
Error Code B2B-50547
Error Description Machine Info: (pwl.pri) Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
Below is the Wire Message:----
Id AC12149513F1F78115400000E7DED600
Message Id AC12149513F1F78115400000E7DED600
Business Message AC12149513F1F78141400000E7DEDE00
Packed Message Packed Message
Payload Payload
Protocol Message Id <38383939373331343630313931303737@SOALocal>
Refer To Protocol Message Id
Protocol Collaboration Id
Protocol Transport Binding ChannelName=SOALocal dcID=CHANNEL_nlzbB-7511847722850817684 AS2-To=PowellIndustries DOCTYPE_NAME=PROCESS_INVOICE_002 TE=trailers, deflate, gzip, compress DOCTYPE_REVISION=7.2.1 Date=Fri, 07 Jun 2013 16:28:49 GMT AS2-Version=1.1 Accept-Encoding=gzip, x-gzip, compress, x-compress AS2-From=SOALocal url=http://pwl.pri/b2b/transportServlet Content-Transfer-Encoding=binary Message-ID=<38383939373331343630313931303737@SOALocal> Content-type=application/pkcs7-mime; smime-type="enveloped-data" MSG_RECEIVED_TIME=Fri Jun 07 11:28:49 CDT 2013 ECID-Context=1.71b9d2a41e5aaef0:-10db6371:13f1ee6cb74:-8000-000000000000276d;khvE MIME-version=1.0 tpName=PowellIndustries User-Agent=AS2 Server Oracle HTTPClient Version 10h Content-Length=13663 Host=pwl.pri:8001 Connection=close, TE useProxy=false From=SOALocal additionalHeaders=DOCTYPE_NAME=PROCESS_INVOICE_002#DOCTYPE_REVISION=7.2.1
Message Digest Message Digest
Digest Algorithm md5
Transport Protocol HTTP
Transport Protocol Version 1.1
Url http://pwl.pri:8001/b2b/transportServlet
security
Transport Headers ChannelName=SOALocal dcID=CHANNEL_nlzbB-7511847722850817684 AS2-To=PowellIndustries DOCTYPE_NAME=PROCESS_INVOICE_002 TE=trailers, deflate, gzip, compress DOCTYPE_REVISION=7.2.1 Date=Fri, 07 Jun 2013 16:28:49 GMT AS2-Version=1.1 Accept-Encoding=gzip, x-gzip, compress, x-compress AS2-From=SOALocal url=http://pwl.pri:8001/b2b/transportServlet Content-Transfer-Encoding=binary Message-ID=<38383939373331343630313931303737@SOALocal> Content-type=application/pkcs7-mime; smime-type="enveloped-data" MSG_RECEIVED_TIME=Fri Jun 07 11:28:49 CDT 2013 ECID-Context=1.71b9d2a41e5aaef0:-10db6371:13f1ee6cb74:-8000-000000000000276d;khvE MIME-version=1.0 tpName=PowellIndustries User-Agent=AS2 Server Oracle HTTPClient Version 10h Content-Length=13663 Host=pwl.pri:8001 Connection=close, TE useProxy=false From=SOALocal additionalHeaders=DOCTYPE_NAME=PROCESS_INVOICE_002#DOCTYPE_REVISION=7.2.1
certificates certificates
State ERROR
Reattempt Count
Error Code B2B-50547
Error Description Machine Info: (pwl.pri) Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
Error Text Agreement not found for trading partners: FromTP SOALocal, ToTP Powell with document type PROCESS_INVOICE_002-null-INBOUND.
exchangeRetryInterval
exchangeRemainingRetry
Message Size 10788
Thanks
Ismail M.Hi Anuj,
Here is the payload from the wire message. We are using 11.1.1.6.0
<?xml version = '1.0' encoding = 'UTF-8'?>
<PROCESS_INVOICE_002 xmlns="http://www.openapplications.org/171_process_invoice_002">
<CNTROLAREA xmlns="">
<BSR>
<VERB value="PROCESS">PROCESS</VERB>
<NOUN value="INVOICE">INVOICE</NOUN>
<REVISION value="002">002</REVISION>
</BSR>
<SENDER>
<LOGICALID>POWELLIND</LOGICALID>
<COMPONENT>B2B</COMPONENT>
<TASK/>
<REFERENCEID/>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>ENG</LANGUAGE>
<CODEPAGE/>
<AUTHID>oracle B2B</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
</CNTROLAREA>
<DATAAREA xmlns="">
<PROCESS_INVOICE>
<INVHEADER>
<AMOUNT qualifier="DOCUMENT" type="T" index="1">
<VALUE>5413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<DATETIME qualifier="DOCUMENT" index="1">
<YEAR>2013</YEAR>
<MONTH>03</MONTH>
<DAY>15</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DOCUMENTID>1000182</DOCUMENTID>
<DESCRIPTN/>
<DOCTYPE/>
<PAYMETHOD/>
<REASONCODE/>
<USERAREA/>
<PARTNER>
<NAME index="1">Powell US Operating Unit</NAME>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>Supplier</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1">Powell US Operating Unit</NAME>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<CONTACT>
<NAME index="1">No Sales Credit</NAME>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1">PO Box 843823, Dallas, Dallas, TX, 75284-3823, United States</NAME>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>RemitTo</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1">PO Box 843823, Dallas, Dallas, TX, 75284-3823, United States</NAME>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1">PO Box 843823</ADDRLINE>
<ADDRTYPE/>
<CITY>Dallas</CITY>
<COUNTRY>United States</COUNTRY>
<COUNTY>Dallas</COUNTY>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE/>
<REGION/>
<STATEPROVN>TX</STATEPROVN>
<TAXJRSDCTN/>
<TELEPHONE index="1"/>
<URL/>
<USERAREA/>
</ADDRESS>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<PARTNER>
<NAME index="1"/>
<ONETIME/>
<PARTNRID/>
<PARTNRTYPE>Carrier</PARTNRTYPE>
<SYNCIND/>
<ACTIVE/>
<CURRENCY/>
<DESCRIPTN/>
<DUNSNUMBER/>
<GLENTITYS/>
<NAME index="1"/>
<PARENTID/>
<PARTNRIDX/>
<PARTNRRATG/>
<PARTNRROLE/>
<PAYMETHOD/>
<TAXEXEMPT/>
<TAXID/>
<TERMID/>
<USERAREA/>
<ADDRESS>
<ADDRLINE index="1"/>
<ADDRTYPE/>
<CITY/>
<COUNTRY/>
<COUNTY/>
<DESCRIPTN/>
<FAX index="1"/>
<POSTALCODE/>
<REGION/>
<STATEPROVN/>
<TAXJRSDCTN/>
<TELEPHONE index="1"/>
<URL/>
<USERAREA/>
</ADDRESS>
<CONTACT>
<NAME index="1"/>
<CONTCTTYPE/>
<DESCRIPTN/>
<EMAIL/>
<FAX index="1"/>
<TELEPHONE index="1"/>
<USERAREA/>
</CONTACT>
</PARTNER>
<DOCUMNTREF>
<DOCTYPE>INV</DOCTYPE>
<DOCUMENTID>10005:21009</DOCUMENTID>
<PARTNRID/>
<PARTNRTYPE>Supplier</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<NOTES index="1"/>
<SCHLINENUM/>
<SUBLINENUM/>
<USERAREA/>
</DOCUMNTREF>
<INVTAX>
<AMOUNT qualifier="TAX" type="T" index="1">
<VALUE>413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<AMOUNT qualifier="TAXBASE" type="T" index="1">
<VALUE>5413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<DRCR>D</DRCR>
</AMOUNT>
<QUANTITY qualifier="PERCENT">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<UOM/>
</QUANTITY>
<DESCRIPTN/>
<LINENUM/>
<TAXCODE/>
<TAXJRSDCTN/>
<USERAREA/>
</INVTAX>
<PYMTTERM>
<AMOUNT qualifier="DISCNT" type="T" index="1">
<VALUE/>
<NUMOFDEC/>
<SIGN/>
<CURRENCY/>
<DRCR/>
</AMOUNT>
<DATETIME qualifier="DISCNT" index="1">
<YEAR/>
<MONTH/>
<DAY/>
<HOUR/>
<MINUTE/>
<SECOND/>
<SUBSECOND/>
<TIMEZONE/>
</DATETIME>
<DATETIME qualifier="DUE" index="1">
<YEAR>2013</YEAR>
<MONTH>04</MONTH>
<DAY>14</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<DATETIME qualifier="PYMTTERM" index="1">
<YEAR>1952</YEAR>
<MONTH>01</MONTH>
<DAY>01</DAY>
<HOUR>00</HOUR>
<MINUTE>00</MINUTE>
<SECOND>00</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0600</TIMEZONE>
</DATETIME>
<DESCRIPTN>Net Due in 30 Days</DESCRIPTN>
<TERMID>30 NET</TERMID>
<USERAREA>
<AMOUNT qualifier="TOTAL" type="T" index="1">
<VALUE>5413</VALUE>
<NUMOFDEC>2</NUMOFDEC>
<SIGN>+</SIGN>
<CURRENCY/>
<DRCR>D</DRCR>
</AMOUNT>
</USERAREA>
</PYMTTERM>
</INVHEADER>
<INVLINE>
<AMOUNT qualifier="EXTENDED" type="T" index="1">
<VALUE>50</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<CURRENCY/>
<DRCR>D</DRCR>
</AMOUNT>
<OPERAMT qualifier="UNIT" type="T">
<VALUE>5</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<CURRENCY/>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUMDEC>
<UOM/>
</OPERAMT>
<QUANTITY qualifier="ITEM">
<VALUE>10</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<UOM/>
</QUANTITY>
<LINENUM>1</LINENUM>
<DESCRIPTN>11GA SHEET STEEL HOT ROLLED-PICKLED-OILED COMMERCIAL QUALITY.</DESCRIPTN>
<ITEM>11GA SHEET STEEL HOT ROLLED-PICKLED-OILED COMMERCIAL QUALITY.</ITEM>
<ITEMTYPE/>
<ITEMX>11HRPO</ITEMX>
<OPENITEM/>
<PROJACTVTY/>
<UNIT>LB</UNIT>
<UPC/>
<USERAREA/>
<DOCUMNTREF>
<DOCTYPE>LINE</DOCTYPE>
<DOCUMENTID>10005:21009:19019</DOCUMENTID>
<PARTNRID/>
<PARTNRTYPE>Supplier</PARTNRTYPE>
<DESCRIPTN/>
<USERAREA/>
</DOCUMNTREF>
<DOCUMNTREF>
<DOCTYPE>SalesOrder</DOCTYPE>
<DOCUMENTID>600813</DOCUMENTID>
<PARTNRID/>
<PARTNRTYPE/>
<DESCRIPTN/>
<USERAREA/>
</DOCUMNTREF>
<DOCUMNTREF>
<DOCTYPE>PurchaseOrder</DOCTYPE>
<DOCUMENTID>TEST123</DOCUMENTID>
<PARTNRID>N/A</PARTNRID>
<PARTNRTYPE>Customer</PARTNRTYPE>
<DESCRIPTN/>
<DOCUMENTRV/>
<LINENUM/>
<SCHLINENUM/>
</DOCUMNTREF>
</INVLINE>
</PROCESS_INVOICE>
</DATAAREA>
</PROCESS_INVOICE_002> -
IDoc flat file over AS2 adapter to IDoc adapter
Hi,
The scenario is IDoc flat file(.txt) over AS2 adapter to IDoc adapter. Could anyone help on how to convert the IDoc flat file to xml in AS2 adapter to execute the mapping further? we are using PI 7.0.
Thanks in advance!
-zameerHi,
Since you are on Pi 7.0, you would not be able to use the modules for this in PI 7.1.
You would need to refer this document for converting from Idoc flat to XML
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a?quicklink=index&overridelayout=true
In your sender AS2 adapter, you can pass the file as is to an abap mapping which will do the conversion to Idoc xml. the output of the abap mapping goes to your message mapping then for conversion.
Another option would be to use a custom adapter module in the sender AS2 adapter to call the Aabap mapping to do the conversion into Idoc xml.
The custom adapter module would do a JCO/RFC call which will do the conversion before passing the data back to the adpter module.
Regards -
Migrate existing code of AS3 to AS2 - URLRequest, URLLoader
Hi,
I have written code to read an XML file by using URLRequest and URLLoader in ActionScript 3.0. Code is pasted below. This runs well in AS3. Problem I am facing is because I wrote this in AS3, I am not able to use the DateChooser component in another part of the flash module because it seems like DateChooser component is not supported in AS3. So I want to migrate my below AS3 code back to AS2.
**** Code in AS3 (I need help in writing equivalent code in AS2) :-
var xmlText:XML ;
var xmlReq:URLRequest = new URLRequest("myFile.xml");
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(xmlReq);
xmlLoader.addEventListener(Event.COMPLETE,xmlLoaded);
function xmlLoaded(event:Event):void
xmlText = new XML(xmlLoader.data);
info_txt.htmlText = xmlText.someTag ;
**** I cannot use the above as is because, when I change the publish settings from AS3 to AS2, I get following errors -
The class or interface 'URLRequest' could not be loaded.
The class or interface 'URLLoader' could not be loaded.
The class or interface 'Event' could not be loaded.
Same works well in AS3. What should I do to make this work in AS2 or can anyone direct me in writing an equivalent in AS2.
Please assist.
Thanks in advance.
MGparsing is done using the xmlnode methods and properties. how you parse an xml file (in as2) depends on its structure. but generally, you use firstChild, nextSibling, childNodes and nodeValue in the appropriate sequence to extact data. the flash help files have sample code. for tutorials, check google.
if you're trying to load a cross-domain xml file, you'll have a cross-domain security issue to deal with. -
How do you convert this code from AS3 to AS2?
Hi,
I created some AS3 code that is working perfectly for us.
However now we need to convert it to AS2 so that it can be Flash
Player 8 compatible. If it could also be compatible for Flash
Player 7 that would be ideal but not a requirement.
Thanks in advance.Are you wanting someone to do the conversion for you, or are
you asking for general tips for doing the conversion yourself?
i can give you tips:
have a look at the
ActionScript
2.0 Migration page.
In this you'll find the property conversions eg(going from
AS3 to AS2). y becomes _y, height becomes _height, scaleX becomes
_xscale, void becomes Void etc.
you'll find that events need to be converted, eg.
particle.addEventListener(Event.ENTER_FRAME,
animateParticle);
becomes:
particle.onEnterFrame=animateParticle;
the onEnterFrame class doesn't pass an Event parameter to the
event listener. Instead, the event listener is automatically in the
scope of the event dispatcher, so instead of 'event.target' you
will be able to just target 'this'.
You'll need to use setInterval() instead of the Timer class.
You'll need to use attachMovie() instead of
addChild(). -
Change some code from as3 to as2
Hi, I want to use as2 because it compatible with my website.
I want to change some code from as3 to as2
/////////////////////////////image1//////////////////////////////// if(MovieClip(this.parent).imagetxt.text == "a") { var imgurl:String = "C:/Users/Thái/Desktop/ls/cotton-1.jpg"; var myrequest:URL = new URL(imgurl); myloader.scaleContent = true; myloader.load(myrequest); } /////////////////////////////image2//////////////////////////////// else if(MovieClip(this.parent).imagetxt.text == "b") { var imgurl2:String = "http://aloflash.com/images/upload/3.jpg"; var myrequest2:URLRequest = new URLRequest(imgurl2); myloader.scaleContent = true; myloader.load(myrequest2); }thank you for your support.use:
var myloader:MovieClip=this.createEmptyMovieClip("loader_mc",this.getNextHighestDepth());
if (MovieClip(this._parent).imagetxt.text == "a") {
var imgurl:String = "C:/Users/Thái/Desktop/ls/cotton-1.jpg";
myloader.load(imgurl);
} else if (MovieClip(this._parent).imagetxt.text == "b") {
var imgurl2:String = "http://aloflash.com/images/upload/3.jpg
myloader.load(imgurl2); -
Batch does not go over AS2 .general Error B2B 50014
Hi,
We are trying to send data over as2 and are using count based batching.when we send the single message that gets transmitted successfully but the batch does not generate a wire message.SO some of the transactions of the batch are in msg_Wait_Batch status while some are in error status.The error message is
errorCodeB2B-50014
errorText General ErrorHi Dheeraj,
Thank you for the response. The Action name I m using is D:ID:Count:60.
ID:is coming from backend appplication,set in BPEL Xform
Count: is number of recordscoming.
When I use a differnt channel, say send it to a file (generic file) It batches successfully.The error just comes up when I m sending it over AS2.Single record on AS2 goes through successfully.
Thanks. -
Receiving Custom XML Document over AS2 (HTTPS) - Inbound Processing
Hi All,
Need help in Receiving Custom XML Document over AS2 (HTTPS) - Inbound Processing
External Trading Partner will be able to post the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver.
Here is the process flow:
1. External Trading Partner will be posting the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver
2. B2B, consumes the Custom XML validates as per the XSD and process it.
3. How to send the ACK back to External Trading Partner if it validates successfully and sent it to 'IP_IN_QUEUE'
4. How to send the ACK back to External Trading Partner if the validation fails after receiving the XML document.
5. Does the External Trading Partner require any certificates to post the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver (no need of encryption/decryption)?
6. How to enable the B2B server to accept the HTTPS messages from the Trading Partner (no need of encryption/decryption).
Please let me know. Thanks In Advance.
Regards,
AmirineniHi Nandu, Ramesh,
We have done the set-ups for transmitting a Custom XML Document over HTTP1.1 in B2B.
Our Business Case is as follows:
1. Read the Flat File using BPEL File Adapter
2. Transform the Message in BPEL and send it to B2B
2. Based on the set-ups in B2B, we need to post the XML message to the folliwng URL:-
http://databridge.buy.datastream.net:5555/invoke/dsImport/receiveXML
In the B2B Set-Ups, I have done the following:
Business Protocol name: Custom Document over Internet
Exchange Protocol: AS
Document Protocol: Custom
Transport Protocol: HTTP-1.1
Host name : http://databridge.buy.datastream.net
Port: 5555
I have also deployed the agreement as well as the configuration. The issue that I am currently facing is when I select the configuration in WSIL browser in JDeveloper, I am getting the following error:
"Unable to get schema information for target".
Hence I am not able to map the message in BPEL and send it to B2B.
Could you please let me know the possible causes and if I am missing anything in the set-ups in B2B.
As always, your help and guidance is highly appreciated.
Thanks,
Dibya -
OAG 7.x XML messages over AS2
Hi All,
Need some help for the below issue.
We will be receiving OAG Xml messages over AS2 from our trading partners. I have setup the Trading partner Agreement but the message is not picking any agreement. I believe we need to set the below fields in the Document Definition.
Identification Expression (XPath)
Identification Value
I have tried different values for these fields but it is not working. Could someone please suggest if you have done this and how you handled this. Or someone please throw some idea for me to try another approach.
Thanks
Ismail.Here is the XML Payload. Sorry it is a big payload. I am not getting any error when I upload the message to AS2. In B2B it shows the message received but the sender fields are blank.
I used below values in the Document definition.
Identification Expression (XPath) ==> //*[local-name()='TASK']/text()
Identification Value ==> POISSUE
The task element is 10 - 12 lines below in the paylod under SENDER.
<?xml version="1.0" encoding="UTF-8" standalone='no'?>
<!DOCTYPE PROCESS_PO_007 SYSTEM "003_process_po_007.dtd">
<!-- Oracle eXtensible Markup Language Gateway Server -->
<PROCESS_PO_007>
<CNTROLAREA>
<BSR>
<VERB value="PROCESS">PROCESS</VERB>
<NOUN value="PO">PO</NOUN>
<REVISION value="007">007</REVISION>
</BSR>
<SENDER>
<LOGICALID/>
<COMPONENT>PURCHASING</COMPONENT>
<TASK>POISSUE</TASK>
<REFERENCEID>DEVB.MyCompanyIND.PRI:oracle.apps.po.event.xmlpo:48135-42957</REFERENCEID>
<CONFIRMATION>0</CONFIRMATION>
<LANGUAGE>US</LANGUAGE>
<CODEPAGE>AL32UTF8</CODEPAGE>
<AUTHID>APPS</AUTHID>
</SENDER>
<DATETIME qualifier="CREATION" type="T" index="1">
<YEAR>2013</YEAR>
<MONTH>03</MONTH>
<DAY>19</DAY>
<HOUR>07</HOUR>
<MINUTE>51</MINUTE>
<SECOND>56</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
</CNTROLAREA>
<DATAAREA>
<PROCESS_PO>
<POORDERHDR>
<DATETIME qualifier="DOCUMENT" type="T" index="1">
<YEAR>2013</YEAR>
<MONTH>03</MONTH>
<DAY>19</DAY>
<HOUR>07</HOUR>
<MINUTE>51</MINUTE>
<SECOND>47</SECOND>
<SUBSECOND>0000</SUBSECOND>
<TIMEZONE>-0500</TIMEZONE>
</DATETIME>
<OPERAMT qualifier="EXTENDED" type="T">
<VALUE>1578</VALUE>
<NUMOFDEC/>
<SIGN>+</SIGN>
<CURRENCY>USD</CURRENCY>
<UOMVALUE>1</UOMVALUE>
<UOMNUMDEC>0</UOMNUMDEC>
<UOM/>
</OPERAMT>
<POID>500378</POID>
<POTYPE>STANDARD</POTYPE>
<ACKREQUEST>D</ACKREQUEST>
<CONTRACTB/>
<CONTRACTS/>
<DESCRIPTN/>
<NOTES index="1"/>
<PORELEASE/>
Edited by: 957748 on Apr 2, 2013 12:50 PM
Edited by: 957748 on Apr 2, 2013 12:51 PM -
Receiving PDF files over AS2 in 11g
Hi,
We are in the process of setting up Oracle B2B for EDI transmissions.
For one of the trading partners we have successfully set up ASN over AS2.
Doc Protocol - OAG
Document Type - SHOW_SHIPMENT_005
Once the partner receives the ASN, they send the shipping labels back in PDF format over AS2.
A custom document type has been defined in B2B for document identification and that seems to be working fine.
But when the document is downloaded to a folder it always appears to be blank.
Is this the right way to receive PDF (binary) files in B2B.
TIA,Oracle B2B can send binary files over AS2 but can not receive a binary document over AS2. You may use FILE/FTP/SFTP for such requirement. Raise an enhancement request with Product Development if you have a strong use case.
You may also receive the binary content in a XML wrapped in CDATA tag at Oracle B2B, so I think this can be one of the considerable approach.
Regrads,
Anuj -
we have a business case where a flat file needs to be transfered over AS2 to Trading partner, we followed the below mention steps but the file is not getting polled
use case: BPEL generated an txt file on SOA server, we need a TPA that polls the file and send the file over AS2 to the third party.
Steps followed:
1) Created a custom document defination to uniquly identify the file
2) Created the Tarading partner
3)Created the TPA
4) Associated the custome Document defination to the TPA
5) Configured the chancel as AS2
Noticed that the files were not getting transfered from SOA server. What can be the potential issue? I suspect that the TPA is not aware of the File location and it's not able to poll the fileHi Anuj,
I see that the file is picked up and the data is present in B2b_APP_Message table and i also see the below error in log files. All i need now is to send the data that has been picked up by IDC to Third party system using AS2, Please note that the transaction is outbound and not inbound to b2b.
<Nov 1, 2012 7:03:20 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
<Nov 1, 2012 7:03:25 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
<Nov 1, 2012 7:03:30 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
<Nov 1, 2012 7:03:35 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
<Nov 1, 2012 7:03:40 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
<Nov 1, 2012 7:03:45 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
<Nov 1, 2012 7:03:50 PM PDT> <Error> <oracle.soa.b2b.transport> <BEA-000000> <FileSourceMonitor.processMessages(): Warning: EMULCORP.ARP.POSPAY.20121101.130837.11888.dat has zero byte. Skip it.>
Edited by: 967282 on Nov 2, 2012 10:03 AM -
Does anyone know how to translate this code into AS2? My client can't support AS3.
var exitTimer:Timer = new Timer(15000, 1);
exitTimer.addListener(TimerEvent.TIMER, jump);
function jump(event:TimerEvent):void {
gotoAndStop("Scene 1")
exitTimer.start();
Thank you!I put the wrong script in. This is the one I'm trying to convert from AS3 to AS2. Do I still use the setTimeout function or is the getTimer function more appropriate?
var exitTimer:Timer = new Timer(15000, 1);
exitTimer.addListener(TimerEvent.TIMER, jump);
function jump(event:TimerEvent):void {
navigateToURL(new URLRequest("http://www.url.com"));
exitTimer.start(); -
Is there any white paper/tutorials for setting up X12 over AS2 with a certificate and private key.
I am not familiar with the oracle wallet etc... So any help would be appreciated.Hello,
Please import the X12 tutorial which is shipped with the product in respective buyer and seller machine . Follow the write up on security.
http://rameshnittursblog.blogspot.com/2007/08/oracle-as-b2b-security-how-to.html
Please let us know if you have specific questions.
Rgds,Ramesh -
Hi
I'm a realtively new user of Flash CS3 Pro and am trying to
figure out how to create a quiz that uses Likert scale questions
and answers (quiz-taker can choose from 5 answer choices for each
question/statement, based on their agreement or disagreent with a
statement, each choice having a different score from 1 to 5 points:
strongly disagree=1, disagree=2, neither agree nor disgaree=3,
agree=4 and strongly agree=5).
The quiz would have 8 questions/statements, each with their 5
choices and the total score would be the addition of all 8 choices
in terms of their point values (1-5).
As a newbie, this is beyond my AS skills, especially using
the newer AS3, though AS2 is also a significant challenge.
I would be grateful for any help, especially a sample script
that I can adapt to the task.
Kind Regards,
saratogacoachOK so having had a play around it seems that a simple option is:
Use transparent buttons with a 3px stroke
Inside and under each transparent button put a green circle
Group the circles
Whenever a button is pressed hide the circle group then make the single green circle corresponding to that button visible
Clear and assign a variable with a value associated to that button
This seems quite simple. Provided I can capture the variable values using the captivate to google spreedsheet widget it will work for me.
Maybe you are looking for
-
black line in the middle of IPad
-
Display multiple choice column selections on a separate line in the body of email
This question could have been answered elsewhere and I just don't realize it. I have a SharePoint Foundation 2010 form (11 columns) that has one choice column allowing the user to select multiple options (checkboxes). The selections have been typed i
-
Itunes upload error code "4002"
When I want to upload my music to the Itunes store, I get an error code "4002" What can I do about that?
-
IPhoto Editing Photos disappear
When enhancing or editing photos in iPhoto 09 and Snow Leopard, the screen becomes blank. I need to click "done" to return to the photo library. This has made editing photos very tedious! I have: 1. Rebuilt the library 2. removed the library preferen
-
Creatinga Work Order from Function Builder
Hi I am trying to create a work order using BAPI_ALM_ORDER_MAINTAIN in Function Builder. I have filled out the IT_METHODS the IT_HEADER and the IT_OPERATION values and I am getting back results in the RETURN field when I execute the BAPI in Function