Polling a webservice from XI

Is it possible to frequently poll a webservice to trigger SAP jobs?
I want to configure XI to poll a webservice, e.g. every 5 seconds, and generate some IDOCs out of the returned data. Usually the information is pushed into the SAP system but this webservice simply provides the information, it is passive.
Is such a scenario possible and how?
Thanks
          Haug

Hi,
XI cannt poll data from webservice. There is no such facility for SOAP adapter.
Instead change your scenario as follows.
File>Webservice>IDOC
File Adapter channel should poll some dummy data which has nothing to do with your scenario. Set Processing mode to "Test". Give polling interval according to your requirement.
And in the mapping from File to Webservice hardcode the values for your Webservice request structure.
But the only drawback is you need to do this scenario in BPM as receiver is IDOC and IDOC cannt haveEJB modules(e.g., request and response beans) as it runs on ABAP stack.
Thanks,
Gujjeti

Similar Messages

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

  • How to execute an internal WebService from CRM On Demand?

    Hello,
    I would like to know how to execute an internal WebService, for example Contact's WebService, from CRM On Demand?
    I have seen in the online documentation:
    "An integration event is a mechanism for triggering external processes that are based on changes (create, update, delete, associate, dissociate) to the records in Oracle CRM On Demand.
    You can specify which fields on a record that you want to track. If your company wants to use workflow rules to create integration events, contact Customer Care to request support for Integration Event Administration and to specify the total size of the integration event queues that you require".
    I have this option activated. In fact, I have tried to create a workflow rule to assign an integration event to call the WebService process, but I couldn't do it...
    Thank you and regards.

    Hi, sorry for the late answer. I now understand what you are trying to do, it is an automatic approach so you will need to use integration events.
    So if custom object 2 field is changed you have to generate an integration event with a workflow that triggers when modified record is saved. The event should be transfered to the queue you defined.
    What you need is an external componenet e.g. java component that is running in an application server and polls every (let's say 30 seconds for events in the queue. If there is an event in the queue you will need the custom object 3 Id and the value for the field you would like to update and afterwards you can update the related customonject3 record with a ws call.
    If you use java you can start the timer with a servlet lifecycle event (when application is up start the timer for polling)
    Best Regards
    SL

  • Polling in webservice scenario

    Hi Experts,
    I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
    Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
    Regards
    Sara

    Sara,
    Can you go through the urls:
    sender JDBC by schedule function
    JDBC
    If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
    Try using:
    "Disconnect from Database After Processing Each Message" indicator
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Polling at intervals
    Thanks,
    Satya Kumar.
    Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM

  • Invoking Webservice from oracle DB

    Hi Friends,
    I am facing a problem in invoking xi webservice from Oracle DB.
    My Oracle Version is 8.0 and a Power bulider (5.0)on the top of DB both of this are not supporting webservice.
    My requirement is to trigger an application from PB or oracle which can fetch the required data from oracle DB and push it into XI. Want to do a push not pull as in the case of JDBC.
    I don't want to use a JDBC adapter since the volume of message flow will be very less.(since this will keep on polling the DB).Even though i can start/stop communcication channel externally, the business user want to do that from the PB view.Any one aware this can be done in PB -5.0 ?
    is there any other option to trigger webservice for this lower version ?
    Thanks for the reply.
    Sunil.

    Hi ,
    http://download.sybase.com/presentation/2003_presentations/PWB509.ppt
    http://pbdj.sys-con.com/read/42590.htm
    Regards,
    Vinod.

  • Error while running a eBS webservice from the SoapUI Tool

    Hello All,
    I am trying to run PurchaseOrder Service webservice from the soap ui tool, In this service there are 6 methods are available and i am currently running the QueryPurchaseOrder method:
    Following is the soap message I am running:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pox="http://xmlns.oracle.com/java/oracle/apps/po/services/poxpoepo/POXPOEPOServices_DocStyle/" xmlns:orac="http://oracle.apps.fnd.soa.forms.services.rt.formsSchema/">
    <soapenv:Header>
    <pox:SOAHeader>
    <!--Optional:-->
    <pox:Responsibility></pox:Responsibility>
    <!--Optional:-->
    <pox:RespApplication></pox:RespApplication>
    <!--Optional:-->
    <pox:SecurityGroup></pox:SecurityGroup>
    <!--Optional:-->
    <pox:NLSLanguage></pox:NLSLanguage>
    <!--Optional:-->
    <pox:Org_Id>204</pox:Org_Id>
    </pox:SOAHeader>
    </soapenv:Header>
    <soapenv:Body>
    <pox:queryPurchaseOrder_Request>
    <orac:OutsideProcessing>
    <!--Optional:-->
    <orac:Job></orac:Job>
    <!--Optional:-->
    <orac:Line></orac:Line>
    <!--Optional:-->
    <orac:OSPUnitType></orac:OSPUnitType>
    <!--Optional:-->
    <orac:OperationSequence></orac:OperationSequence>
    <!--Optional:-->
    <orac:ResourceSequence></orac:ResourceSequence>
    <!--Optional:-->
    <orac:ResourceCode></orac:ResourceCode>
    </orac:OutsideProcessing>
    <orac:PoHeaders>
    <!--Zero or more repetitions:-->
    <orac:PoLines>
    <orac:LineNum>1</orac:LineNum>
    <orac:LineType>Goods</orac:LineType>
    <!--Optional:-->
    <orac:Item></orac:Item>
    <!--Optional:-->
    <orac:ItemRevision></orac:ItemRevision>
    <!--Optional:-->
    <orac:Job></orac:Job>
    <orac:ItemCategory>MISC.MISC</orac:ItemCategory>
    <orac:ItemDescription>test</orac:ItemDescription>
    <orac:UnitOfMeasure>EA</orac:UnitOfMeasure>
    <!--Optional:-->
    <orac:LineOrderQuantity></orac:LineOrderQuantity>
    <!--Optional:-->
    <orac:Quantity></orac:Quantity>
    <!--Optional:-->
    <orac:LineUnitPrice></orac:LineUnitPrice>
    <!--Optional:-->
    <orac:PromisedDate></orac:PromisedDate>
    <!--Optional:-->
    <orac:NeedByDate></orac:NeedByDate>
    <!--Optional:-->
    <orac:VendorProductNum></orac:VendorProductNum>
    <!--Optional:-->
    <orac:Amount></orac:Amount>
    <!--Optional:-->
    <orac:ChargeAccount></orac:ChargeAccount>
    <!--Optional:-->
    <orac:Reserved></orac:Reserved>
    <!--Optional:-->
    <orac:OPMLineSecondaryUOM></orac:OPMLineSecondaryUOM>
    <!--Optional:-->
    <orac:OPMLineSecondaryQuantity></orac:OPMLineSecondaryQuantity>
    <!--Optional:-->
    <orac:SecondaryQuantity></orac:SecondaryQuantity>
    <!--Optional:-->
    <orac:PreferredLineGrade></orac:PreferredLineGrade>
    <!--Optional:-->
    <orac:ItemListPrice></orac:ItemListPrice>
    <!--Optional:-->
    <orac:ItemMarketPrice></orac:ItemMarketPrice>
    <!--Optional:-->
    <orac:PriceType></orac:PriceType>
    <!--Optional:-->
    <orac:AllowPriceOverride></orac:AllowPriceOverride>
    <!--Optional:-->
    <orac:PriceLimit></orac:PriceLimit>
    <!--Optional:-->
    <orac:Negotiated></orac:Negotiated>
    <!--Optional:-->
    <orac:ContractNum></orac:ContractNum>
    <!--Optional:-->
    <orac:GlobalContract></orac:GlobalContract>
    <!--Optional:-->
    <orac:ContractOwningOrg></orac:ContractOwningOrg>
    <!--Optional:-->
    <orac:SourceDocumentType></orac:SourceDocumentType>
    <!--Optional:-->
    <orac:FromDocumentNum></orac:FromDocumentNum>
    <!--Optional:-->
    <orac:FromDocumentLineNum></orac:FromDocumentLineNum>
    <!--Optional:-->
    <orac:GlobalBlanket></orac:GlobalBlanket>
    <!--Optional:-->
    <orac:SourceDocumentOwningOrg></orac:SourceDocumentOwningOrg>
    <!--Optional:-->
    <orac:SupplierQuotation></orac:SupplierQuotation>
    <!--Optional:-->
    <orac:ProjectsContractNum></orac:ProjectsContractNum>
    <!--Optional:-->
    <orac:ProjectsContractRevNum></orac:ProjectsContractRevNum>
    <!--Optional:-->
    <orac:NoteToSupplier></orac:NoteToSupplier>
    <!--Optional:-->
    <orac:UNNum></orac:UNNum>
    <!--Optional:-->
    <orac:UNNumDescription></orac:UNNumDescription>
    <!--Optional:-->
    <orac:HazardClass></orac:HazardClass>
    <!--Optional:-->
    <orac:CapitalExpense></orac:CapitalExpense>
    <!--Optional:-->
    <orac:TransactionNature></orac:TransactionNature>
    <!--Optional:-->
    <orac:ContractorFirstName></orac:ContractorFirstName>
    <!--Optional:-->
    <orac:ContractorLastName></orac:ContractorLastName>
    <!--Optional:-->
    <orac:ContractorStartDate></orac:ContractorStartDate>
    <!--Optional:-->
    <orac:ContractorEndDate></orac:ContractorEndDate>
    <!--Optional:-->
    <orac:MinimumLineReleaseAmount></orac:MinimumLineReleaseAmount>
    <!--Optional:-->
    <orac:LineQuantityAgreed></orac:LineQuantityAgreed>
    <!--Optional:-->
    <orac:LineAmountAgreed></orac:LineAmountAgreed>
    <!--Optional:-->
    <orac:LlineQuantityReleased></orac:LlineQuantityReleased>
    <!--Optional:-->
    <orac:LineAmountReleased></orac:LineAmountReleased>
    <!--Optional:-->
    <orac:LineExpirationDate></orac:LineExpirationDate>
    <!--Optional:-->
    <orac:CumulativePricing></orac:CumulativePricing>
    <!--Zero or more repetitions:-->
    <orac:PoShipments>
    <orac:ShipmentNum>1</orac:ShipmentNum>
    <orac:ShiptoOrganization>M1</orac:ShiptoOrganization>
    <orac:ShipToLocation>M1- Seattle Mfg</orac:ShipToLocation>
    <!--Optional:-->
    <orac:UnitOfMeasure></orac:UnitOfMeasure>
    <orac:ShipmentQuantity>1</orac:ShipmentQuantity>
    <!--Optional:-->
    <orac:PromisedDate></orac:PromisedDate>
    <!--Optional:-->
    <orac:NeedByDate></orac:NeedByDate>
    <!--Optional:-->
    <orac:OriginalPromisedDate></orac:OriginalPromisedDate>
    <!--Optional:-->
    <orac:CountryofOrigin></orac:CountryofOrigin>
    <!--Optional:-->
    <orac:ChargeAccount></orac:ChargeAccount>
    <!--Optional:-->
    <orac:ShipmentAmount></orac:ShipmentAmount>
    <!--Optional:-->
    <orac:EncumberedFlag></orac:EncumberedFlag>
    <!--Optional:-->
    <orac:OPMShipmentSecondaryUOM></orac:OPMShipmentSecondaryUOM>
    <!--Optional:-->
    <orac:OPMShipmentSecondaryQuantity></orac:OPMShipmentSecondaryQuantity>
    <!--Optional:-->
    <orac:PreferredShipmentGrade></orac:PreferredShipmentGrade>
    <!--Optional:-->
    <orac:ReceiptCloseTolerance></orac:ReceiptCloseTolerance>
    <!--Optional:-->
    <orac:InvoiceCloseTolerance></orac:InvoiceCloseTolerance>
    <orac:MatchApprovalLevel>3WAY</orac:MatchApprovalLevel>
    <orac:InvoiceMatchOption>P</orac:InvoiceMatchOption>
    <!--Optional:-->
    <orac:AccrueatReceipt></orac:AccrueatReceipt>
    <!--Optional:-->
    <orac:Firm></orac:Firm>
    <!--Optional:-->
    <orac:Item></orac:Item>
    <!--Optional:-->
    <orac:Category></orac:Category>
    <!--Optional:-->
    <orac:Description></orac:Description>
    <!--Optional:-->
    <orac:VendorProductNum></orac:VendorProductNum>
    <!--Optional:-->
    <orac:ShipmentStatus></orac:ShipmentStatus>
    <!--Optional:-->
    <orac:QuantityReceived></orac:QuantityReceived>
    <!--Optional:-->
    <orac:QuantityCancelled></orac:QuantityCancelled>
    <!--Optional:-->
    <orac:QuanittyBilled></orac:QuanittyBilled>
    <!--Optional:-->
    <orac:AmountReceived></orac:AmountReceived>
    <!--Optional:-->
    <orac:AmountCancelled></orac:AmountCancelled>
    <!--Optional:-->
    <orac:AmountBilled></orac:AmountBilled>
    <!--Optional:-->
    <orac:OPMSecondaryQuantityReceived></orac:OPMSecondaryQuantityReceived>
    <!--Optional:-->
    <orac:OPMSecondaryCancelled></orac:OPMSecondaryCancelled>
    <orac:BreakPrice></orac:BreakPrice>
    <!--Optional:-->
    <orac:PriceDiscount></orac:PriceDiscount>
    <!--Optional:-->
    <orac:PriceBreakStartDate></orac:PriceBreakStartDate>
    <!--Optional:-->
    <orac:PriceBreakEndDate></orac:PriceBreakEndDate>
    <!--Optional:-->
    <orac:EarlyReceiptDays></orac:EarlyReceiptDays>
    <!--Optional:-->
    <orac:LateReceiptDays></orac:LateReceiptDays>
    <!--Optional:-->
    <orac:ReceiptDaysAction></orac:ReceiptDaysAction>
    <!--Optional:-->
    <orac:LastAcceptDate></orac:LastAcceptDate>
    <!--Optional:-->
    <orac:ReceiptTolerance></orac:ReceiptTolerance>
    <!--Optional:-->
    <orac:ReceiptToleranceAction></orac:ReceiptToleranceAction>
    <!--Optional:-->
    <orac:AllowSubstituteReceipts></orac:AllowSubstituteReceipts>
    <!--Optional:-->
    <orac:ReceiptRouting></orac:ReceiptRouting>
    <!--Optional:-->
    <orac:EnforceShipTo></orac:EnforceShipTo>
    <!--Optional:-->
    <orac:NoteforReceiver></orac:NoteforReceiver>
    <!--Optional:-->
    <orac:VMIEnabled></orac:VMIEnabled>
    <!--Optional:-->
    <orac:ConsignedShipment></orac:ConsignedShipment>
    <!--Zero or more repetitions:-->
    <orac:PoDistributions>
    <orac:DistributionNum>1</orac:DistributionNum>
    <orac:DestinationType>Expense</orac:DestinationType>
    <!--Optional:-->
    <orac:Requester></orac:Requester>
    <!--Optional:-->
    <orac:DeliverToLocation></orac:DeliverToLocation>
    <!--Optional:-->
    <orac:DestinationSubinventory></orac:DestinationSubinventory>
    <orac:DistributionQuantity>?</orac:DistributionQuantity>
    <!--Optional:-->
    <orac:DistributionAmount></orac:DistributionAmount>
    <!--Optional:-->
    <orac:POChargeAccount></orac:POChargeAccount>
    <!--Optional:-->
    <orac:DestinationChargeAccount></orac:DestinationChargeAccount>
    <!--Optional:-->
    <orac:RecoveryRate></orac:RecoveryRate>
    <!--Optional:-->
    <orac:GLDate></orac:GLDate>
    <!--Optional:-->
    <orac:EncumberedFlag></orac:EncumberedFlag>
    <!--Optional:-->
    <orac:RequestingOrganization></orac:RequestingOrganization>
    <!--Optional:-->
    <orac:RequisitionNum></orac:RequisitionNum>
    <!--Optional:-->
    <orac:RequisitionLineNum></orac:RequisitionLineNum>
    <!--Optional:-->
    <orac:OnlineRequisition></orac:OnlineRequisition>
    <!--Optional:-->
    <orac:RateDate></orac:RateDate>
    <!--Optional:-->
    <orac:Rate></orac:Rate>
    <!--Optional:-->
    <orac:POAccrualAccount></orac:POAccrualAccount>
    <!--Optional:-->
    <orac:POBudgetAccount></orac:POBudgetAccount>
    <!--Optional:-->
    <orac:POVarianceAccount></orac:POVarianceAccount>
    <!--Optional:-->
    <orac:ChargeAccountDescription></orac:ChargeAccountDescription>
    <!--Optional:-->
    <orac:BudgetAccountDescription></orac:BudgetAccountDescription>
    <!--Optional:-->
    <orac:AccrualAccountDescription></orac:AccrualAccountDescription>
    <!--Optional:-->
    <orac:VarianceAccountDescription></orac:VarianceAccountDescription>
    <!--Optional:-->
    <orac:Project></orac:Project>
    <!--Optional:-->
    <orac:Task></orac:Task>
    <!--Optional:-->
    <orac:Award></orac:Award>
    <!--Optional:-->
    <orac:ExpenditureType></orac:ExpenditureType>
    <!--Optional:-->
    <orac:ExpenditureOrganization></orac:ExpenditureOrganization>
    <!--Optional:-->
    <orac:ExpenditureDate></orac:ExpenditureDate>
    <!--Optional:-->
    <orac:ProjectsContractLineNum></orac:ProjectsContractLineNum>
    <!--Optional:-->
    <orac:ProjectsDeliverableNum></orac:ProjectsDeliverableNum>
    <!--Optional:-->
    <orac:EndItemUnitNum></orac:EndItemUnitNum>
    <!--Optional:-->
    <orac:DestinationChargeAccountDescription></orac:DestinationChargeAccountDescription>
    <!--Optional:-->
    <orac:DestinationVarianceAccountDescription></orac:DestinationVarianceAccountDescription>
    <!--Optional:-->
    <orac:DestinationVarianceAccount></orac:DestinationVarianceAccount>
    </orac:PoDistributions>
    </orac:PoShipments>
    </orac:PoLines>
    <!--Zero or more repetitions:-->
    <orac:PoBpaDistributions>
    <!--Optional:-->
    <orac:Encumber></orac:Encumber>
    <!--Optional:-->
    <orac:BudgetAccount></orac:BudgetAccount>
    <!--Optional:-->
    <orac:GLDate></orac:GLDate>
    <!--Optional:-->
    <orac:AmountToEncumber></orac:AmountToEncumber>
    </orac:PoBpaDistributions>
    <orac:OperatingUnit>Vision Operations</orac:OperatingUnit>
    <orac:PONum>6194</orac:PONum>
    <!--Optional:-->
    <orac:RevisionNum></orac:RevisionNum>
    <orac:DocumentType>Standard Purchase Order</orac:DocumentType>
    <!--Optional:-->
    <orac:CreationDate></orac:CreationDate>
    <!--Optional:-->
    <orac:Supplier></orac:Supplier>
    <!--Optional:-->
    <orac:SupplierSite></orac:SupplierSite>
    <!--Optional:-->
    <orac:SupplierContact></orac:SupplierContact>
    <!--Optional:-->
    <orac:ShipToLocation></orac:ShipToLocation>
    <!--Optional:-->
    <orac:BillToLocation></orac:BillToLocation>
    <!--Optional:-->
    <orac:Currency></orac:Currency>
    <orac:Buyer>31994</orac:Buyer>
    <!--Optional:-->
    <orac:Status></orac:Status>
    <!--Optional:-->
    <orac:POTotal></orac:POTotal>
    <!--Optional:-->
    <orac:AmounttAgreed></orac:AmounttAgreed>
    <!--Optional:-->
    <orac:HeaderDescription></orac:HeaderDescription>
    <!--Optional:-->
    <orac:PCard></orac:PCard>
    <!--Optional:-->
    <orac:AmountReleased></orac:AmountReleased>
    <!--Optional:-->
    <orac:GlobalAgreementFlag></orac:GlobalAgreementFlag>
    <!--Optional:-->
    <orac:PaymentTerms></orac:PaymentTerms>
    <!--Optional:-->
    <orac:FreightTerms></orac:FreightTerms>
    <!--Optional:-->
    <orac:Carrier></orac:Carrier>
    <!--Optional:-->
    <orac:FreeOnBoard></orac:FreeOnBoard>
    <!--Optional:-->
    <orac:PayOn></orac:PayOn>
    <!--Optional:-->
    <orac:TransportationArranged></orac:TransportationArranged>
    <!--Optional:-->
    <orac:ConfirmingOrder></orac:ConfirmingOrder>
    <!--Optional:-->
    <orac:Firm></orac:Firm>
    <!--Optional:-->
    <orac:AcceptanceRequired></orac:AcceptanceRequired>
    <!--Optional:-->
    <orac:AcceptanceDueDate></orac:AcceptanceDueDate>
    <!--Optional:-->
    <orac:SupplyAgreement></orac:SupplyAgreement>
    <!--Optional:-->
    <orac:SupplierNote></orac:SupplierNote>
    <!--Optional:-->
    <orac:ReceiverNote></orac:ReceiverNote>
    <!--Optional:-->
    <orac:EffectiveStartDate></orac:EffectiveStartDate>
    <!--Optional:-->
    <orac:EffectiveEndDate></orac:EffectiveEndDate>
    <!--Optional:-->
    <orac:AmountLimit></orac:AmountLimit>
    <!--Optional:-->
    <orac:MinimumHeaderReleaseAmount></orac:MinimumHeaderReleaseAmount>
    <!--Optional:-->
    <orac:PriceUpdateTolerance></orac:PriceUpdateTolerance>
    <orac:PoHeaderId>91781</orac:PoHeaderId>
    </orac:PoHeaders>
    </pox:queryPurchaseOrder_Request>
    </soapenv:Body>
    </soapenv:Envelope>
    Now when i run this, I get the below error in the SOAP UI Tool:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <Error>[Ljava.lang.StackTraceElement;@118da51</Error>
    </env:Body>
    </env:Envelope>
    Can u please suggest any solution to resolve this error.
    Thanks & Regards,
    Aboothahir M

    Hello All,
    I checked in the log.xml file in the apps server and got the below error:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:24.110+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>security</MODULE_ID>
    <THREAD_ID>12</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885623:9.126.177.20:24571:0:38</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Error when intializing assertion issuer context </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.IllegalArgumentException: Invalid assertion
         at oracle.security.jazn.callback.SAMLTokenCallbackInternal.setAssertion(SAMLTokenCallbackInternal.java:70)
         at oracle.security.jazn.callback.WSSCallbackHandler.handle(WSSCallbackHandler.java:107)
         at javax.security.auth.login.LoginContext$SecureCallbackHandler$1.run(LoginContext.java:955)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext$SecureCallbackHandler.handle(LoginContext.java:951)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initializeAssertionIssuerContext(SAMLLoginModule.java:278)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initializeProperties(SAMLLoginModule.java:233)
         at oracle.security.jazn.login.module.saml.SAMLLoginModule.initialize(SAMLLoginModule.java:91)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at oracle.security.wss.jaas.JAASAuthManager.invokeLogin(JAASAuthManager.java:109)
         at oracle.security.wss.jaas.JAASAuthManager.authenticate(JAASAuthManager.java:174)
         at oracle.security.wss.UsernameTokenProcessor.getSubject(UsernameTokenProcessor.java:143)
         at oracle.security.wss.WSSecurity.process(WSSecurity.java:1107)
         at oracle.security.wss.interceptors.AbstractSecurityInterceptor.handleInbound(AbstractSecurityInterceptor.java:131)
         at oracle.security.wss.interceptors.ServiceInterceptor.handleRequest(ServiceInterceptor.java:60)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.handleRequest(InterceptorChainImpl.java:124)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorPipeline.handleRequest(AbstractInterceptorPipeline.java:87)
         at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:452)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:750)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:112)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:25.524+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04005</MSG_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>14</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885621:9.126.177.20:24505:0:46</UNIQUE_ID><SEQ>6</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: The security token could not be authenticated or authorized.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:50:25.527+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04005</MSG_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>12</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885623:9.126.177.20:24571:0:38</UNIQUE_ID><SEQ>6</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>An error occurred for port: SOAProvider: oracle.j2ee.ws.common.soap.fault.SOAP11FaultException: The security token could not be authenticated or authorized.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2012-01-18T16:56:08.311+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>webservices</COMPONENT_ID>
    <MSG_ID>OWS-04052</MSG_ID>
    <MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>amsgurbluapp009.in.ibm.com</HOST_ID>
    <HOST_NWADDR>9.126.177.20</HOST_NWADDR>
    <MODULE_ID>service</MODULE_ID>
    <THREAD_ID>13</THREAD_ID>
    <USER_ID>orar12</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1326885960:9.126.177.20:23538:0:57</UNIQUE_ID><SEQ>242</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    By
    Aboo

  • How to create webservice from function module

    Hello,
    I'm trying to create webservice from function module from. I choose Utilities/More Utilities/Create Webservice/..From function Module. What data should I enter in section "Enter Package/Request" ?
    When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign namespaces"
    Is there any doc about this procedure (web service creation) with description of all sections ?
    thanks for any reply,
    Lukasz Ferenc

    Hi,
    Which SAP product of wich release of which SP are you using ?
    The procedure is documented in help.sap.com and in blogs and SDN forum messages.
    It means that the use of the SEARCH button should give plenty of answers...
    >When I check "Local object" checkbox I get a message "Test objects cannot be created in foreign >namespaces"
    As usual, begin your choosen name with an "Z".
    Regards,
    Olivier

  • How can I call a stateful webservice from a user-defined XPath function?

    I'm calling a stateful webservice from a BPEL process using a PartnerLink which implements Custom Header Handler classes to handle the session state, storing the cookie as a property of the PartnerLink.
    I'd also like to call this same stateful webservice, in the same session, from a user-defined XPath function enabling me to call this from an XSL Transformation.
    Is this in any way possible? Can I access the cookie and attach it to the webservice call made by the user-defined XPath function?

    Actually, as long as the servlet returns valid javascript, you can indeed "call it" from the client. It will initiate a request and return the result to the browser.
    This example uses Perl, but it could be easily modified to go to a servlet instead.
    Note that it is only supported in DOM browsers (IE6+/NN6+/etc)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <html>
    <head>
    <title> Test server-side JS </title>
    </head>
    <body>
    <script type="text/javascript">
    function checkIt(variable, value)
    var newScript = "cgi-bin/validateJS.cgi?"+variable+"="+value;
    var body = document.getElementsByTagName('body').item(0)
    var scriptTag = document.getElementById('loadScript');
    if(scriptTag) body.removeChild(scriptTag);
    script = document.createElement('script');
    script.src = newScript;
         script.type = 'text/javascript';
         script.id = 'loadScript';
         body.appendChild(script)
    </script>
    <p>Test.</p>
    <form id="f1" action="">
    <input type="text" name="t1" id="t1" onChange="checkIt(this.name, this.value)">
    </body>
    </html>
    validateJS.cgi
    #!/opt/x11r6/bin/perl
    use CGI qw(:all);
    my @valArray = split(/=/,$ENV{QUERY_STRING});
    print "Content-type: text/javascript\n\n";
    # myPass is the password
    $myPass = "foobar";
    if ("$valArray[1]" eq "$myPass")
    print "alert(\"Success!!\")";
    else
    print "alert(\"Failure!!\")";

  • B2B adapter is not polling any data from EDI X12 810 ECS file

    Hi All,
    I am new to Oracle B2B. I am using
    Jdev 11.1.1.6
    Oracle Editor :  7.0.5.4016
    Document Protocol : EDI_X12
    Document type : 810 (Invoice )
    Version: 4010
    Weblogic server :11.1.1.6.0
    Requirement is : i had an EDI file and i need to translate the EDI map using the B2B adapter, transport to SOA Suite and insert into a custom DB.
    Issue  is : B2B adapter is not polling any data from EDI X12 810 ECS file
    for this i created sample EDI X12 810 ecs file, i converted the same to .xsd and .dat file. I created partner, and while configuring channel i used '*Generic File 1.0*' protocol and i given folder path( i also checked, by just giving folder Name) in the folder name property of 'Transport Protocol Parameters' , i also placed sample xml file into this folder. And I created sample process in Jdev to poll data from this folder.
    build and deployment is fine for this process, but no instances is created for this process. and the Process is not Polling any data from the folder which i mentioned in the Transport Protocol Parameters.
    is this the way am doing is wrong for my current requirement or am i did any wrong step (as stated above ) ? Please help me. How can i receive data from this EDI file to my bpel process so that i can continue with the rest of the Process. Thank you in advance
    Edited by: 979032 on Feb 12, 2013 11:02 PM
    Edited by: 979032 on Feb 13, 2013 12:14 AM

    Hi Anuj ,
    I placed .dat file now. The file Picked by B2B adapter. But i was getting the Error. The error i found in Business Message as
    "Error Code     B2B-50547
    Error Description     Machine Info: (soabpm-vm) Description: Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND.
    Error Level     ERROR_LEVEL_COLLABORATION
    Error Severity     ERROR
    Error Text     Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type 810-3070-INBOUND. "
    But i created agreement for the partner and my document type name is "NewDocumentType" and in the wire message a am getting as shown below
    Id     7F00000113CFC36785C0000017D7E2B0
    Message Id     7F00000113CFC36785C0000017D7E2B0
    Business Message     7F00000113CFC367A450000017D7E2B7
    Packed Message     Packed Message
    Payload     Payload
    Protocol Message Id     EDIX12810.dat@7F00000113CFC36799B0000017D7E2B4
    Refer To Protocol Message Id     
    Protocol Collaboration Id     
    Protocol Transport Binding     filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
    Message Digest     Message Digest
    Digest Algorithm     
    Transport Protocol     File
    Transport Protocol Version     1.0
    Url     file://localhost//home/oracle/Desktop/B2BFiles/
    security     
    Transport Headers     filename=EDIX12810.dat filesize=2289 ChannelName=MyCompany_ListeningChannel file_ext=dat fullpath=/home/oracle/Desktop/B2BFiles/EDIX12810.dat timestamp=2013-02-21T01:58:21.000-08:00 MSG_RECEIVED_TIME=Thu Feb 21 02:04:53 PST 2013
    certificates     certificates
    State     ERROR
    Reattempt Count     
    Error Code     
    Error Description     
    Error Text     
    exchangeRetryInterval     
    exchangeRemainingRetry     
    Message Size     2289
    I also has one more doubt, now i created ecs,xsd and .dat by selecting sample EDI file in Document editor. suppose i want create the same ecs ,.xsd and .dat for my gentran file which is of EDI x12 810 standard but i have it in PDF format , then how can i access that to in Document editor ( in the import option, i found Gentran DDF and Gentran Unix IG and i was getting the following error while importing my PDF file
    ErrorCode : 0xC00CE508
    File Position : 10
    Line Number : 2
    LineByte Position :2
    Reason: An invalid character was found in text content error) so that i can create .dat file and i can place the same in my folder in order to pick the file.
    Please help us . Thank you .
    Regards,
    Kotresh
    Edited by: 979032 on Feb 21, 2013 2:17 AM

  • Error while calling PI webservice from EJB

    Hi Experts,
    We are getting exception while calling PI webservice from EJB which is deployed in CE 7.2. Earlier we used to call the same webservice but from different PI system at that it worked fine. Now we have changed the consumer proxies required in CE and tried to call from CE and it is throwing error. We have checked usernames and passwords that we are using to call the service and that is working fine. PI team tested from their side and li is also fine. We have also restarted the CE system but invain. Can somebody help on this.  The below is the trace that we got.
    Location: com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding
    Text: Connection IO Exception. Check nested exception for details. (Connection reset).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection reset).
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:419)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1364)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:990)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:944)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
    at $Proxy780.mioaRDMDataDistribution(Unknown Source)
    at com.MDMEventListener.callToPIWS(MDMEventListener.java:100)
    at com.MDMEventListener.ListenerMethod(MDMEventListener.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:39)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:23)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:730)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:682)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:324)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:199)
    at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:65)
    at com.sap.engine.services.webservices.servlet.SoapServlet.doPost(SoapServlet.java:61)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
    at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:404)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:204)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:440)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:429)
    at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:82)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:268)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:54)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
    at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:264)
    at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:950)
    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:414)
    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:319)
    at com.sap.engine.services.webservices.espbase.client.bindings.ClientHTTPTransport.getResponseCode(ClientHTTPTransport.java:209)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.outputSOAPMessage(SOAPTransportBinding.java:385)
    ... 78 more
    Regards,
    Pradeep

    Hi Pradeep,
    this looks like if the server is not reachable. Have you checked if both server are able to communicate? Maybe firewall rules block the request.
    Regards,
    Tobias

  • Error while calling webservice from oracle8i

    Hi,
    i am trying to call a webservice from a stored procedure in Oracle 8i.
    I am getting the following error.
    ORA-31011: XML Parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "body" does not match start element tag "br"
    Kinldy help me in knowing the cause of this issue. Also i wanted to know if
    webservices will work in oracle 8i enterprise edition release 8.1.7.4.0
    or do we need to add any patches for it.
    Thanks,
    Sathia

    This forum is for XML DB issues. XML DB is a feature of 9iR2 and later.You need t look in the XML Technology forum

  • Error getting while calling a webService from XI

    Hi
    We are getting the follwoing error while calling a webservice from XI. We Could call the same webservice from XML spy. Have checked the SOAP adapter it was running fine and the communication channel parameters too.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code area="MESSAGE">GENERAL</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault</SAP:AdditionalText><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack/><SAP:Retry>M</SAP:Retry></SAP:Error>
    Please try to help.
    Thanks
    Ramesh

    Hi
    Thanks a lot for your kind support.
    Hi Moorthy
    We have created one Asyn MI and wrapped the external definition into that, Haven't done any mapping for responce. Please find the trace below.
    Hi Bhavesh
    It was great helpful link but the payload days is not visible for this message it was containing details about sending. For some other message i could see payload.
    I Could see one differnce in the XML Spy and "XI payload before entering SOAP Adapter"
    The following line doesn’t appear in the XI payload.
    <m:StatusUpdate xmlns:m="http://localhost/StatusUpdate" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </m:StatusUpdate>
    Is this line would be embeded in the SOAP Adapter??? Please find the trace below. Please help me if you have any additional info.
    The message was successfully received by the messaging system. Profile: XI URL: Using connection AFW. Trying to put the message into the receive queue.
    Message successfully put into the queue.
    The message was successfully retrieved from the receive queue.
    The message status set to DLNG.
    Delivering to channel: CC_SOAP_Rcvr_D_Pick_ZALEAUD
    SOAP: request message entering the adapter
    SOAP: completed the processing
    SOAP: response message received 4cb3fab0-7fc5-11db-8c5a-000f203c93e0
    SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    SOAP: sending a delivery error ack ...
    SOAP: sent a delivery error ack
    Exception caught by adapter framework: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    Delivery of the message to the application using connection AFW failed, due to: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault.
    The asynchronous message was successfully scheduled to be delivered at Wed Nov 29 16:23:51 GMT 2006.
    The message status set to WAIT.
    Retrying to deliver message to the application. Retry: 1
    Kind Regards
    Ramesh
    Message was edited by:
            Ramesh Reddy Pothireddy

  • Calling a webservices from Oracle 10G ( 10.2.0.2)

    Hi:
    I am in the process of putting a database Java stored procedure that can call an external webservices.
    PL/SQL Wrapper -> Java Stored Procedure-> External Web services
    I loaded the following jars in the dataase.
    dbwsa.jar
    dbwsclient.jar
    1. I am having issues consuming this external webservice from SQL*PLUS. Do you know whether I need to load any other JARS ?
    2. How can I debug this issue ? I enabled TCP Monitor in JDeveloper and don't see anything when I call the PL/SQL wrapper in SQL*PLUS.
    3. I can use a Java client and tested the Web services OK.
    error message:
    SQL> l
    1 declare
    2 x varchar2(100);
    3 begin
    4
    5 x := tester.test_db1();
    6* end;
    SQL> /
    calling
    http://XX.XX.YY.121:8988/Application9-ViewController-context-root/MyWebService1S
    oapHttpPort
    java.rmi.RemoteException: Error parsing envelope; nested exception is:
    javax.xml.soap.SOAPException: Error parsing envelope
    at
    view.proxy.runtime.MyWebService1SoapHttp_Stub.sayhello2(MyWebService1SoapHttp_St
    ub.java:99)
    at
    prpd.MyWebService1SoapHttpPortClient.sayhello2(MyWebService1SoapHttpPortClient.j
    ava:41)
    at prpd.TEST_DB.TEST_DB1(TEST_DB.java:21)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope
    at
    oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplemen
    tation11.java:103)
    at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:75)
    at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:934)
    at
    oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:692)
    at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:688)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:207)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    at
    view.proxy.runtime.MyWebService1SoapHttp_Stub.sayhello2(MyWebService1SoapHttp_St
    ub.java:76)
    ... 2 more
    Caused by: java.lang.IllegalArgumentException
    at oracle.xml.parser.v2.XMLParser.setAttribute(XMLParser.java:794)
    at
    oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplemen
    tation11.java:54)
    ... 9 more
    PL/SQL procedure successfully completed.
    SQL> /
    thx
    Raj

    thanks Tugduall for the comments. here are the instructions I followed to create a java stored procedure that can call a webservices. Unfortunately, this seems like a very complex task. Do you have any ideas how I could debug or troubleshoot this issue ?
    Please note that I used JDeveloper to generate the client code.
    ========================================================
    1. download the dbws-callout-utility-10R2.zip from OTN at:
    http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
    2. create an application/project with 1.4 JDK.
    3. create a web service by ‘Business Tier’->Web Service->Web Service Proxy->UDDI
    4. next… to ‘Search for’, type ‘quote’.
    5. from the list select one. For me ‘Quote of day’ was picked.
    6. click Next all the way to Finish.
    7. from the ‘Application Sources’ select ‘QuotoProxy’ then find its main method.
    8. at the section
    // Add your own code here, add the line like:
    System.out.println("quote "+myPort.getQuote());
    9. run it to see its return.
    10. cteate a class that has a method to call client method to be invoked (static)
    like the following:
    package dbws;
    import dbws.QotdPortClient;
    public class MainClientStub {
    public MainClientStub() {
    public static String getMyQoute(){
    QotdPortClient myClient = null;
    try {
    myClient = new QotdPortClient();
    return myClient.getQuote();
    } catch (Exception e) {
    e.printStackTrace();
    return null;
    note that the package name in your project.
    11. create a deployment profile as ‘JAR File’. Uncheck the box ‘Project Dependencies’
    12. deploy it to the local box. ‘Deploy to JAR File’.
    13. unzip the dbws-callout-utility-10R2.zip to get dbwsa.jar.
    14. execute the following from command line:
    loadjava –user test/[email protected] -resolve –verbose –synonym –grant public to dbwsa.jar myarchive1.jar
    loadjava -user test/test@orcl1020 -resolve -verbose -synonym -genmissing -grant public myarchive1.j
    ar dbwsa.jar
    loadjava -user sys/<sys_pass> -resolve -verbose -synonym -genmissing -grant public myarchive1.jar dbwsa.jar
    15. create a function like the following:
    CREATE OR REPLACE FUNCTION teststub RETURN VARCHAR2 AS
    LANGUAGE JAVA NAME ‘dbws.MainClientStub.getMyQoute() return java.lang.String’;
    16. Run at sqlplus: Select teststub from dual;
    ======================================================

  • XML Error while calling webservice from oracle function.

    I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
    select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
    ERROR at line 1:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00225: end-element tag "H4" does not match start-element tag "P"
    Error at line 9
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
    ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11

    The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call

  • Invoking a webservice from Oracle ODI 11.1

    Hello there, new to this forum but I am having trouble invoking a webservice from a package within ODI. The error message I am recieving is as follows.
    com.sunopsis.wsinvocation.SnpsWSInvocationException: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:73)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
         at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:139)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
         at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:188)
         at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
         at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
         ... 6 more
    Caused by: java.lang.ExceptionInInitializerError
         at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
         at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
         at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         ... 1 more
    Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl
         at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java:533)
         at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
         at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
         at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
         at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:139)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
         ... 1 more
    Eventually, I would like to query a documentum DB but I can't get a simple webservice call to work correctly. Any help will greatly be appreciated.

    This forum is about Oracle Database. not about Oracle Data Integrator.
    Kindly post in the correct forum https://forums.oracle.com/forumID=374
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Mid 2010 MacBook Pro randomly restarting

    Hello, I wanted to drop Apple an email regarding this issue, but they seem careless about customers living in countries with Apple resellers only and don't think they might need to get expert help via email. Better buy a PC next time. I hope I will a

  • I can't sync my playlists from iTunes to my phone!

    I can't sync my playlists! I've tried dragging the playlist to my phone and it says it's syncing but it's not appeared on my phone. I click on the drop down menu from the phone and it says that all the playlists are there, but they're not actually th

  • Restoring iphone 3gs to 4s running ios10.4.11 on mac...HELP!!

    I am currently running ios 10.4.11 on my Mac and itunes 9.2. I had a 3gs and i am trying to restore everything onto my new 4s. The problem is that itunes will not let me download itunes10 without ios10.5. is there an easy way round this?

  • Does wireless transfer of photos and videos from iPhone 4 to iPad 2 also use broadband bandwidth?

    I have an iPhone 4 and iPad 2 and our house has wifi and a BT Wireless Hub . My question is:  When photos and videos are automatically transferred from the iPhone to the iPad over the BT wireless hub, does this also use any broadband bandwidth?

  • Mail to NWBPM Scenario

    Hello Experts, We are working on NetWeaver 7.4 – Process Orchestration. We have a scenario where on arrival of mail a bpm process gets triggered. We are using PI mail adapter to trigger the BPM on receiving mail from mail server. We are able to map p