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>

Similar Messages

  • 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>

  • Can't Create PDF "from file" using any MS Office files

    Acrobat 8.1.1 Pro. (OS = XP), as part of the CS3 premium edition.
    I can no longer get Acrobat to recognize any of the MS Office applications extensions (.doc, .ppt, etc...) for use with either Create PDF "From File" or when using the Combine Files feature to Merge or Package. The extensions are no longer even listed as an option in the dialog box, or in the Preference settings under "Convert to PDF".
    FYI- I can still use the PDF Maker functionality from within the MS Office application to create a PDF.
    Any Idea what could have happened, or more importantly how to fix?
    ***Update***
    I have re-installed the Acrobat 8 application, and the problem still exists.
    I'm truly puzzled.

    I get this with my PC and I ran detect-repair and reinstalled. Some PDF's I can open and other's I cannot. I can send the email to a cohort and they can open fine.
    "Can't create file: Right-click the folder you want to create the file in and then click Properties on the shortcut menu to check your permissions for the folder"
    Any ideas would be great.
    Thanks!

  • Create Cursor from File with big mouse cursor

    Hi All,
    I'd like to change the mouse cursor to a picture (.cur file) and back to normal again.
    With the LabView vi "Create Cursor from File" and "set cursor" VIs it works, but the cursor is limited to 16x16 pixels (it will be shrinked if I load a biger .cur file).
    Alternatively I tried to use the windows api to set the cursor (according to the example in Thread ) .
    Setting the cursor to a biger size works now, but I'm not able to set the cursor back to normal again.
    It seems to me, that the labview behaviour is overuled by the windows api.
    Soes somebody know how to store the current cursor behaviour and reset it after I changed the cursor?
    thank you
    Mario Hirth
    Attachments:
    set_cursor_demo_8.2.vi ‏28 KB

    Hi Mario,
    I attached you an example which worked the way you want, I guess. It's saved with LabVIEW 8.6. Copy the coursor file cross_i.cur to a location you want and change the path to that location or copy it to C: and leave the path in the path control.
    Regards.
    TomBaum
    Attachments:
    example.zip ‏15 KB

  • Creating PDF from File, missing Settings

    Acrobat Professional. 6.0.
    I never used Acrobats "Create PDF from file", as in my MS Office 2000 there was "Acrobat - Convert to Adobe PDF" menu item with the possibility to change joboptions settings.
    My current MS Office 2007 now has its own PDF convertor only, so I tried the Acrobats feature "Create PDF from file". It works, but the Settings button is grayed out with all Office file types. I didnt find a way how to access Acrobats settings, so I tried by first opening Distiller and changing the options there. Nothing happened, the output from Acrobat has always the same file size and quality. Of course I could make PDF out from Office by printing to Adobe PDF printer, but how with other file types which are not Office types.
    Thanks for suggestions, i.e. for showing me what I eventually didnt consider.

    As I and Bernd tried to say. AA6 does not support OFFICE 2007. The fact that you have PDF Maker from AA6 working in WORD 2007 is surprising. Since it is not a normal or supported operation, we have no idea what to tell you. It should not even be working. You are the first one I have ever heard say that they have the AA6 PDF Maker (create PDF is the way it shows up) working in OFFICE 2007!
    Thus, I may misunderstand. But I am trying to tell you that none of us have experience with the configuration. Adobe will also tell you to simply upgrade. Unfortunately, that leaves you on your own to experiment. If you have questions along the way based on your observations, we would be glad to try to help, but don't expect too much.

  • Problems creating a PDF file w/ Word 2000 + Adobe Acrobat 8 Professional

    Hi all,
    we have a problem with some of our word files. When trying to create a PDF file w/ Word 2000 and Adobe Acrobat 8 Professional by pressing on the Acrobat button in Word, sometimes the PDF distiller gets stuck and doesn't create a PDF file. When pressing <Alt>+<F9> we see that the file is overcrowded with fields, e.g.:
    {PRINT \p para "[ /EMC pdfmark [ /StPop pdfmark"} { PRINT \p para "[ /EMC pdfmark [ /StPop pdfmark" }
    { PRINT \p para "[ /Subtype /P /StPNE pdfmark" }  { PRINT \p para "[ /StBMC pdfmark" ] { PRINT \p para "[ /Subtype /P /Title () /StPNE pdfmark}
    etc.
    When deleting all of these fields it is possible to create a PDF file (which is quite a nuisance). Does anybody know what these fields mean and esp. what can be done to stop Word/Acrobat writing the text felds into our documents?
    Thanks a lot in advance,
    Chris

    All of the marks are created to provide the tags and other items related to bookmarks, links, and accessibility. Sometimes there is a problem if your TEMP folder does not have enough room. You get these when you use PDF Maker (the create PDF icon in WORD). You can select the preferences in PDF Maker and deselect a lot of the items, particularly tags that tend to bloat the PDF but are useful for accessibility or going back to WORD (you should always keep the WORD file anyway). That may solve the problem. If you do not want any of the extra info, then print to the Adobe PDF printer instead.

  • Create IDOC from file

    I have received an IDOC order file, and I know there is a standard program RSEINB00 to create IDOC in system.
    I would like to delete/add segments, change field contents in segements in the IDOC according to some of the segments in IDOC. Where can I manuplate it?
    Thanks for your advice.

    I am not test an IDOC file. I regularly receive IDOC file and need to manuplate the content, e.g. delete some of the segments, determine and fill in field content in some segments.
    I just wonder if I can change the IDOC content after it is created in system, just like what I can do in WE19, but using a program. Is there any standard program for this purpose?
    Or is there any user exit I can use when creating IDOC from file?
    Thanks.

  • Problems creating/extracting ZIP files, anyone?

    Greetings,
    I am having some odd bugs with OSX in creating and extracting ZIP files.  I’m curious if anyone else has run across this or if anyone has any remedies to suggest.
    The issue is that when I extract a ZIP archive, the extracted files have their creation dates and modification dates changed from the original versions.  For example, I have a directory created in 2010 and all the files were created and last modified in 2010.  However, when I ZIP the directory and re-extract it, many of the file dates change.  Some files have the creation dates changed so to match the last modified date.  In other cases, both the creation date and modification date are changed to something later than both, perhaps the date the directory was ZIPed or the date the directory was extracted.  And some files don’t seem to have the dates changed. 
    I have tried various options, such as terminal, and third party programs (BetterZip, Keka, Stuffit, & Archiver to name a few) and they all seem to have some variation of this behavior.  I have tried creating the Zip with one program and extracting with the other, and still this behavior persists.  Different files seem to be affected with each combination of creating and extracting programs. 
    Another odd behavior was that I tried password protecting some directories with financial data, and OSX could create the ZIP file with the password, but OSX could not unzip the file with the password it created for some files.  In every case, third party program could unzip the files with the password created in the terminal command.  This seem to happen inconsistently. 
    I have tried creating a dummy account and tested it in that account, with similar results.
    I’ve read the man page for the command line version of ZIP to see if there is some -option to preserve dates, but found nothing.  The typical command looks like this:
    > zip -er filename.zip  sourceDir
    > unzip filename.zip
    File types include directories, PDFs, Text docs, Quicken files.  Ive tested other directories too with other file types.  It doesn’t seem to affect every file, but seems unpredictable.  Luckily, I still have the original uncompressed version of most directories.  But I really want to archive some directories and unarchive them when needed.  The dates matter to me because they are mostly financial files and I use the dates to know what versions were used for taxes and other things.  Also, if dates change, then backup programs start replacing the good backups with files with the corrupted dates. 
    I’d appreciate any suggestions or feedback.  I there some bug in the ZIP protocol?  Is there some bug in OSX file system that is corrupting the dates with the archive and unarchive process? 
    Thank you for any suggestions-
    OSX 10.9.5,
    MBPro 2012

    OK, sorry did not read it correctly.  Read the first sentance and quit.
    No, Bridge is just a browser.  You can extract more than one file at a time in Win. Explorer.  You have to do them individually, but can run multiple extractions at the same time.
    There are other zip/unzip programs out there.  I know the the CS6 beta a number of users could not open it with WinZip and used alternate product just fine.

  • Creating Poster from File function causes all graphics files to distort.

    Sorry for the long subject title, didn't know how to pare it down...
    What's happening is when I add 3D content in Acrobat 3D V8 I select the option in the Poster Image window to "Creat poster from file", the graphic ALWAYS rotates the image and often distorts it as well.
    Any fix for this?
    Jeff Perkins

    I don't get this error. I've tried both JPG and BMP files, and both work. Hmmm...maybe it's due to the aspect ratio. Try at least matching the layout (portrait/landscape) between the 3D annot and the graphic file.

  • I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not enough space?

    I had a repair done at the apple store where the replaced my hard drive and copied my other hard drive over to the new one.  Everything is fine except the time machine wont reconnect to my old file and is trying create a new file but not there is not enough space for both files files? Do I need to do something to have it continue to update my old file instead of recreating a new one?

    Depending on what version of OSX you're running, and how the data was transferred, you may be out of luck.
    If you're running Lion, and your backups were made to a directly-connected external HD (ie, not a Time Capsule or other network location), you may be able to get Time Machine to "associate" the new disk with the old backups.  See #B6 in Time Machine - Troubleshooting, especially the pink box there.
    If you're running Snow Leopard, you might be able to do a full system restore of your backups to the new HD.  See Time Machine - Frequently Asked Question #14 for detailed instructions.  That should leave a "trail" that Time Machine can follow to "associate" the new drive with the old backups.  Unfortunately, that doesn't always work, and there's no way to do it manually, as there is with Lion.

  • Problems creating invoice from order (DI API and SBO)

    Hello all!
    I´m getting various tax problems using the following code to automatically create invoices from existing orders.
    For Each currentKey In arrABEntrys
      objInv = objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
      objAB.GetByKey(currentKey)
      objInv.CardCode = objAB.CardCode
      With objInv.Lines
        .BaseType = SAPbobsCOM.BoObjectTypes.oOrders
        .BaseEntry = currentKey
        .BaseLine = 0
        For i = 1 To objAB.Lines.Count - 1
          objInv.Lines.Add()
          BaseType = SAPbobsCOM.BoObjectTypes.oOrders
          .BaseEntry = currentKey
          .BaseLine = i
        Next
      End With
    If objInv.Add() = 0 Then
    Else
    End if
    The result of objInv.add() was first "5002 - 'Tax Definition (1)' (a very informative message to me).
    Then I checked my admin tax settings and put a check on "EU".
    The next time the result was "10 - Customer´s tax ID not defined OINV.LicTradNum"
    Actually, I don´t want to pre-set any fields in the invoice, because the order looks complete to me.
    By the way: The error occurs in SBO, too.
    Thanks for help in advance!
    Best regards
    Marian

    Hi Marian,
    Your Error "10 - Customer´s tax ID not defined OINV.LicTradNum" is not working (through DI and in SBO)
    occurs because your "Federal Tax ID" is not set up against the Business Partner. (This is on the main page of the Business Master Data Screen).
    Set this up and it will work in SBO and the DI API!

  • Can't create archive from file menu

    Hello,
    I can't create 'archive' (tar.gz) from file menu in Color (Save Archive As...).
    I don't have authorization problem on my folder project; i can create myself a tar.gz archive in the folder Archive of my Color's project.
    The system.log file said:
    Jul 16 09:45:51 fcp1 [0x0-0x1e01e].com.apple.color[215]: tar: Cowardly refusing to create an empty archive
    Jul 16 09:45:51 fcp1 [0x0-0x1e01e].com.apple.color[215]: Try `tar --help' or `tar --usage' for more information.

    some other users report difficulties, crashes, freeze-ups and very long save times associated with the Operating System and Finder. There is apparently some background file compression utility that may be interfering with your save routine. There are a couple of threads related to this issue on this forum, so a bit of searching may yield a solution.
    I haven't encountered it in nearly four years of day-to-day with three separate systems in either Tiger or Leopard. Suffice to say that if you have any third-party whiz-bang utilities running, COLOR is very vulnerable to OS corruption as it is a stripped-out race car that doesn't expect or tolerate much else when it comes to sharing the computer.
    jPo

  • Problem creating an jar file!

    Hello.
    I am trying to create an executable jar file using the following command:
    jar cmf MANIFEST.MF game.jar *.classHowever, I keep receiving the following error:
    java.io.FileNotFoundException: MANIFEST.MF (The system cannot find the file spec
    ified)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:64)
            at sun.tools.jar.Main.run(Main.java:124)
            at sun.tools.jar.Main.main(Main.java:904)Why am I getting this error and how can I correct this?

    Did you create a file called MANIFEST.MF? Is it in the same directory you are in now?
    And by the way, according to what I see when I run the jar command, you need to specify the jar file first, and then the manifest file:Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
    Options:
        -c  create new archive
        -t  list table of contents for archive
        -x  extract named (or all) files from archive
        -u  update existing archive
        -v  generate verbose output on standard output
        -f  specify archive file name
        -m  include manifest information from specified manifest file
        -0  store only; use no ZIP compression
        -M  do not create a manifest file for the entries
        -i  generate index information for the specified jar files
        -C  change to the specified directory and include the following file
    If any file is a directory then it is processed recursively.
    The manifest file name and the archive file name needs to be specified
    in the same order the 'm' and 'f' flags are specified.
    Example 1: to archive two class files into an archive called classes.jar:
           jar cvf classes.jar Foo.class Bar.class
    Example 2: use an existing manifest file 'mymanifest' and archive all the
               files in the foo/ directory into 'classes.jar':
           jar cvfm classes.jar mymanifest -C foo/ .

  • Problem creating  image from a data vector

    Hello i have a problem in this aplication.
    I get a image from a web cam. I want to put the original image in a file and the negative image in another file (in this example is not the negative image, is just a white image). The problem is when i use setData method. The image become black. If I use setFormat method the new image is the original image.
    Here is the code with problems:
    imageBuffer = frameGrabbingControl.grabFrame();
    theData = new int[dataLength];
    theData = (int[]) imageBuffer.getData();
    for (int y = 0; y < videoHeight - imageScanSkip; y+=imageScanSkip) {
    for (int x = 1; x < videoWidth - imageScanSkip; x+=imageScanSkip)
    theData[y*videoWidth+x]=Integer.parseInt("FFFFFF",16);
    Buffer b1=new Buffer(); //This is the new buffer in which i want to put the new pic
    b1.setData(theData);
    //here i create the 2 files frst from the original buffer and second from the new buffer b1
    Image img = (new BufferToImage((VideoFormat)imageBuffer.getFormat()).createImage(imageBuffer));
    Image img1 = (new BufferToImage((VideoFormat)b1.getFormat()).createImage(b1));
    BufferedImage buffImg = new BufferedImage(img.getWidth(null), img.getHeight(null), BufferedImage.TYPE_INT_RGB);
    BufferedImage buffImg1 = new BufferedImage(320,240, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = buffImg.createGraphics();
    Graphics2D g1 = buffImg1.createGraphics();
    g.drawImage(img, null, null);
    g1.drawImage(img1, null, null);
    try{
    ImageIO.write(buffImg, "jpg", new File("c:\\webcam.jpg"));
    ImageIO.write(buffImg1, "jpg", new File("c:\\webcam1.jpg"));
    catch (Exception e){}
    the webcam1.jpg file is black(it should be white).
    If i put "b1.setFormat(imageBuffer.getFormat());" the webcam1.jpg will be same the file as webcam.jpg

    Hello i have a problem in this aplication.
    I get a image from a web cam. I want to put the original image in a file and the negative image in another file (in this example is not the negative image, is just a white image). The problem is when i use setData method. The image become black. If I use setFormat method the new image is the original image.
    Here is the code with problems:
    imageBuffer = frameGrabbingControl.grabFrame();
    theData = new int[dataLength];
    theData = (int[]) imageBuffer.getData();
    for (int y = 0; y < videoHeight - imageScanSkip; y+=imageScanSkip) {
    for (int x = 1; x < videoWidth - imageScanSkip; x+=imageScanSkip)
    theData[y*videoWidth+x]=Integer.parseInt("FFFFFF",16);
    Buffer b1=new Buffer(); //This is the new buffer in which i want to put the new pic
    b1.setData(theData);
    //here i create the 2 files frst from the original buffer and second from the new buffer b1
    Image img = (new BufferToImage((VideoFormat)imageBuffer.getFormat()).createImage(imageBuffer));
    Image img1 = (new BufferToImage((VideoFormat)b1.getFormat()).createImage(b1));
    BufferedImage buffImg = new BufferedImage(img.getWidth(null), img.getHeight(null), BufferedImage.TYPE_INT_RGB);
    BufferedImage buffImg1 = new BufferedImage(320,240, BufferedImage.TYPE_INT_RGB);
    Graphics2D g = buffImg.createGraphics();
    Graphics2D g1 = buffImg1.createGraphics();
    g.drawImage(img, null, null);
    g1.drawImage(img1, null, null);
    try{
    ImageIO.write(buffImg, "jpg", new File("c:\\webcam.jpg"));
    ImageIO.write(buffImg1, "jpg", new File("c:\\webcam1.jpg"));
    catch (Exception e){}
    the webcam1.jpg file is black(it should be white).
    If i put "b1.setFormat(imageBuffer.getFormat());" the webcam1.jpg will be same the file as webcam.jpg

  • Problems creating notation from scratch using the edit function of GarageBa

    I am using garage band to write music. I open
    a blank loop with a grand piano system instrument and
    begin editing. I encounter the following problems:
    1. The software does not allow me to enter any note
    below middle c on additional or ledger lines that
    should be available below the stave of the treble
    clef.
    1.1 Connected to this issue is that it is very
    difficult to write music that contains subtleties.
    This directly affects the way the music sounds. The
    program substitutes accidentals in the stave
    conditioned by the key signature. For example writing
    Chopin in GarageBand as opposed to the written sheet
    music is the difference between buying a designer
    dress in a Bond Street Boutique and buying a cheap
    copy in Primark. "Brins Bungalo" Tutorial claims
    that
    Garageband "is an application suitable for both the
    dabbler and the conservatorially trained."
    2. When there are many notes to be entered in a bar
    garageBand is not flexible to accomodate the notes
    required, Notes are clustered in a bunch makiing it
    difficult to read what has been written (preventing the composer checking that it has been written correctly).
    3. When there are many notes to be written in a bar
    e.g. more than, say four notes, (lots of quavers or semi quavers) the
    program does some strange things which I am unable to
    control:
    a) groups unrelated larger notes with the smaller
    notes and will not allow them to be separated;
    b) changes the value of notes already entered;
    c) sometimes splits the note being entered into two
    smaller notes joined by a tie;
    d) accidentals appear on notes entered or notes
    already entered without my instruction;
    e) it changes note values, filling up the bar, to the
    value of the time key before I have a chance to finish
    entering the remaining notes that I want to place in
    the bar;
    4. How is one able to enter "dynamics" (symbol marks
    of expression). I know it is possible because many of
    the preloaded loops have these expressions evident
    within them. I have tried consulting GarageBand Help but this has proved impossible to fathom.
    Can anyone help?
    iMac   Mac OS X (10.4.8)  

    You have my sympathy as I also wanted to enter notes on a stave but GB is simply not designed to do it.
    You can do an amazing amount with GB but complex scoring is not really possible. You can't print a score btw.
    In answer to some of your questions,
    Expression cannot be added using the scoring facility. You need to go back to the piano roll view and use the expression/modulation/pitchbend/footswitch parameters.
    I think you're possibly doing something wrong as I've just done a little test and I've entered a C0 without a problem.
    I've also not had problems moving notes about and getting the right length or having GB fill notes to the end of the bar.
    This is how I do it.
    Create a software track.
    Double click on the track to get the track editor.
    Press record and use the the keyboard on the piano roll to enter a note. You've now created a recording region. You can't enter notes outside a recording region so you might need to drag it out to the required size.
    Swap to note entry. That gives you the double stave. Drag the grey bar that separates the arranger area from the track editor upwards. This gives you more space on the stave.
    Command click anywhere on the stave and a note will appear. Just move that note to wherever you want it and click to set it in place. You can always move it again by left clicking on the note and dragging it.
    Accidentals will depend on the key you've set for the song and what notes you're entering. In D for instance you won't get an accidental for F sharp but you will get one for A flat.
    Let us know how you get on.
    If this still doesn't give you what you need then I suggest a dedicated notation package. Create a midi file from the package and import into GB for final tweaking.
    Cheers
    Dick

