SOAP and Java within an Application Package

We are doing an integration with Oracle Content Server. We have successfully checked in reports by sending a SOAP with attachments message in the application package PSRF_REPORT_CREATE calling custom Java methods.
All is well, until we try and receive the SOAP response, in which nothing happens. After we call the checkin.SendMessage (our java method to checkin a report), we use the following generic PeopleCode insert statement just to test if the next line of the code is executing...
SQLExec("INSERT INTO UCM_CHECKINLOG VALUES (1234, 'test')");
This does not update our database, and it looks as if it is not even executing. We have also tried logging to a test file, but this fails to run as well. If it is directly after our soap request, why would it not run? Is there something we need to do to tell the system to wait for the response before commencing?
Any help would be much appreciated.

Just to make sure I understand the question... You customized the PSRF_REPORT_CREATE.CreateReport PeopleCode by adding some Java (JavaObject, etc). Is checkin your custom Java object with SendMessage being a method of that object? Are you using a Java SOAP client, like Axis2, to communicate with the Oracle Content Server or are you using Integration Broker? Again, just to verify, you are calling a Java method called "SendMessage." You can tell this is executing because you can see changes in your Oracle Content Server. However, as far as you can tell, no statements after that statement are executing. Is this correct?

Similar Messages

  • Problem with JSP and Java Servlet Web Application....

    Hi every body....
    I av developed a web based application with java (jsp and Java Servlets)....
    that was working fine on Lane and Local Host....
    But when i upload on internet with unix package my servlets and Java Beans are not working .....
    also not access database which i developed on My Sql....
    M using cpanel support on web server
    Plz gave me solution...
    Thanx looking forward Adnan

    You need to elaborate "not working" in developer's perspective instead of in user's perspective.

  • The Process of Creating Pages and Regions within an Application

    Hi,
    Not sure if possible within Apex 2.2.1 but thought I'd ask whether there are any APIs available by where a page within an application together with a region could be created dynamically?
    Thanks.
    Tony.

    As is usual with this kind of thing the answer is of course no, and yes. You can't really generate ApEx regions or pages dynamically, since they are stored in the database along with all their items.
    However, as you probably know, you can show/hide regions conditionally and you can also create PL/SQL dynamic content regions. These are basically PL/SQL code that generates HTML output and you can do pretty much whatever you have the patience for with that option. Of course, you might end up losing some of the other niceties that ApEx provides - but that's maybe a fair tradeoff for having total control.
    Earl

  • SOAP and java problem....create SOAPMessage from file. Extremely important!

    Hi,
    I've got a problem related to usage of SOAP in Java. I receive a file containing SOAP message with XML attachment. I store it on hard disk.
    Then I create a SOAP message as it is shown in source code below.
    When I try to get the attachment, the method doesn't return anything.
    If I pass to method createMessage value null instead of new MimeHeaders(), the result is the same.
    What can be the problem? How to solve it? Any idea?
    Looking forward any support.
    BR,
    rafikoko
    MessageFactory factory = MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage(new MimeHeaders(), new FileInputStream(xmlFile));
    Iterator attachments = message.getAttachments();
    log4j.error("TEST:before while:"+message.countAttachments());
    while(attachments.hasNext()){
    log4j.error("TEST:while");
    Object finvoice = attachments.next();
    log4j.error("TEST:Finvoice:"+finvoice);
    }

    I attach also a SOAP message. Perhaps it will help you.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
    <SOAP-ENV:Header>
    <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
    SOAP-ENV:mustUnderstand="1" eb:id="20030222133003285">
        <eb:From>
           <eb:PartyId>FI9859292720000267</eb:PartyId>
           <eb:Role>Sender</eb:Role>
        </eb:From>
        <eb:From>
           <eb:PartyId>OKOYFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:From>
        <eb:To>
           <eb:PartyId>FI3329501800008512</eb:PartyId>
           <eb:Role>Receiver</eb:Role>
        </eb:To>
        <eb:To>
           <eb:PartyId>NDEAFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:To>
    <eb:CPAId>yoursandmycpa</eb:CPAId>
    <eb:ConversationId>nnnnn</eb:ConversationId>
    <eb:Service>Routing</eb:Service>
    <eb:Action>ProcessInvoice</eb:Action>
    <eb:MessageData>
         <eb:MessageId>1</eb:MessageId>
         <eb:Timestamp>2003-01-22T11:12:12+02</eb:Timestamp>
         <eb:RefToMessageId/>
    </eb:MessageData>
    </eb:MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <eb:Manifest eb:id="Manifest" eb:version="2.0">
    <eb:Reference eb:id="Finvoice" xlink:href="20020209-133003">
    <eb:schema eb:location="http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
    </eb:Reference>
    </eb:Manifest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Jussi Paasikallio (OKOBANK Group) -->
    <!--Sample XML file generated by XML Spy v4.2 U (http://www.xmlspy.com)-->
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    <?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
    <!--Finvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\l\finvoice\Finvoice.xsd" Version="1.0"-->
    <Finvoice Version="1.0">
         <SellerPartyDetails>
              <SellerPartyIdentifier>0123456-7</SellerPartyIdentifier>
              <SellerOrganisationName>Pullin Kala Oy</SellerOrganisationName>
              <SellerOrganisationTaxCode>0123456-7</SellerOrganisationTaxCode>
              <SellerPostalAddressDetails>
                   <SellerStreetName>Haapatie 7</SellerStreetName>
                   <SellerTownName>Helsinki</SellerTownName>
                   <SellerPostCodeIdentifier>00100</SellerPostCodeIdentifier>
                   <CountryCode>FI</CountryCode>
                   <CountryName>FINLAND</CountryName>
                   <SellerPostOfficeBoxIdentifier>PL 302</SellerPostOfficeBoxIdentifier>
              </SellerPostalAddressDetails>
         </SellerPartyDetails>
         <SellerContactPersonName>Hanna Paananen</SellerContactPersonName>
         <SellerCommunicationDetails>
              <SellerPhoneNumberIdentifier>050-5432659</SellerPhoneNumberIdentifier>
              <SellerEmailaddressIdentifier>[email protected]</SellerEmailaddressIdentifier>
         </SellerCommunicationDetails>
         <SellerInformationDetails>
              <SellerHomeTownName>Helsinki</SellerHomeTownName>
              <SellerVatRegistrationText>Alv.Rek</SellerVatRegistrationText>
              <SellerVatRegistrationDate Format="CCYYMMDD">19990321</SellerVatRegistrationDate>
              <SellerPhoneNumber>(09) 542 1222</SellerPhoneNumber>
              <SellerFaxNumber>(09) 542 2221</SellerFaxNumber>
              <SellerCommonEmailaddressIdentifier>[email protected]</SellerCommonEmailaddressIdentifier>
              <SellerWebaddressIdentifier>www.pullinkala.fi</SellerWebaddressIdentifier>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">OKOYFIHH</SellerBic>
              </SellerAccountDetails>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">NDEAFIHH</SellerBic>
              </SellerAccountDetails>
         </SellerInformationDetails>
         <BuyerPartyDetails>
              <BuyerPartyIdentifier>CL12221</BuyerPartyIdentifier>
              <BuyerOrganisationName>Kalakauppa Vilkkunen</BuyerOrganisationName>
              <BuyerPostalAddressDetails>
                   <BuyerStreetName>Haapatie 1</BuyerStreetName>
                   <BuyerTownName>Helsinki</BuyerTownName>
                   <BuyerPostCodeIdentifier>00211</BuyerPostCodeIdentifier>
                   <CountryCode/>
                   <CountryName/>
                   <BuyerPostOfficeBoxIdentifier/>
              </BuyerPostalAddressDetails>
         </BuyerPartyDetails>
         <BuyerContactPersonName>Maija Vikkunen</BuyerContactPersonName>
         <BuyerCommunicationDetails>
              <BuyerPhoneNumberIdentifier>(09)221222</BuyerPhoneNumberIdentifier>
              <BuyerEmailaddressIdentifier>[email protected]</BuyerEmailaddressIdentifier>
         </BuyerCommunicationDetails>
         <InvoiceDetails>
              <InvoiceTypeCode>INV01</InvoiceTypeCode>
              <InvoiceTypeText>LASKU</InvoiceTypeText>
              <OriginCode>Origin</OriginCode>
              <InvoiceNumber>1/2002</InvoiceNumber>
              <InvoiceDate Format="CCYYMMDD">20020612</InvoiceDate>
              <SellerReferenceIdentifier>212</SellerReferenceIdentifier>
              <OrderIdentifier>TI0988</OrderIdentifier>
              <InvoiceTotalVatExcludedAmount AmountCurrencyIdentifier="EUR">100,00</InvoiceTotalVatExcludedAmount>
              <InvoiceTotalVatAmount AmountCurrencyIdentifier="EUR">22,00</InvoiceTotalVatAmount>
              <InvoiceTotalVatIncludedAmount AmountCurrencyIdentifier="EUR">122,00</InvoiceTotalVatIncludedAmount>
              <ShortProposedAccountIdentifier>9922</ShortProposedAccountIdentifier>
              <NormalProposedAccountIdentifier>8822</NormalProposedAccountIdentifier>
              <AccountDimensionText>4500</AccountDimensionText>
              <VatSpecificationDetails>
                   <VatBaseAmount AmountCurrencyIdentifier="EUR">100,00</VatBaseAmount>
                   <VatRatePercent>22</VatRatePercent>
                   <VatRateAmount AmountCurrencyIdentifier="EUR">22,00</VatRateAmount>
              </VatSpecificationDetails>
              <PaymentTermsDetails>
                   <PaymentTermsFreeText>14 p�iv�� netto</PaymentTermsFreeText>
                   <PaymentOverDueFineDetails>
                        <PaymentOverDueFineFreeText>Yliaikakorko 16%</PaymentOverDueFineFreeText>
                        <PaymentOverDueFinePercent>16</PaymentOverDueFinePercent>
                   </PaymentOverDueFineDetails>
              </PaymentTermsDetails>
         </InvoiceDetails>
         <PaymentStatusDetails>
              <PaymentStatusCode>NOTPAID</PaymentStatusCode>
         </PaymentStatusDetails>
         <VirtualBankBarcode>250003210002229000122000000000000000862074102062800009</VirtualBankBarcode>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>TUURA</ArticleName>
              <BuyerArticleIdentifier>1232321232332</BuyerArticleIdentifier>
              <DeliveredQuantity QuantityUnitCode="Kpl">10</DeliveredQuantity>
              <OrderedQuantity QuantityUnitCode="Kpl">10</OrderedQuantity>
              <UnitPriceAmount AmountCurrencyIdentifier="EUR" UnitPriceUnitCode="e/kpl">5,00</UnitPriceAmount>
              <RowIdentifier>221</RowIdentifier>
              <RowIdentifierDate Format="CCYYMMDD">20020611</RowIdentifierDate>
              <RowDeliveryDate Format="CCYYMMDD">20020615</RowDeliveryDate>
              <RowShortProposedAccountIdentifier>9922</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8822</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowFreeText>Tuurat myyd��n varsien kanssa.</RowFreeText>
              <RowDiscountPercent>0</RowDiscountPercent>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>HUOLLON VUOSIMAKSU</ArticleName>
              <StartDate Format="CCYYMMDDHHMMSS">20020611000000</StartDate>
              <EndDate Format="CCYYMMDDHHMMSS">2003062011000000</EndDate>
              <RowShortProposedAccountIdentifier>9923</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8823</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <EpiDetails>
              <EpiIdentificationDetails>
                   <EpiDate Format="CCYYMMDD">20020612</EpiDate>
                   <EpiReference>1</EpiReference>
              </EpiIdentificationDetails>
              <EpiPartyDetails>
                   <EpiBfiPartyDetails>
                        <EpiBfiIdentifier IdentificationSchemeName="BIC">OKOYFIHH</EpiBfiIdentifier>
                   </EpiBfiPartyDetails>
                   <EpiBeneficiaryPartyDetails>
                        <EpiNameAddressDetails>Pullin Kala</EpiNameAddressDetails>
                        <EpiAccountID IdentificationSchemeName="IBAN">FI1234567890123456</EpiAccountID>
                   </EpiBeneficiaryPartyDetails>
              </EpiPartyDetails>
              <EpiPaymentInstructionDetails>
                   <EpiRemittanceInfoIdentifier>8620741</EpiRemittanceInfoIdentifier>
                   <EpiInstructedAmount AmountCurrencyIdentifier="EUR">122,00</EpiInstructedAmount>
                   <EpiCharge ChargeOption="SHA">SHA</EpiCharge>
                   <EpiDateOptionDate Format="CCYYMMDD">20020628</EpiDateOptionDate>
              </EpiPaymentInstructionDetails>
         </EpiDetails>
    </Finvoice>

  • SOAP and java problem....create SOAPMessage from file

    Hi,
    I've got a problem related to usage of SOAP in Java. I receive a file containing SOAP message with XML attachment. I store it on hard disk.
    Then I create a SOAP message as it is shown in source code below.
    When I try to get the attachment, the method doesn't return anything.
    If I pass to method createMessage value null instead of new MimeHeaders(), the result is the same.
    What can be the problem? How to solve it? Any idea?
    Looking forward any support.
    BR,
    rafikoko
    MessageFactory factory = MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage(new MimeHeaders(), new FileInputStream(xmlFile));
    Iterator attachments = message.getAttachments();
    log4j.error("TEST:before while:"+message.countAttachments());
    while(attachments.hasNext()){
    log4j.error("TEST:while");
    Object finvoice = attachments.next();
    log4j.error("TEST:Finvoice:"+finvoice);
    }

    I attach also a SOAP message. Perhaps it will help you.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
    <SOAP-ENV:Header>
    <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
    SOAP-ENV:mustUnderstand="1" eb:id="20030222133003285">
        <eb:From>
           <eb:PartyId>FI9859292720000267</eb:PartyId>
           <eb:Role>Sender</eb:Role>
        </eb:From>
        <eb:From>
           <eb:PartyId>OKOYFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:From>
        <eb:To>
           <eb:PartyId>FI3329501800008512</eb:PartyId>
           <eb:Role>Receiver</eb:Role>
        </eb:To>
        <eb:To>
           <eb:PartyId>NDEAFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:To>
    <eb:CPAId>yoursandmycpa</eb:CPAId>
    <eb:ConversationId>nnnnn</eb:ConversationId>
    <eb:Service>Routing</eb:Service>
    <eb:Action>ProcessInvoice</eb:Action>
    <eb:MessageData>
         <eb:MessageId>1</eb:MessageId>
         <eb:Timestamp>2003-01-22T11:12:12+02</eb:Timestamp>
         <eb:RefToMessageId/>
    </eb:MessageData>
    </eb:MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <eb:Manifest eb:id="Manifest" eb:version="2.0">
    <eb:Reference eb:id="Finvoice" xlink:href="20020209-133003">
    <eb:schema eb:location="http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
    </eb:Reference>
    </eb:Manifest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Jussi Paasikallio (OKOBANK Group) -->
    <!--Sample XML file generated by XML Spy v4.2 U (http://www.xmlspy.com)-->
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    <?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
    <!--Finvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\l\finvoice\Finvoice.xsd" Version="1.0"-->
    <Finvoice Version="1.0">
         <SellerPartyDetails>
              <SellerPartyIdentifier>0123456-7</SellerPartyIdentifier>
              <SellerOrganisationName>Pullin Kala Oy</SellerOrganisationName>
              <SellerOrganisationTaxCode>0123456-7</SellerOrganisationTaxCode>
              <SellerPostalAddressDetails>
                   <SellerStreetName>Haapatie 7</SellerStreetName>
                   <SellerTownName>Helsinki</SellerTownName>
                   <SellerPostCodeIdentifier>00100</SellerPostCodeIdentifier>
                   <CountryCode>FI</CountryCode>
                   <CountryName>FINLAND</CountryName>
                   <SellerPostOfficeBoxIdentifier>PL 302</SellerPostOfficeBoxIdentifier>
              </SellerPostalAddressDetails>
         </SellerPartyDetails>
         <SellerContactPersonName>Hanna Paananen</SellerContactPersonName>
         <SellerCommunicationDetails>
              <SellerPhoneNumberIdentifier>050-5432659</SellerPhoneNumberIdentifier>
              <SellerEmailaddressIdentifier>[email protected]</SellerEmailaddressIdentifier>
         </SellerCommunicationDetails>
         <SellerInformationDetails>
              <SellerHomeTownName>Helsinki</SellerHomeTownName>
              <SellerVatRegistrationText>Alv.Rek</SellerVatRegistrationText>
              <SellerVatRegistrationDate Format="CCYYMMDD">19990321</SellerVatRegistrationDate>
              <SellerPhoneNumber>(09) 542 1222</SellerPhoneNumber>
              <SellerFaxNumber>(09) 542 2221</SellerFaxNumber>
              <SellerCommonEmailaddressIdentifier>[email protected]</SellerCommonEmailaddressIdentifier>
              <SellerWebaddressIdentifier>www.pullinkala.fi</SellerWebaddressIdentifier>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">OKOYFIHH</SellerBic>
              </SellerAccountDetails>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">NDEAFIHH</SellerBic>
              </SellerAccountDetails>
         </SellerInformationDetails>
         <BuyerPartyDetails>
              <BuyerPartyIdentifier>CL12221</BuyerPartyIdentifier>
              <BuyerOrganisationName>Kalakauppa Vilkkunen</BuyerOrganisationName>
              <BuyerPostalAddressDetails>
                   <BuyerStreetName>Haapatie 1</BuyerStreetName>
                   <BuyerTownName>Helsinki</BuyerTownName>
                   <BuyerPostCodeIdentifier>00211</BuyerPostCodeIdentifier>
                   <CountryCode/>
                   <CountryName/>
                   <BuyerPostOfficeBoxIdentifier/>
              </BuyerPostalAddressDetails>
         </BuyerPartyDetails>
         <BuyerContactPersonName>Maija Vikkunen</BuyerContactPersonName>
         <BuyerCommunicationDetails>
              <BuyerPhoneNumberIdentifier>(09)221222</BuyerPhoneNumberIdentifier>
              <BuyerEmailaddressIdentifier>[email protected]</BuyerEmailaddressIdentifier>
         </BuyerCommunicationDetails>
         <InvoiceDetails>
              <InvoiceTypeCode>INV01</InvoiceTypeCode>
              <InvoiceTypeText>LASKU</InvoiceTypeText>
              <OriginCode>Origin</OriginCode>
              <InvoiceNumber>1/2002</InvoiceNumber>
              <InvoiceDate Format="CCYYMMDD">20020612</InvoiceDate>
              <SellerReferenceIdentifier>212</SellerReferenceIdentifier>
              <OrderIdentifier>TI0988</OrderIdentifier>
              <InvoiceTotalVatExcludedAmount AmountCurrencyIdentifier="EUR">100,00</InvoiceTotalVatExcludedAmount>
              <InvoiceTotalVatAmount AmountCurrencyIdentifier="EUR">22,00</InvoiceTotalVatAmount>
              <InvoiceTotalVatIncludedAmount AmountCurrencyIdentifier="EUR">122,00</InvoiceTotalVatIncludedAmount>
              <ShortProposedAccountIdentifier>9922</ShortProposedAccountIdentifier>
              <NormalProposedAccountIdentifier>8822</NormalProposedAccountIdentifier>
              <AccountDimensionText>4500</AccountDimensionText>
              <VatSpecificationDetails>
                   <VatBaseAmount AmountCurrencyIdentifier="EUR">100,00</VatBaseAmount>
                   <VatRatePercent>22</VatRatePercent>
                   <VatRateAmount AmountCurrencyIdentifier="EUR">22,00</VatRateAmount>
              </VatSpecificationDetails>
              <PaymentTermsDetails>
                   <PaymentTermsFreeText>14 p�iv�� netto</PaymentTermsFreeText>
                   <PaymentOverDueFineDetails>
                        <PaymentOverDueFineFreeText>Yliaikakorko 16%</PaymentOverDueFineFreeText>
                        <PaymentOverDueFinePercent>16</PaymentOverDueFinePercent>
                   </PaymentOverDueFineDetails>
              </PaymentTermsDetails>
         </InvoiceDetails>
         <PaymentStatusDetails>
              <PaymentStatusCode>NOTPAID</PaymentStatusCode>
         </PaymentStatusDetails>
         <VirtualBankBarcode>250003210002229000122000000000000000862074102062800009</VirtualBankBarcode>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>TUURA</ArticleName>
              <BuyerArticleIdentifier>1232321232332</BuyerArticleIdentifier>
              <DeliveredQuantity QuantityUnitCode="Kpl">10</DeliveredQuantity>
              <OrderedQuantity QuantityUnitCode="Kpl">10</OrderedQuantity>
              <UnitPriceAmount AmountCurrencyIdentifier="EUR" UnitPriceUnitCode="e/kpl">5,00</UnitPriceAmount>
              <RowIdentifier>221</RowIdentifier>
              <RowIdentifierDate Format="CCYYMMDD">20020611</RowIdentifierDate>
              <RowDeliveryDate Format="CCYYMMDD">20020615</RowDeliveryDate>
              <RowShortProposedAccountIdentifier>9922</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8822</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowFreeText>Tuurat myyd��n varsien kanssa.</RowFreeText>
              <RowDiscountPercent>0</RowDiscountPercent>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>HUOLLON VUOSIMAKSU</ArticleName>
              <StartDate Format="CCYYMMDDHHMMSS">20020611000000</StartDate>
              <EndDate Format="CCYYMMDDHHMMSS">2003062011000000</EndDate>
              <RowShortProposedAccountIdentifier>9923</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8823</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <EpiDetails>
              <EpiIdentificationDetails>
                   <EpiDate Format="CCYYMMDD">20020612</EpiDate>
                   <EpiReference>1</EpiReference>
              </EpiIdentificationDetails>
              <EpiPartyDetails>
                   <EpiBfiPartyDetails>
                        <EpiBfiIdentifier IdentificationSchemeName="BIC">OKOYFIHH</EpiBfiIdentifier>
                   </EpiBfiPartyDetails>
                   <EpiBeneficiaryPartyDetails>
                        <EpiNameAddressDetails>Pullin Kala</EpiNameAddressDetails>
                        <EpiAccountID IdentificationSchemeName="IBAN">FI1234567890123456</EpiAccountID>
                   </EpiBeneficiaryPartyDetails>
              </EpiPartyDetails>
              <EpiPaymentInstructionDetails>
                   <EpiRemittanceInfoIdentifier>8620741</EpiRemittanceInfoIdentifier>
                   <EpiInstructedAmount AmountCurrencyIdentifier="EUR">122,00</EpiInstructedAmount>
                   <EpiCharge ChargeOption="SHA">SHA</EpiCharge>
                   <EpiDateOptionDate Format="CCYYMMDD">20020628</EpiDateOptionDate>
              </EpiPaymentInstructionDetails>
         </EpiDetails>
    </Finvoice>

  • Apache soap and java

    Hi I wanted to know which websites have Apache SOAP webservices which we can write a client for in java and implement

    First, it shouldn't matter whether they're running apache or not - that's the point of web services. Second, IBM and Microsoft have UDDI sites that list various web services. One public one I know of is google's. Is this for school?

  • Communication between SOAP and java proxy does not work

    Hi Group,
    i want to proceed following scenario:
    SOAP->XI->JavaProxy
    For that i have created of the message interface of a remote function module my java proxy.
    Calling the java proxy with following scenario works successfully:
    RFC->XI->JavaProxy
    Further, i have created in the integration engine(configuration) my wsdl file. In the SAP
    Netwaever Developer Studio, i have made a standalone proxy project, that is consuming the
    web service out of the wsdl file.
    Testing the web service client with following example works fine:
    SOAP->XI->RFC
    But when i try the scenario SOAP->XI->JavaProxy, i get following rmi exception on client side:
    java.rmi.RemoteException: Service call exception; nested exception is:
    java.lang.Exception:  Element 'Z_GPS_PING.Response' not found in response message.
    at com.demo.sap.MI_WEBSRV_GPS_PING_OUTBBindingStub.MI_WEBSRV_GPS_PING_OUTB(MI_WEBSRV_GPS_PING_OUTBBindingStub.java:86)
    at com.demo.test.TT_Pinger.main(TT_Pinger.java:36)
    Caused by: java.lang.Exception:  Element 'Z_GPS_PING.Response' not found in response message.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:942)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1231)
    at com.demo.sap.MI_WEBSRV_GPS_PING_OUTBBindingStub.MI_WEBSRV_GPS_PING_OUTB(MI_WEBSRV_GPS_PING_OUTBBindingStub.java:79)
    ... 1 more
    In the monitoring, the execution of both directions is ok. In the response message, i can see the result of the java proxy.
    Here is the result:
    <ns:Z_GPS_PING.Response xmlns:ns="urn:sap-com:document:sap:rfc:functions">
         <E_RETURNCODE>PINGOK  </E_RETURNCODE>
    </ns:Z_GPS_PING.Response>
    My first thought, was, that i have a problem with the prefix, so i have changed it via xslt transformation into "rfc",
    but it got the same error message.
    Does anyone know, which problem we have here?
    For any hint or suggestion, i would be much obliged.
    Greetings,
    Sigi
    P.S. WAS and Sap Netweave Dev Studio is on patch level 12

    Hi Group,
    the SAP has solved the Problem now.
    The coresponding OSS note is: 862926
    (release date 18.07.05)
    The reason was, that the response payload name wasn't
    "maindocument". For that, the adapter didn't found the payload and returned an emty one.
    Greetings,
    Sigi

  • SOAP and JWS - Help!!

    Hi everyone!!
    I am trying to integrate SOAP and JWS. ie the application being downloaded is a SOAP messaging application. while compiling i have SAAJ api in my classpath. while executing it, i need to have it too in my classpath. before executing the application, if i dont set the classpath, the application doesnt execute. when i do, it works. its ok when i execute the application in the command prompt bcoz i can set classpath again. but issue arises when i run this example using jws. can anybody resolve this issue?
    regards,
    Manyadeveloper

    Hi I've been dealing with this problem for a little while.
    I've got an APP that is dependant on SOAP.JAR. My appp doesn't need to be signed, but SOAP.JAR does.
    Why does it need to be signed?
    I only want to download information from the server where I started my program from. When I leave SOAP.JAR unsigned it tells me I need to input the proxy address and port.
    Any ideas?
    Thanks Martin

  • prefer-application-packages and prefer-web-inf-classes not working

    Hi,
    I'm upgrading to Weblogic 10.3.2 an application that was running quite fine in Weblogic 8. But I don't manage to get it working in WL 10. I'm getting a Class Not Found error (javax/xml/stream/XMLStreamWriter) but that class is in one of the jar files of my application: "<war-file>/WEB-INF/lib"
    It seems a class loading problem but I'm using both <prefer-application-packages> and <prefer-web-inf-classes> and it's still not working. This is my weblogic-application.xml:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-application>
    <prefer-application-packages>
    <package-name>javax.xml.stream.*</package-name>
    </prefer-application-packages>
    </weblogic-application>
    I'm deploying using an ear file wich contains a war file.
    Logs:
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamWriter
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.doLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:109)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
         at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:263)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
         at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
         ... 57 more
    Caused by: java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamWriter
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:42)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at org.apache.cxf.bus.spring.TunedDocumentLoader.loadDocument(TunedDocumentLoader.java:112)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         ... 70 more
    Caused by: java.lang.ClassNotFoundException: javax.xml.stream.XMLStreamWriter

    Hi!
    We have the jar xbean-2.2.0.jar in APP-INF/lib. That one contains the class javax.xml.namespace.NameSpaceContext. I saw that the same class was in another jar as well. I've removed it from the second jar and now it's only in the xbean-2.2.0.jar. But I still get the same error. Maybe there is something wrong in my application.xml? I have all the jars in APP-INF/lib and in <war-file>/WEB-INF/lib
    Application.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application id="Application_ID">
    <display-name>RaadgiverPM</display-name>
    <module>
    <web>
    <web-uri>rpm.war</web-uri>
    <context-root>/raadgiverPM</context-root>
    </web>
    </module>
    <library-directory>lib</library-directory>     
    </application>
    2010-09-06 11:05:07,856 735360 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient - [DELFI] Failed to initialize client at http://172.16.10.113:8090/mockRpmGrpMemberRltnpLSvo_Binding?wsdl
    java.lang.RuntimeException: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.cxf.staxutils.W3CDOMStreamWriter.getNamespaceContext()Ljavax/xml/namespace/NamespaceContext;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/W3CDOMStreamWriter, and the class loader (instance of <bootloader>) for interface javax/xml/stream/XMLStreamWriter have different Class objects for the type javax/xml/namespace/NamespaceContext used in the signature
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:96)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53)
         at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
         at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
         at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
         at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.newInstance(DynamicClientFactory.java:132)
         at groovyx.net.ws.AbstractCXFWSClient.createClient(AbstractCXFWSClient.java:198)
         at groovyx.net.ws.WSClient.initialize(WSClient.java:107)
         at groovyx.net.ws.IWSClient$initialize.call(Unknown Source)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient.initializeClient(DRWebServiceClient.groovy:47)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient$initializeClient$0.callCurrent(Unknown Source)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient.initializeClient(DRWebServiceClient.groovy:37)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient$initializeClient.callCurrent(Unknown Source)
         at no.delfidata.dr.wsclients.drwsclients.DRWebServiceClient.<init>(DRWebServiceClient.groovy:33)
         at no.delfidata.dr.wsclients.drwsclients.GenericWebServiceClient.<init>(GenericWebServiceClient.groovy:12)
         at no.delfidata.dr.drintstd.channel.GenericWSClientManager.getClient(GenericWSClientManager.java:28)
         at no.delfidata.dr.drintstd.channel.impl.WSChannelImpl.getData(WSChannelImpl.java:46)
         at no.delfidata.dr.drintstd.integrationadapter.impl.AdapterWSImportRpmGrpMemberRltnpLSvo.getDataFromChannel(AdapterWSImportRpmGrpMemberRltnpLSvo.java:74)
         at no.delfidata.dr.drintstd.integrationadapter.AbstractIntegrationAdapter.getDataImportFromChannel(AbstractIntegrationAdapter.java:232)
         at no.delfidata.dr.drintstd.integrationadapter.AbstractIntegrationAdapter.getData(AbstractIntegrationAdapter.java:173)
         at no.delfidata.dr.drintstd.integrationengine.impl.IntegrationEngineImpl.importData(IntegrationEngineImpl.java:113)
         at no.delfidata.dr.drsvcstd.integration.impl.IntegrationServiceImpl.importCustomerData(IntegrationServiceImpl.java:117)
         at no.delfidata.dr.drsvcstd.integration.impl.StartUpService.openAndImportCustomer(StartUpService.java:81)
         at no.delfidata.dr.drstdgui.gui.control.ReceivingServletAction.execute(ReceivingServletAction.java:135)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at no.delfidata.dr.drbasis.gui.filter.MenuFilter.doFilter(MenuFilter.java:78)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at no.delfidata.common.gui.filter.SecurityFilter.doFilter(SecurityFilter.java:265)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [META-INF/cxf/cxf.xml]; nested exception is java.lang.LinkageError: loader constraint violation
    in interface itable initialization: when resolving method "org.apache.cxf.staxutils.W3CDOMStreamWriter.getNamespaceContext()Ljavax/xml/namespace/NamespaceContext;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/W3CDOMStreamWriter, and the class loader (instance of <bootloader>)
    for interface javax/xml/stream/XMLStreamWriter have different Class objects for the type javax/xml/namespace/NamespaceContext used in the signature
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.doLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:109)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
         at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
         at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:263)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
         at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)
         at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
         at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
         ... 48 more
    Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "org.apache.cxf.staxutils.W3CDOMStreamWriter.getNamespaceContext()Ljavax/xml/namespace/NamespaceContext;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/apache/cxf/staxutils/W3CDOMStreamWriter, and the class loader (instance of <bootloader>) for interface javax/xml/stream/XMLStreamWriter have different Class objects for the type javax/xml/namespace/NamespaceContext used in the signature
         at org.apache.cxf.bus.spring.TunedDocumentLoader.loadDocument(TunedDocumentLoader.java:112)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         ... 61 more

  • JAVA application packaged as an EAR

    we are upgrading our system to Oracle 12i and we have a custom java application that access the Oracle API. As part of this upgrade we have to deploy our JAVA application packaged as an EAR file to OC4J that comes with Oracle EBS. All we need is sequence of steps/ some document that will help us deploy our JAVA application(EAR file) to OC4J server.
    1. Can we create another instance of OC4j in Oracle 12i(12.1.3)?
    2. Will there be any integrity issue if we deploy ear file to Oacore/Forms/OAFM oc4j instance integrated with R12? or Do we need to create a new instance?
    3. I was told by the support engineer that there is no EM console for oc4j integrated with R12, so is there any script provided by oracle to do any ear deployment?

    1. Can we create another instance of OC4j in Oracle 12i(12.1.3)?
    2. Will there be any integrity issue if we deploy ear file to Oacore/Forms/OAFM oc4j instance integrated with R12? or Do we need to create a new instance?I do not think it is supported -- Please log a SR to confirm with Oracle support.
    3. I was told by the support engineer that there is no EM console for oc4j integrated with R12, so is there any script provided by oracle to do any ear deployment?Please see (Deploying a New Forms .ear File in Oracle Applications Release 12 [ID 397174.1]).
    Thanks,
    Hussein

  • Big ANE causes java.lang.OutOfMemoryError when packaging Air application

    Hi,
    I'm working on an Air mobile game that uses ANE on iOS and Android. I'm in the process of creating a new ANE and face a problem on the Android side.
    My ANE requires an external framework (Burstly, http://burstly.com). If I just link the Android project to Burstly's .jar file, I get errors in "adb logcat", like:
    I/dalvikvm(16074): Could not find method com.burstly.lib.BurstlySdk.init, referenced from method com.freshplanet.burstly.functions.InitBurstlyFunction.call
    In order to include Burstly's files in my own .jar, I unzip Burstly's .jar file and repackage them with my compiled code in a unique .jar (following advice on http://stackoverflow.com/questions/7732742/air-3-native-extensions-for-android-can-i-how-t o-include-3rd-party-libraries).
    Problem: Burstly's SDK includes thousands of files. It doesn't create any trouble when packaging the ANE, but when I try to package the Air application, I get the following error:
    dx tool failed:
    UNEXPECTED TOP-LEVEL ERROR:
    java.lang.OutOfMemoryError: Java heap space
              at com.android.dx.util.IntList.<init>(IntList.java:87)
              at com.android.dx.rop.code.RopMethod.calcPredecessors(RopMethod.java:174)
              at com.android.dx.rop.code.RopMethod.labelToPredecessors(RopMethod.java:95)
              at com.android.dx.ssa.back.IdenticalBlockCombiner.process(IdenticalBlockCombiner.java:74)
              at com.android.dx.ssa.back.SsaToRop.convert(SsaToRop.java:132)
              at com.android.dx.ssa.back.SsaToRop.convertToRopMethod(SsaToRop.java:76)
              at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:103)
              at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:74)
              at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
              at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
              at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
              at com.android.dx.command.dexer.Main.processClass(Main.java:299)
              at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
              at com.android.dx.command.dexer.Main.access$100(Main.java:56)
              at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
              at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
              at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
              at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
              at com.android.dx.command.dexer.Main.processOne(Main.java:247)
              at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
              at com.android.dx.command.dexer.Main.run(Main.java:139)
              at com.android.dx.command.dexer.Main.main(Main.java:120)
              at com.android.dx.command.Main.main(Main.java:89)
    I read that the solution to eliminate this error is to give Java the parameters "-Xms...M -Xmx...M", with "..." being a high-enough number. Note that I'm working on a machine with 8GB of RAM. I tried to package the app in command line to be able to pass these parameters:
    /usr/bin/java -Xms512M -Xmx4096M -jar "/Applications/Adobe Flash Builder 4.6/sdks/4.6.0air31/lib/adt.jar" -package -target apk -storetype pkcs12 -keystore [...].p12 Main.apk Main-app.xml Main.swf -extdir "/Users/alex/Documents/Adobe Flash Builder 4.6/.metadata/.plugins/com.adobe.flexbuilder.project.ui/ANEFiles/front-end-mobile/com.ado be.flexide.multiplatform.ios.platform"
    But when I run a "ps -ef | grep java", I can see that adt runs another Java program (dx) without transmitting my -Xms -Xmx parameters:
    /usr/bin/java -jar /Applications/Adobe Flash Builder 4.6/sdks/4.6.0air31/lib/android/bin/dx.jar --dex --output=/private/var/folders/t9/3kw74cx14nv2xg9tgmx9m1jc0000gp/T/b5757d93-1e93-439c-8f6d -c93e4933f6f1/outputDEX.dex [... bunch of jars]
    Any idea to solve this issue?
    Thanks
    Alex

    I solved my issue by setting the _JAVA_OPTIONS environment variable. (Note: there are two underscores)
    I added the following line to my .bash_profile:
    export _JAVA_OPTIONS="-Xms1024m -Xmx4096m -XX:MaxPermSize=512m"
    Now everytime a Java program is launched from the command line, I see the following message:
    Picked up _JAVA_OPTIONS: -Xms1024m -Xmx4096m -XX:MaxPermSize=512m
    And my application packaging runs just fine now.
    I still have an issue though: this trick solved the problem for packaging the app from the command line, but the _JAVA_OPTIONS are not picked up when packaging from Flash Builder, so it still crashes there.
    Note that my Adobe Flash Builder 4.6.ini contains the following options:
    -Xms512m
    -Xmx1676m
    -XX:MaxPermSize=512m
    -XX:PermSize=64m
    1676m is the highest number I can put before Flash Builder refuses to launch. I'm not sure if these parameters are actually passed to the VM that runs de dx.jar program, or if it's just for the ActionScript compiler. But anyway my app packaging still crashes in Flash Builder.
    If someone knows a way to force Flash Builder to pickup the _JAVA_OPTIONS set in the command line, let me know :-)
    Thanks
    Alex

  • Weblogic-application.xml and prefer-application-packages tag issue.

    Hi All,
    To solve one of the issue I have mentioned already in
    http://forums.bea.com/bea/thread.jspa?threadID=300000394 post.
    I am planning to use prefer-application-packages tag in weblogic-application.xml but it says XML is invalid and shows following error in workshop 9.2.1.
    Severity     Description     Resource     In Folder     Location     Creation Time     Id
    2     cvc-complex-type.2.4.a: Invalid content was found starting with element 'wls:prefer-application-packages'. One of '{"http://www.bea.com/ns/weblogic/90":library-ref, "http://www.bea.com/ns/weblogic/90":fair-share-request, "http://www.bea.com/ns/weblogic/90":response-time-request, "http://www.bea.com/ns/weblogic/90":context-request, "http://www.bea.com/ns/weblogic/90":max-threads-constraint, "http://www.bea.com/ns/weblogic/90":min-threads-constraint, "http://www.bea.com/ns/weblogic/90":capacity, "http://www.bea.com/ns/weblogic/90":work-manager, "http://www.bea.com/ns/weblogic/90":application-admin-mode-trigger, "http://www.bea.com/ns/weblogic/90":session-descriptor, "http://www.bea.com/ns/weblogic/90":library-context-root-override}' is expected.     weblogic-application.xml     wivApp/EarContent/META-INF     line 22     June 13, 2007 9:12:51 AM     191
    This is my weblogic-application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <wls:application-param>
    <wls:param-name>webapp.encoding.default</wls:param-name>
    <wls:param-value>UTF-8</wls:param-value>
    </wls:application-param>
    <wls:library-ref>
    <wls:library-name>beehive-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>wls-commonslogging-bridge</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>weblogic-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:prefer-application-packages>
         <wls:package-name>org.apache.log4j.*</wls:package-name>
    </wls:prefer-application-packages>
    </wls:weblogic-application>

    Hi Hitesh,
    Got the same problem.
    What I did to fix it was to switch both declarations :
    Before :
    http://www.bea.com/ns/weblogic/90
    http://www.bea.com/ns/weblogic/90/weblogic-application.xsd
    After :
    http://www.bea.com/ns/weblogic/90/weblogic-application.xsd http://www.bea.com/ns/weblogic/90
    And the Workshop error's gone.
    Note that I don't think it would have prevented your filtering class loader from working.
    Regards

  • Difference between prefer-application-packages in weblogic.xml and weblogic-application.xml?

    Hi!
    When deploying a WAR to WebLogic 10.3.5, what is the difference between the prefer-application-packages element in the files weblogic.xml and weblogic-application.xml?
    In my WARs WEB-INF/lib/ I have a JAR that contains classes that are already provided by the container (but older versions).
    If I do not use prefer-application-packages then my app gets the classes provided by the container.
    If I use prefer-application-packages in weblogic.xml then I get the classes from WAR/WEB-INF/lib which is expected.
    But if I use prefer-application-packages in weblogic-application.xml then I get the container versions. Why?
    Is there a difference between those two options?
    The exact data I use is:
    (foo.bar.* is the conflicting package; I add or remove the linex marked with XXXX)
    WEB-INF/weblogic.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
        xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
        <wls:container-descriptor>
            <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled>
            <wls:prefer-application-packages> <!-- XXXX -->
                <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX -->
            </wls:prefer-application-packages> <!-- XXXX -->
            <wls:prefer-application-resources>
                <wls:resource-name>META-INF/services/some....</wls:resource-name>
                <wls:resource-name>META-INF/services/unrelated...</wls:resource-name>
                <wls:resource-name>META-INF/services/stuff...</wls:resource-name>
            </wls:prefer-application-resources>
        </wls:container-descriptor>
        <wls:jsp-descriptor>
            <wls:page-check-seconds>-1</wls:page-check-seconds>
            <wls:precompile>true</wls:precompile>
            <wls:precompile-continue>true</wls:precompile-continue>
            <wls:keepgenerated>true</wls:keepgenerated>
        </wls:jsp-descriptor>
        <wls:session-descriptor>
            <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type>
        </wls:session-descriptor>
    </wls:weblogic-web-app>
    META-INF/weblogic-application.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-application
        xmlns="http://xmlns.oracle.com/weblogic/weblogic-application"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">
        <application-param>
            <param-name>webapp.encoding.default</param-name>
            <param-value>UTF-8</param-value>
        </application-param>
        <xml>
            <parser-factory>
                <saxparser-factory>
                    org.apache.xerces.jaxp.SAXParserFactoryImpl
                </saxparser-factory>
                <document-builder-factory>
                    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
                </document-builder-factory>
                <transformer-factory>
                    org.apache.xalan.processor.TransformerFactoryImpl
                </transformer-factory>
            </parser-factory>
        </xml>
        <prefer-application-packages>
            <package-name>foo.bar.*</package-name> <!-- XXXX -->
            <package-name>javax.jws.*</package-name>
            <package-name>javax.xml.ws.*</package-name>
            <package-name>org.apache.cxf.*</package-name>
            <package-name>antlr.*</package-name>
            <package-name>org.xmlsoap.schemas.wsdl.*</package-name>
        </prefer-application-packages>
    </weblogic-application>

    weblogic-application.xml has no meaning in WARs, it is only used in EARs.

  • What is the diffrence between package javax.sql and java.sql

    Is javax designed for J2EE?
    And when to use package javax?

    Hi,
    What is the diffrence between package javax.sql and java.sql?The JDBC 2.0 & above API is comprised of two packages:
    1.The java.sql package and
    2.The javax.sql package.
    java.sql provides features mostly related to client
    side database functionalities where as the javax.sql
    package, which adds server-side capabilities.
    You automatically get both packages when you download the JavaTM 2 Platform, Standard Edition, Version 1.4 (J2SETM) or the JavaTM 2, Platform Enterprise Edition, Version 1.3 (J2EETM).
    For further information on this please visit our website at http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Systems
    http://www.sun.com/developers/support/

  • SSO between Portal and Java WD application

    Hi Experts,
    I am using CE 7.2 on localhost and I am very new to SAP.
    I need to know how can I get SSO between Portal and Java WD.  I have a WD application that displays the logged in user using "IUser currentUser = WDClientUser.getCurrentUser().getSAPUser()", as well I can use "IUser user = UMFactory.getAuthenticator().getLoggedInUser()".  Both work.
    Q1. What is the difference in the 2 above?
    Q2. My WD application is set to authenticate user.  The WD application is in URL iView.  I need SSO between Portal and WD application.   Is there a way to get this SSO without SAP Backend (ECC), for now I just need SSO between Portal and Java WD appl.
    Everything is in localhost.
    Please advice. Thanks.

    > need to know how can I get SSO between Portal and Java WD.
    Then I suggest you ask your question in the Web Dynpro Java forum instead of the Web Dynpro ABAP one.

Maybe you are looking for

  • Can't get rid of photo album from computer

    My phone has a photo stream album from computer that I cannot get rid of.  I have removed the folder containing the photos from my computer.  Removed all backups in itunes.  The box in the itunes sync for photos has never been checked.  I have syncd

  • IPad not connecting to AirPrint

    I've been searching for weeks for a solution that will allow us to use iPad or iPod Touch to print at home.  MacBook Air (mid-2012) connected to Canon MX870 printer via WiFi.  I've tried Lantronix's xPrintServer and Printopia.  The Lantronix device c

  • NPE error when navigating to next page based on lov selection

    hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR {code} <DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, fo

  • Bold 9780 v6.0.0.448 / Unattended reboot under bad communication conditions !

    My Bold 9780 frequently REBOOT when I am using the underground PARISian transport. I noticed that, most of the case, it happens when the communication channel looks weak...ORANGE is a very BAD communication provider as I never had those trouble with

  • Flash CS 3 Layering issue (in the application)

    Hello, I'm having trouble with Flash CS3, and I have never had this problem with the tools before in Flash until CS3 came about. As much as I love being able to undock things, position them where I want, etc. , I just feel that the panels are ineffic