Async WebService processed as synchronous

Hi,
I have the following scenario on a SAP XI 7.0
webService -> R/3 Idoc
As I don't want to use the sync/async bridge I defined the webService sender channel with QoS = Exactly Once to make it asynchronous.
The calling client (correctly) gets back an http 200 response. However, in the SAP XI monitoring I see QoS = Best Effort, processing mode = synchronous and the error message:
"The process does not support the given synchronous interface or does not support synchronous messages
Exception CX_WAPI_DEF_PROPERTY_NOT_FOUND occurred"
All interfaces are defined asynchronous.
Has anybody an idea?
Thanks, Petra

Petra,
Have you defined an Asynch outbound interface and followed the wizard in ID to create your WSDL? Also, in Sender SOAP channel, make the setting as EO.
Regards
Jai

Similar Messages

  • WLI: Can't call synchronous web services from async business process?

    I have three web services, X, Y, and Z, that I want to call from a business process B. X is asynchronous, Y and Z are synchronous. Therefore, B must be asynchronous. B is called from another business process, A, that must be synchronous. So, I have A call B synchronously using the SyncAsync pattern described in "Best Practices for Oracle WebLogic Integration Application Life Cycle". This worked fine in earlier development when I was only calling X from B. However, when I try to add synchronous calls to Y or Z and run A, I get the following error message from B:
    com.bea.control.classic.ServiceControlException: Attempting to perform the client
    callback 'doY' while servicing a blocking request from the same client.  This can
    result in a deadlock condition.  An @jws:message-buffer tag should be placed on
    the synchronous operation or on this callback.This is obviously an old error message, since it recommends an annotation in the old style. Anyway, what can I do? Shouldn't it be possible to invoke web services synchronously from process B? If so, then how? I don't know what synchronous operation it's talking about -- is it A's call to B? As for the callback, I don't see a separate callback. Annotating the SBControl's method with weblogic.jws.MessageBuffer did no good, and I can't use com.bea.control.annotations.MessageBuffer because the method doesn't return void. Can I make this work without rewriting B, and if so, how? It'd be nice if I could call X, and then call Y and Z while waiting for X's callback.
    Alternatively, I could rewrite my processes so that A calls a new process C synchronously, which in turn calls B (which calls X), Y, and Z. That should work, right? Thanks for any help y'all can give me.

    Greetings everyone,
    We have found a solution to this problem, and it is very much like one offered by Trinidad, except there was some confusion in my understanding.
    http://sql-patch/B1WS/webreferences/LoginService.wsdl
    Indeed, the url http://localhost/Service.asmx appears in the WSDL files, as well as the web.config.
    I changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl in the WSDL files only.  This did not work.
    We then found it in the web.config file also, and changed it to http://sql-patch/B1WS/webreferences/LoginService.wsdl also.
    The reason I was using this URL is because the files exist there.  Looking at IIS, there is no Service.asmx anywhere in the B1WS path, and this confused me.
    This got us one step further, but now a new error was showing itself -- 405 Method Not Allowed.
    It turns out that the URL we needed to change it to is this:
    http://sql-patch/B1WS/Service.asmx
    That is, we replace localhost with the name of the machine, and NOTHING else.
    This seems to have solved it for us, and is hopefully useful for you.
    Thanks all,
    Mike

  • How to change a Async BPEL process into Sync bpel process

    Hi All,
    Can we change a bpel process which has been created by choosing the template as Asynchronous BPEL Process and after my requirement has
    been changed i want to change my bpel process into synchronous bpel process. Is it possible to change the process or else we have to delete the whole process and once again we have to create a bpel process with synchronous template.
    IF it possible to change the process from Async to sync how. is there any demo link on this. If possibel can anyone share a link on this.
    Regards,
    CH

    Diff between ASYNC & SYNC
    Composite.xml
    SYNC: In service part in only interface.wsdl & binding.ws will be there
    ASYNC: in service part interface.wsdl & binding.ws and one more callback binding.ws is there.
    In .BPEL FILE
    SYNC: In Partner Link name, partnerLinkType, MyRole will be there .
    ASYNC: In partner Link name ,partnerLinkType,MyRole,Partner Role also will be there.
    *.WSDL File*
    SYNC: in portType Input & Output both are there , in partnerLinkType only one role is there i.e Requester Role no provider.
    ASYNC: in portType only Input will there,in PartnerLinkType two roles will be there ProviderRole n Requester Role.
    Also change the activity in the BPEL from Reply to Invoke in the end.
    Respective to your requirements you can change your BPEL to Sync/ASync.
    I hope it will help.

  • Delays in ECC async background processing

    Hi all,
    Has anyone dealt with delays in ECC async background processing?  On our development system the delays are running in the 3-20 second range.
    I  have a BLS transaction that
    1.  Creates a Time Ticket for operation confirmation
    2.  Does COWBPACK to create handling units for packing
    3.  Does COWBHUWE to do a goods receipt
    I had to put a retry loop in #2 to wait for the Time Ticket to update the yield on the operation
    I also had to put a retry loop in #3 to wait for an application lock to be released (by the time ticket create?)
    Then I had to put a check/retry loop at the end to wait for the delivered qty on the order header to get updated after the goods receipt.
    Is there a way to request synchronous transactions?
    Any insights as to why this is happening and/or a better way to handle the situation would be greatly appreciated.
    --Amy Smith
    --Haworth

    Hi Salvatore,
    A single custom Function Module...  So the delays would be inside the BAPI in the ECC.  This would certainly be more efficient.  I will kick this around with our ABAP consultant.
    Thanks,
    --Amy Smith
    -- Haworth
    Just FYI: After the BAPI_PRODORDCONF_CREATE_TT (create time ticket) we are running custom BDC function modules to do COWBPACK and COWBHUWE   Which are create handling units and goods receipt.  Here is what I believe is happening from the error messages I see.  Handling Units need to wait until the yield is updated.  Goods receipt needs the application lock on the production order.

  • Can we invoke a asynchronous BPEL process from synchronous and vice versa

    Hi,
    Can we invoke a BPEL asynchronous process from synchronous and vice versa. If so how to perform that.
    thanks,
    Vijay

    Yes you can
    sync -- calling --> Asyncc
    Async -- calling --> syncc
    Perfomance is no issue, depending on your requirements. Not the Syncprocesses are short-running processes, these will time-out after 30 seconds, if no answer is coming from the async process.
    Marc
    http://orasoa.blogspot.com

  • Async ESB Process

    Is it possible to invoke an async process as you can in BPEL and wait for a response as in BPEL.
    I have an async process that may run for 30 mins, this is too long for a sync process so i want to call it asynchronously and wait for the response. When I call a async process it has no reply.
    any help appreciated.
    cheers
    James

    Can you please help me understand this better.
    As u said an asynchronous process connected to ESB is being called.
    There would be one Routing Service for the initiate operation.
    How to implement the callback from this process to ESB and then in turn to the calling process.
    to implement this callback we would have to create another SOAP service in ESB project mapping it with the onResult operation and also a routing service of similar nature.
    this has effectively created 2 ESB endpoints but instead of 1 SOAP service there are 2 SOAP services.
    Hence on invocation the calling process never gets the response back
    Is my understanding correct.
    in short i want to understand how can i connect an async BPEL process to my ESB in a way that the calling process can invoke and then get a callback of the result.

  • What does the 'rtcli async executor process' process do on a Cisco ASA and why would it cause high CPU load?

    I noticed that the CPU on our ASA had jumped from around %4 to 30% consistently a few weeks back.  The process below seems to be causing the load, but I can't find any information on what it does and how to resolve the issue.
    ASA# sh proc cpu-usage sorted non-zero
    PC         Thread       5Sec     1Min     5Min   Process
    0x08a24505   0x1bdb0124    25.4%    25.6%    25.6%   rtcli async executor process
    0x081ecc51   0x1bdc0f3c     4.7%     4.3%     4.1%   Dispatch Unit
    0x08e4687c   0x1bdc0528     0.3%     0.3%     0.3%   ssm4ge_cfg_poll_thread
    0x08a496d0   0x1bdbecf8     0.1%     0.1%     0.1%   Unicorn Admin Handler
    0x0866d56e   0x1bdafd1c     0.1%     0.1%     0.1%   ARP Thread
    A little more background that has me concerned is that I have the exact time when the jump occurred.  Since that time, I've lost ssh access to the ASA and can only access it via Telnet internally or the ASDM.  I checked the certificates and a new one was generated exactly when the spike occurred.  I am unsure wether or not that was a system triggered certificate generation, or if I have a security issue I need to address.  Heartbleed maybe??  
    Any insight would be greatly appreciated.

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Sorry I wasn't clear, but when I was asking about "not a lot of traffic", I was wondering about actual  volume passing through the 2811.
    When I asked about "kind of tunnels", I was wondering about how they are configured.  E.g. GRE or IPSec/GRE or VTI, encryption options, other tunnel interface options.
    Perhaps the easiest way to check for fragmentation, is packet analyze the traffic passing through the 2811.

  • Async Interface being called synchronously via Web service/SOAP

    Hi,
    I have an asynchronous interface to receive data into XI which is being sent to a file system, I can successfully use this interface to send data to XI using the file sender communication channel, and the monitoring shows the same as asynchronous.
    The problem is when i want to use the same setup to send data from a .Net client using SOAP/Web service. This time if I go to monitoring I get to see that the call is synchronous..????... which is quite baffeling...
    I am not calling the XI webservice in synchronous mode I am calling the BeginInvoke method thus making an async call.
    what is it that I have to do to get the interface to behave as async on being called from a webservice?
    Thanks
    Aniruddha

    Thanks guys. I do understand that this is a old post. However I cannot find the following information. I too have C# Web App call SAP PI BAPI web service getting [NullReferenceException: Object reference not set to an instance of an object.]
    Extract of WSDL: In the Request section: How do I initialize these fields:
    COMPTEGENERAL
                   ITEMS occurs 0 to unbounded.
                             NUMERO_OU_NO_DE_COMPTE String
                             COMPTE_GENERAL String
                             CENTRE_DE_COUTS String
                             MONTANT_DEVISE Decimal
    webservicename.COMPTEGENERAL[] = new Mywebservice.Request FromWS[0].ToString();// Does not Work.
       <xsd:element name="COMPTEGENERAL">
                <xsd:annotation>
                  <xsd:appinfo source="http://sap.com/xi/TextID">9ce79547e32411e2a321f4ce4610676a</xsd:appinfo>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="0" maxOccurs="unbounded" name="ITEM">
                      <xsd:annotation>
                        <xsd:appinfo source="http://sap.com/xi/TextID">85ebea01eedf11e2bbe7f4ce4610676a</xsd:appinfo>
                      </xsd:annotation>
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="NUMERO_OU_NO_DE_COMPTE" type="xsd:string">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebe9faeedf11e29c4bf4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="COMPTE_GENERAL" type="xsd:string">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebe9fceedf11e28cd7f4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element minOccurs="0" name="CENTRE_DE_COUTS" type="xsd:string">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebe9fdeedf11e2b57df4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="MONTANT_DEVISE">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebea00eedf11e2bdcbf4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:decimal">
                                <xsd:totalDigits value="18" />
                                <xsd:fractionDigits value="4" />
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </wsdl:types>

  • Identification of Async/Sync Process

    Hey Experts,
    What are the points i need to look for, to identify an Asynchronous Process from a Synchronous Process?
    I know that an Async Process will have a Callback (Invoke Activity) in the end compared to a Reply of a Sync Process.
    Are there any more indications to figure out the difference?
    Thanks in advance.

    Hey guys,
    Thanks you for your responses,
    I have downloaded a BPMN model from a BPA server onto my jDeveloper.
    the process is supposed to be a Synchronous process, and from the above tips, i am able to get the followin details from the WSDL
         <wsdl:portType name="Resolve_Query">
              <wsdl:operation name="process">
                   <wsdl:input message="client:Resolve_QueryRequestMessage"/>
                   <wsdl:output message="client:Resolve_QueryResponseMessage"/>
              </wsdl:operation>
         </wsdl:portType>
    So, this makes it a Synchronous process. But the BPEL view has a Invoke activity in the end.
    can i try removing it and add a Reply activity? will that cause any problem in the future?
    Also, i got to know from my colleague that we can also have Synchronous Process with callback.
    can anyone shed some light on what we mean by Callback here?
    Thanks!

  • Sync and async bpel process

    Hi,
    I was reading about the synchronous and asynchronous process in the forum, I have also some similar problem.
    some of my questions are:
    If suppose my BPEL process is going to take around 2 mins or more to finish , then I cannot chose synchronous BPEL process as the default timeout is 45sec and not recomend to increase the time.
    As the above is true, I have created a asynchronous BPEL process, now I want the reply back from asynchronous, is this is possible? even I found that when I invoke the partner link of asynchronous BPEL process it doesn't ask for the output variable. SO if any process going to take longer time and need response from that, whats the solution.
    Regards,
    Sreejit

    Hi James,
    Thanks, yes you are correct that receive is required for the response from async process.
    Do you have any idea how we can get the response back if we are calling the asyn process outside the SOA server, say from PL/SQL or Java API. PL/SQL can call the sync process and get the response back but in case of async process it returns null as the callback response of async not send the response to database. Is this possible with java api, any link or sample which illustrate this or any step suggestion. Actually I am trying to call the BPEL process from Oracle Apps R12 E-Business suite.
    Regards,
    Sreejit

  • Differnce between sync and async webservices

    All,
    What is the difference between sync and async web services?
    Actually i am looking for a web service, which doesn't return a response. is this achievable?
    Thanks

    SRAVZ wrote:
    What is the difference between sync and async web services?from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
    Actually i am looking for a web service, which doesn't return a response. is this achievable?it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.
    Edited by: jtahlborn on Dec 2, 2012 9:22 AM

  • Way to create async webservice for BPEL to interact

    In Orderbooking tutorial, there is a Rapid Distributors async BPEL service. However, if we would like to implement Rapid Distributor in Java WebServie in JDevelop 10g, is it possible to do so?
    Does anyone have experience on creating async Java Web service for BPEL to interact in Oracle JDevelop 10g?

    Blackmirror wrote:
    I need to communicate external .NET webservice through our java client.
    Can someone tell me which is the best way to create client stubs(java based) ?No. And if they could it would be their opinion.
    I am trying to use jaxws based client from netbeans but it refused to create ..said duplication of classes ..its already generated and u need manually costumize wsdl :-( If you have an error, post it or search Google for info on it. Not sure what you're doing wrong and I don't use NetBeans.
    As i dont want to go through this mess ,i want some easy way how can i generate java stubs without doing too much editing in wsdl.Huh? You don't have to editing the WSDL to generate a stub.

  • Running multiple async ESB processes in cluster does not work .

    Hi !
    I created a set of simple esb-processs that fetches from one db and stores in some other.
    I did the routing async .
    I wrote a java program that fills the source tables with data and can see that the data is transferred to destinations .
    But when I start node 2 in the cluster it stops working, some of the records never show up in their destinations.
    In the esb console I can see instances for the missing data where the inbound adapter is marked green but the routing service is 'being processed' forever.
    Anyone with a hint on where to look ?

    All of the records processed by node 2 are taking forever or only some of them?
    If it is during initial period then explanation would be during start it takes a while to stabelize (some process might start earlier than others). Proabably you can see that in logs as well.
    Thanks,
    Chintan

  • Async BPEL Process Invocation...

    We have a business process, which when invoked from BPEL console works fine, however, when we invoke it from an web application of ours, it does gets initiated, but fails later.
    We have Apache Axis deployed in the same OC4J server as the Oracle BPEL PM(10.1.2.0.2), which exposes few EJBs as SOAP Services.
    The Business Process invokes couple of SOAP Services and then creates a Task and then waits for task completion and based on task action invokes two other SOAP services.
    When we invoke it from the BPEL Console, everything works fine. It also works fine, if we invoke it first (after startup) from BPEL Console and then through our web application.
    However, if we invoke it first through our web application, then it does initiates, but fails at the Task creation. If we try to hit the BPEL Console, we get this error
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
    Attachments:
    Build Information:
    Oracle BPEL Server version 10.1.2.0.2
    Build: 2196
    Build time: Tue Jan 10 12:31:53 UTC 2006
    Build type: release
    Source tag: BPEL_10.1.2.0.2_GENERIC_060110.1200
    Exception Message:
    [java.lang.Exception]
    Failed to create "ejb/collaxa/system/ServerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/ServerBean not found
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:164)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:333)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:120)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
    <b>Nothing works after that, unless we re-start.</b>
    Once we re-start, BPEL Console works fine.
    Investigating the flow of the business process, we find the "initiateTask" of the workflow is fine, but it failed at "initiateTaskActionHandler" with the following error:
    <remoteFault>
    <part name="code" >
    <code>WSDLReadingError</code>
    </part>
    <part name="summary" >
    <summary>Failed to read wsdl. Failed to read wsdl at "http://Uranus:9700/orabpel/default/TaskActionHandler/TaskActionHandler?wsdl", because "WSDLException: faultCode=INVALID_WSDL: The document: http://Uranus:9700/orabpel/default/TaskActionHandler/TaskActionHandler?wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.". Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly. </summary>
    </part>
    </remoteFault>
    <b>Below is the code as to how we are invoking the Business Process...using orabpel taglibs...</b>
    <orabpel:locator domainId="default" password="bpel" contextEnv="jndi">
    <orabpel:deliveryService processId="ApprovalProcess">
    <orabpel:post title="ApprovalProcess">
    <orabpel:part name="payload">
    <customerObj xmlns="http://xmlns.misys.com/ApprovalProcess/approval">
    <applicationNo><%= customer.getApplicationNo() %></applicationNo>
    <customerId><%= customer.getCustomerId() %></customerId>
    <primaryFirstName><%= customer.getPrimaryFirstName() %></primaryFirstName>
    <primaryLastName><%= customer.getPrimaryLastName() %></primaryLastName>
    <primaryCardName><%= customer.getPrimaryCardName() %></primaryCardName>
    <primaryDay><%= customer.getPrimaryDay() %></primaryDay>
    <primaryMonth><%= customer.getPrimaryMonth() %></primaryMonth>
    <primaryYear><%= customer.getPrimaryYear() %></primaryYear>
    <primaryDob><%= customer.getPrimaryDob() %></primaryDob>
    <primarySex><%= customer.getPrimarySex() %></primarySex>
    <primaryPanNo><%= customer.getPrimaryPanNo() %></primaryPanNo>
    <accountType><%= customer.getAccountType() %></accountType>
    <cardType><%= customer.getCardType() %></cardType>
    <primaryStreet1><%= customer.getPrimaryStreet1() %></primaryStreet1>
    <primaryStreet2><%= customer.getPrimaryStreet2() %></primaryStreet2>
    <primaryLandmark><%= customer.getPrimaryLandmark() %></primaryLandmark>
    <primaryCity><%= customer.getPrimaryCity() %></primaryCity>
    <primaryState><%= customer.getPrimaryState() %></primaryState>
    <primaryCountry><%= customer.getPrimaryCountry() %></primaryCountry>
    <primaryPinCode><%= customer.getPrimaryPinCode() %></primaryPinCode>
    <primaryOffPhoneNo><%= customer.getPrimaryOffPhoneNo() %></primaryOffPhoneNo>
    <primaryOffExtnNo><%= customer.getPrimaryOffExtnNo() %></primaryOffExtnNo>
    <primaryResPhoneNo><%= customer.getPrimaryResPhoneNo() %></primaryResPhoneNo>
    <primaryMobileNo><%= customer.getPrimaryMobileNo() %></primaryMobileNo>
    <primaryEmailId><%= customer.getPrimaryEmailId() %></primaryEmailId>
    <productInterest><%= customer.getProductInterest() %></productInterest>
    <sourceReferral><%= customer.getSourceReferral() %></sourceReferral>
    <channel><%= customer.getChannel() %></channel>
    <accountNo><%= " " %></accountNo>
    <documentsSubmitted><%= customer.getDocumentsSubmitted() %></documentsSubmitted>
    <creditRating><%= 0.0 %></creditRating>
    <eligibleCustomer><%= false %></eligibleCustomer>
    <segment><%= " " %></segment>
    <action><%= " " %></action>
    <remarks><%= " " %></remarks>
    <approverEmail><%= customer.getApproverEmail() %></approverEmail>
    <bPELProviderUrl><%= customer.getBPELProviderUrl() %></bPELProviderUrl>
    </customerObj>
    </orabpel:part>
    </orabpel:post>
    </orabpel:deliveryService>
    </orabpel:locator>
    <b>We also tried this way...same result</b>
    Properties jndi = new Properties();
    jndi.put(Context.PROVIDER_URL,"ormi://localhost:23791/orabpel");
    jndi.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    jndi.put(Context.SECURITY_PRINCIPAL, "admin");
    jndi.put(Context.SECURITY_CREDENTIALS, "welcome");
    jndi.put("dedicated.connection", "true");
    String xml = "....";
    NormalizedMessage input = new NormalizedMessage( );
    input.addPart("payload", xml);
    String conversationId = String.valueOf(System.currentTimeMillis());
    input.setProperty(NormalizedMessage.TITLE, "Dynamic CustomerRegistration Invocation");
    input.setProperty(NormalizedMessage.CONVERSATION_ID, conversationId);
    input.setProperty(NormalizedMessage.CREATOR, "Oracle BPEL");
    Locator locator = new Locator("default","bpel",jndi);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    deliveryService.post("ProductRegistration", "initiate", input );
    <b>The entry in application.xml for the web application is as follows:</b><br/>
    <web-module id="registration" path="../../home/applications/registration.war"/>
    The entry in http-web-site.xml for the web application is as follows:<br/>
    <web-app application="orabpel" name="registration" load-on-startup="true" root="/registration"/>
    <web-app application="default" name="registration"      root="/registration"/>
    I have tried to provide all possible relevant info, if you need more, do reply back to me.
    Thanks in advance for helping us to resolve this issue.
    |Soumen|

    We have a business process, which when invoked from BPEL console works fine, however, when we invoke it from an web application of ours, it does gets initiated, but fails later.
    We have Apache Axis deployed in the same OC4J server as the Oracle BPEL PM(10.1.2.0.2), which exposes few EJBs as SOAP Services.
    The Business Process invokes couple of SOAP Services and then creates a Task and then waits for task completion and based on task action invokes two other SOAP services.
    When we invoke it from the BPEL Console, everything works fine. It also works fine, if we invoke it first (after startup) from BPEL Console and then through our web application.
    However, if we invoke it first through our web application, then it does initiates, but fails at the Task creation. If we try to hit the BPEL Console, we get this error
    Oracle BPEL Process Manager Full Cycle
    An unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.
    Attachments:
    Build Information:
    Oracle BPEL Server version 10.1.2.0.2
    Build: 2196
    Build time: Tue Jan 10 12:31:53 UTC 2006
    Build type: release
    Source tag: BPEL_10.1.2.0.2_GENERIC_060110.1200
    Exception Message:
    [java.lang.Exception]
    Failed to create "ejb/collaxa/system/ServerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/ServerBean not found
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:164)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:333)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:120)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
    <b>Nothing works after that, unless we re-start.</b>
    Once we re-start, BPEL Console works fine.
    Investigating the flow of the business process, we find the "initiateTask" of the workflow is fine, but it failed at "initiateTaskActionHandler" with the following error:
    <remoteFault>
    <part name="code" >
    <code>WSDLReadingError</code>
    </part>
    <part name="summary" >
    <summary>Failed to read wsdl. Failed to read wsdl at "http://Uranus:9700/orabpel/default/TaskActionHandler/TaskActionHandler?wsdl", because "WSDLException: faultCode=INVALID_WSDL: The document: http://Uranus:9700/orabpel/default/TaskActionHandler/TaskActionHandler?wsdl is not a wsdl file or does not have a root element of "definitions" in the "http://schemas.xmlsoap.org/wsdl/" namespace or the "http://www.w3.org/2004/08/wsdl" namespace.". Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly. </summary>
    </part>
    </remoteFault>
    <b>Below is the code as to how we are invoking the Business Process...using orabpel taglibs...</b>
    <orabpel:locator domainId="default" password="bpel" contextEnv="jndi">
    <orabpel:deliveryService processId="ApprovalProcess">
    <orabpel:post title="ApprovalProcess">
    <orabpel:part name="payload">
    <customerObj xmlns="http://xmlns.misys.com/ApprovalProcess/approval">
    <applicationNo><%= customer.getApplicationNo() %></applicationNo>
    <customerId><%= customer.getCustomerId() %></customerId>
    <primaryFirstName><%= customer.getPrimaryFirstName() %></primaryFirstName>
    <primaryLastName><%= customer.getPrimaryLastName() %></primaryLastName>
    <primaryCardName><%= customer.getPrimaryCardName() %></primaryCardName>
    <primaryDay><%= customer.getPrimaryDay() %></primaryDay>
    <primaryMonth><%= customer.getPrimaryMonth() %></primaryMonth>
    <primaryYear><%= customer.getPrimaryYear() %></primaryYear>
    <primaryDob><%= customer.getPrimaryDob() %></primaryDob>
    <primarySex><%= customer.getPrimarySex() %></primarySex>
    <primaryPanNo><%= customer.getPrimaryPanNo() %></primaryPanNo>
    <accountType><%= customer.getAccountType() %></accountType>
    <cardType><%= customer.getCardType() %></cardType>
    <primaryStreet1><%= customer.getPrimaryStreet1() %></primaryStreet1>
    <primaryStreet2><%= customer.getPrimaryStreet2() %></primaryStreet2>
    <primaryLandmark><%= customer.getPrimaryLandmark() %></primaryLandmark>
    <primaryCity><%= customer.getPrimaryCity() %></primaryCity>
    <primaryState><%= customer.getPrimaryState() %></primaryState>
    <primaryCountry><%= customer.getPrimaryCountry() %></primaryCountry>
    <primaryPinCode><%= customer.getPrimaryPinCode() %></primaryPinCode>
    <primaryOffPhoneNo><%= customer.getPrimaryOffPhoneNo() %></primaryOffPhoneNo>
    <primaryOffExtnNo><%= customer.getPrimaryOffExtnNo() %></primaryOffExtnNo>
    <primaryResPhoneNo><%= customer.getPrimaryResPhoneNo() %></primaryResPhoneNo>
    <primaryMobileNo><%= customer.getPrimaryMobileNo() %></primaryMobileNo>
    <primaryEmailId><%= customer.getPrimaryEmailId() %></primaryEmailId>
    <productInterest><%= customer.getProductInterest() %></productInterest>
    <sourceReferral><%= customer.getSourceReferral() %></sourceReferral>
    <channel><%= customer.getChannel() %></channel>
    <accountNo><%= " " %></accountNo>
    <documentsSubmitted><%= customer.getDocumentsSubmitted() %></documentsSubmitted>
    <creditRating><%= 0.0 %></creditRating>
    <eligibleCustomer><%= false %></eligibleCustomer>
    <segment><%= " " %></segment>
    <action><%= " " %></action>
    <remarks><%= " " %></remarks>
    <approverEmail><%= customer.getApproverEmail() %></approverEmail>
    <bPELProviderUrl><%= customer.getBPELProviderUrl() %></bPELProviderUrl>
    </customerObj>
    </orabpel:part>
    </orabpel:post>
    </orabpel:deliveryService>
    </orabpel:locator>
    <b>We also tried this way...same result</b>
    Properties jndi = new Properties();
    jndi.put(Context.PROVIDER_URL,"ormi://localhost:23791/orabpel");
    jndi.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    jndi.put(Context.SECURITY_PRINCIPAL, "admin");
    jndi.put(Context.SECURITY_CREDENTIALS, "welcome");
    jndi.put("dedicated.connection", "true");
    String xml = "....";
    NormalizedMessage input = new NormalizedMessage( );
    input.addPart("payload", xml);
    String conversationId = String.valueOf(System.currentTimeMillis());
    input.setProperty(NormalizedMessage.TITLE, "Dynamic CustomerRegistration Invocation");
    input.setProperty(NormalizedMessage.CONVERSATION_ID, conversationId);
    input.setProperty(NormalizedMessage.CREATOR, "Oracle BPEL");
    Locator locator = new Locator("default","bpel",jndi);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    deliveryService.post("ProductRegistration", "initiate", input );
    <b>The entry in application.xml for the web application is as follows:</b><br/>
    <web-module id="registration" path="../../home/applications/registration.war"/>
    The entry in http-web-site.xml for the web application is as follows:<br/>
    <web-app application="orabpel" name="registration" load-on-startup="true" root="/registration"/>
    <web-app application="default" name="registration"      root="/registration"/>
    I have tried to provide all possible relevant info, if you need more, do reply back to me.
    Thanks in advance for helping us to resolve this issue.
    |Soumen|

  • Async webservice with Callback

    Hi Experts,
    How to call a Asynchronous Microsoft webservice(Used callback mechanism) from XI?
    First I have to call the Microsoft webservice, it will return acknowledgement about the status. Again I have to invoke the webservice then it(microsoft) will return the response.
    How to do the above steps using XI? Please share your suggestions
    Regards
    Sara

    Hi Sara,
    Major thing is if ur  webservice accepts some data and gives some response, then both input and output should get imported into XI as seperate message types (Under Messages Tab) as shown in step 1 of ur referred weblog
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    So there u must have 2 messages: 1 for request and 1 for response. This depends upon ur wsdl structure. Once u get these messages, u could proceed with ur message mapping
    Steps are,
    1.import the wsdl file in Integration Repository in Integration Objects->external definitions.
    2.then create message types using the imported WSDL request and response.
    3.Other things are as usual.
    using SAP XI we can easily connect to webservices pls chk the links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c36ef6-dab9-2910-6ca9-a96b820de582
    /people/yomeshp.sharma/blog/2006/05/31/integrating-jdedwards-system-with-xi-using-iway-adapter-part--iii
    /people/anton.wenzelhuemer/blog/2006/03/05/integrating-php-and-abap-using-webservices
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
    Regards,
    Vinod.

Maybe you are looking for

  • How to block changes of desktop background image

    I manage a 30-computer Mac lab in a public high school and I would like to prevent users from changing the desktop background image. As far as I know, there are two ways to change the desktop background image: through System Preferences and by right-

  • Preview drops out characters in PDF

    hi this is not a new problem to Mavericks. It is just a continuing problem even into Mavericks. My bank sends PDFs of statements. But the PDF is not readable by Preview. Preview drops out a character every few characters so it ends up being like gibb

  • Problem with activation subVI

    Hello everybody!!! Who tells me, why the subVi doesn't start pushing  ok botton?? Thanks a lot!!!! Solved! Go to Solution. Attachments: problem.jpg ‏187 KB

  • PDF workflow : pre-press preparations in Illustrator interfere  :  Suggestions?

    Our packaging graphics group adopted a PDF workflow which has eliminated the clutter common of art file submissions. However, one print provider must preform additional preparations to the artwork, inserting supplier insignia and adding special press

  • Camera RAW 8.3 For CS6

    Update Manager popped up - told me there was an Update for ACR 8.3 for both Photoshop CS6 and Premier Elements 12 Dutifully started the update - then Application Manager crashed - no matter what I do I get the error U43M1U49 so want to try a manual d