Maybe you are looking for

  • Crystal report 9 memory error.

    we are using crystal report 9 with sybase power builder..... at some client locations we are experiencing the application crash due to memory while opening crystal reports. the following errors were noticed 1.the instruction at "0x77124804" reference

  • Future Update? - Web Highlighting/Commenting

    I have recently written a web application that displays a pdf  in the web browser using Adobe Reader X.  Needless to say, I was dissapointed to learn that the highlight and comment features are not available when viewing through the web. So, my quest

  • New tab page shows multiple sites from the same domain

    For example in the grid of sites it may show multiple pages from e.g. stackoverflow.com instead of just the single base domain stackoverflow.com (or alternatively the most used of the pages). Is there any way to limit each domain to a single page in

  • Index.html created by Bridge Web Gallery has VBGetSwfVer error

    I'm running CS6 under Win7 and IE9. I have used Bridge to create a web gallery but when I try and execute the generated index.html file I get a (script?) error: Clicking eather Yes or No has no impact - just a blank screen. I have not modified the ge

  • Gettin variable amount have not been initialised error new to java help plz

    hey guys im doin this as an hw assignment for class keep gettin error Variable amount has not been initialised can some please tell me wut my error is n wut is wrong with my code please thankyou: /*Objective import javax.swing.JOptionPane; public cla