Problem in assign after service callout

Hello,
I'm using OSB 11 g. I have a problem with assign after a service callout.
The XML returned after the service callout is listed below -
<S:Body xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<getCreditRatingResponse xmlns:ns2="http://www.alsb.com/order/" xmlns="http://www.alsb.com/">
<return>750</return>
</getCreditRatingResponse>
</S:Body>
I have created a separate stage with an assign for storing the return value (750) into the variable creditRating, and both of the following statements are not working (unable to see assigned $creditRating in the trace)
1. $soapResponseBody/alsb:return/text()
2. fn:data($soapResponseBody/alsb:return)
There are no namespace issues. Request help in this regard and thanking you in advance.
Regards
Shyam.V

Hi
I too ran in the same issue.
The reponse which i get after service callout is
added $soapResponseBody
<S:Body xmlns:S="http://www.w3.org/2003/05/soap-envelope">
<ns2:getCreditRatingResponse xmlns:ns2="urn:BasicOrderMgr" xmlns="http://www.example.org">
<ns2:return>750</ns2:return>
</ns2:getCreditRatingResponse>
</S:Body>
and the service callout is followed by an assign where i use the following to assign the variable creditRating
$soapResponseBody/getCreditRatingResponse/return/text()
and also tried fn:data($soapResponseBody/*:return) {there is no namespace prefix declaration}
Please help as i am stuck when i try using the creditRating variable in next route node.

Similar Messages

  • Message procesing OSB rename after service callout error

    Hi,
    I have an error after make a service callout, i can't do a rename in the context variable that i create for the response of the service callout.
    I have this
    SERVICE CALLOUT.
    Service:.....
    Operation:.....
    requestVariable: inputVar
    responseVariable: outputVar
    Rename:
    Xpath:/*/return/items
    Variable:outputVar
    local: someNew
    this a example of outputVar
    <S:Body      xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <ns2:buscarSaldosExample xmlns:ns1="http://some.services.finanzas/">
         <return>
         <existWarnings>false</existWarnings>
         <items xsi:type="ns1:resumenSaldo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <categoriaCnt>PERSONAL</categoriaCnt>
         <estadoCnt>A</estadoCnt>
         <saldoCnt>506</saldoCnt>
    </items>
         <name>buscarSaldosExample</name>
         </return>
    </ns2:buscarSaldosExample >
    </S:Body>
    The rename never works out, its like he didn't see the outputVar
    if I make a assing after the service callout and assing all the content in
    outputVar in another variable named outPutVar2 the rename in outPutVar2 works just fine...
    i dont know if this is a mistake in osb or is mine.
    Please help out with this error
    Thanks in advance.
    Gustavo.
    If you need an example, let me knwo and i will post all the details.
    Thanks.

    Hi hisaak, Thanks for the answer again..
    your test was right, is the xpath, if i use //return/items works out fine!. Thanks for that.
    I was reading in some books that // in osb it has to be avoided for perfomance issues, i just
    want to know if /*/*/return[1]/items is the same of //return/items.
    I used baseX6 for testing the Xpaths and Xquerys, and if i put the xml give above as input
    and i try //return/items gives the same result as /*/*/return[1]/items, but it doesn't work out
    in osb, why can be that??
    Thanks agains for your answers.

  • OSB Service Callouts - HTTP Threads

    Hi All,
    We are having issues with OSB service callouts calling the business services from the Proxy Services. Due to excessive usage of Service Callouts, the proxy services are hanging out in the OSB server. From the Proxy services,we could able to successfully invoke the business services ( SOA Composistes , EJB Webservices etc ) and the webservices are taking few milliseconds to process the requests,but the response is not reaching the OSB Proxy Service. Ideally the behaviour is not happening for all requests, but for few messages. We have set up a dedicated Worker manager ( 10 Min Threads ) in the Admin Console and mapped the Worker manager to the business services ( dispatch policy ),but with no luck. We have followed the below link and its not working.
    http://allthingsmdw.blogspot.co.uk/2012/09/osb-service-callouts-and-oql-part-3.html
    Request to help us incase if you happen to see this behavior earlier.
    Thanks,
    Phani

    Hi Phani,
    It is a known issue with ALSB/OSB. There is a documentation in oracle as well regarding that "ALSB/OSB - Proxy Service Callout Causes Stuck Threads Under High Load [ID 861724.1]".
    Symptoms
    Stuck threads when calling a proxy service with a service callout /publish under high load. Proxy services using only ROUTE work without problems.
    Cause
    The service callout instantiates a new thread.
    As the proxy services are running in the default thread pool there will be no thread available for the callout under high load because all threads are blocked by the proxy services waiting for the response.
    This is expected behavior when using a service callout action and can be resolved by correct thread tuning.
    Solution
    A separate Workmanager needs to be configured for the Proxy service. This can be done by using the Dispatch Policy for specific proxy services (JMS, WS ..).
    For detailed information go to the OSB transport specific documentation and look for Dispatch Policy.
    There you will also see the link to the WLS Workmanager documentation.
    Please create a Workmanager using <max-threads-constraint> to limit the number of parallel executing proxies.
    Using this configuration the proxy will not block threads in the default queue.
    The service callout will still use the threads from the default thread pool.
    Hope this helps.
    Regards,
    Karan
    http://learn-oraclesoa.blogspot.com/

  • OSB - Error handling, report via service callout?

    I'd like to use Report Action on any error happened in my services. I'd also like to keep only one Report Action to be able to change its configuration later easily if needed.
    As it seems currently, if I add the Report Action to the Error Handler of the service directly, it logs the error code/reason/etc correctly, but if I move the Report Action to a separate service and add a service callout to the Error Handler instead of calling the Report Action directly, I lose the error information (I get the report message but error code/reason/details will be all NULL in the database).
    Am I doing something wrong here? Is that a limitation of the product? Is there any solution to keep the report actions centralized in this case?
    Thanks..

    hi guys,
    thanks for all the suggestions though it's still not working here. Hopefully clarifying the situation:
    a) service -- error handler -- report error
    b) service -- error handler -- service callout -- report error
    a) works, b) does not.
    The syndromes for not working is that the reported message has error code, reason and detail all empty (NULL if I look directly in the database). I suspect the problem is with my service callout in scenario b).
    The service callout originally was made using the following parameters:
    Request document variable: body
    Response document variable: response
    SOAP request header: header
    SOAP response header: rheader
    Reading your suggestions I tried to set the request document variable from 'body' to 'fault', but it did not help either: I get the report message but still no error information in the message.
    How exactly should this service callout look like to properly transfer the error details to the called pipeline?

  • Workflow errors after service pack upgrade

    Hi all,
    We have a problem with workflows after service pack upgrade. Workflows are working fine in Development system but not on test and production. Generating lot of dumps.
    What could be the reason for this ?
    'Start verification workflow' in SWU3 is giving error 'Workflow: No workflow definition found'.
    Thanks in advance

    Getting series of short dumps 'CALL_FUNCTION_REMOTE_ERROR'
    Error while calling '
      call function 'RH_GET_WFD_ID' destination 'NONE''
    But RFC destinations are working fine.

  • OSB - Problem using the Service Callout control in a proxy service

    Greetings,
    Using a Service Callout control in a proxy service requires to check one of the following two options: Configure SOAP Body or Configure Payload Document. Both require to write SOAP code and to assign it to variables that will be used in the Service Callout control. I found quite inconsistent to have to write SOAP code in order to use a tool which is supoposed to avoid writing Java code. In this case I largely prefer to write Java code and doing things manually. Is there any other way to use this control ?
    Many thanks in advance,
    Nicolas

    I'll try to explain again, however it seems very clear. I'm using a Service Callout control in order to call a JAX-WS web service. This web service is using a "document" style, of course. Consequently, all its operations (messages) are document-centric and they have only one parameter: the document. In order to use tha Service Callout control, one has to construct the <siap:body> element, to assign it to a variable and to provide the name of this variable in the Request Body test field of the Service Callout Properties dialog. Accortdingly, one needs to assign something like:
    <soap:Body xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <osb:myOperation xmlns:osb="http://www.simplex_software/fr/">
    <osb: .../>
    <osb:myOperation>
    </soap>
    Now, for those who have understood what I'm talking about, here come the question ? Is that the only way to use the Service Callout control ? If yes, this control is useless. If no, what is the other way to use the control in the given context while avoiding providing a <sopa:body> written manually ?

  • I have a problem with the apple service team after making a payment. Where do I take the issue up?, I have a problem with the apple service team after making a payment. Where do I take the issue up?

    I have a problem with the apple service team after making a payment. Where do I take the issue up?, I have a problem with the apple service team after making a payment. Where do I take the issue up?

    If you are dissatisfied with the Service you have received and wish to Contact Apple...
    India
    Start your support request online and we'll connect you to an expert.
    (91) 1800 4250 744
    www.apple.com/in/support/
    From the above Link...
    To Contact Apple World Wide for Support and Service
    http://support.apple.com/kb/HE57

  • After upgrading to firefox 3.6 I have problem with hotmail email service

    after upgrading to firefox 3.6.4 I have problem with hotmail email service, however I can login in hotmail, I can't open mails or delet or do anything else with them.
    == URL of affected sites ==
    http://hotmail.msn.com

    Thank you, but I already have "always show tabs bar" set.
    Also, I have two computers and the other is running the exact same version of Firefox, and the exact same theme, but it does not have this problem.
    To make sure I'm being clear: there is an "x" on each tab that allows me to close it when I have multiple tabs open. When I have only one tab open, there is no "x"; so in order to close the webpage I have to open another empty tab, and then close the first. My other computer has the "x" to close the tab visible even when there is only one tab so that I can close the page and have an empty (marked "(untitled)" tab). Please help!

  • Conditional Branch after an service callout

    Hi All
    I am new to configuring services in OSB.What i want to do is first call a service and depending upon the returned value ,route to other services.But the result of the service callout is availabe in a variable ,say responseBody,and for conditional branch we need only xpath/xquery to test conditions.
    Please Help.
    Regards,
    Chinmay

    Hi All
    I am new to configuring services in OSB.What i want to do is first call a service and depending upon the returned value ,route to other services.But the result of the service callout is availabe in a variable ,say responseBody,and for conditional branch we need only xpath/xquery to test conditions.
    Please Help.
    Regards,
    Chinmay

  • Service Callout Action in OSB

    Hi ,
    Good morning to all
    I have issue on osb service callout.
    1. i developed a synchronous service using bpel after that i invoke that service in osb as business service. my aim by using service callout action to call that service and get response.
    but the problem is how pass the osb input request to bpel input request and also how to transform the bpel response data to osb response data...
    Thanks and regards
    venky

    Venky,
    the problem is how pass the osb input request to bpel input request and also how to transform the bpel response data to osb response data...You can transform the OSB request structure to bpel service request structure using Xquery/Xslt transformations either by using replace action or assign action ( replacing the $body as per Bpel request format ) before sending the request to Bpel in service call out.
    And in similar manner after getting the response from Bpel service use Xquery/Xslt transformation & using replace action to transform bpel response back to OSB response format.
    Regards,
    Abhinav Gupta
    Edited by: Abhinav on Dec 5, 2012 11:49 AM

  • Service PR amount is noyt reduced after Service PO creation  in CJI5 report

    Dear Experts,
    When user created Service PO with T-code ME21, Service PR amount is not reduced from CJI5 report & also increased budget in CJ30.
    But when user create PO with T-code ME21N, Service PR commitment is getting reduced after Service PO creation in CJI5.
    Please explain & propose solution.
    Thanks & Regards,
    Arvind

    Hiiii...
    Note that there is no difference between creation of purchase order via the t.code ME21 or ME21N...what might be your problem in increase of assigned values is because the buyer (purchase dept) is not referencing the purchase requisition at the time of creation of purchase order as a result of which the system is not reducing the purchase requisition committment.
    Hope this helps....
    Regards
    Kaashif M

  • WBS - Error in Expected Costs after Service Receipt

    Hi to all, we are working with SRM Server 4, sp9 using Extended Classic Scenario.
    We've created a "PO ref. to contracts" and we've assigned costs to WBS budget.
    All works fine because total value of PO has been added to "Commitment Line" (expected costs) of budget.
    The problem comes out when we've made service receipt (from SRM) for the PO's amount. Service entry and GR entry have both been transferred to R/3 but WBS budget is wrong. Effective costs correctly contains GR's amount, Expected Costs still contain the GR value.
    Making the same GR procedure (ML81) into R/3 system, problem below doesn't come out.
    Following an example:
    PO value: 100 -  GR 100
    Before Service GR: Expected 100 - Effective Cost 0
    After Service    GR: Expected 100 (even if it should be 0)- Effective Cost 100
    Does anyone know why?
    Regards,
    Christian

    So you tried to install jdev on your iPhone and got this error?
    Come on help us to help you. Provide more info, check the forum sticky post 'read before posting'
    Timo

  • Service callout guidance for Payload configuration..

    To all,
    Scenario:
    1. My proxy service calls Business service-A.
    2. Business service-A returns response to proxy service.
    3. Using this response + some original request fields the proxy service calls Service-B.
    4. Service-B returns the response to proxy service. Proxy service then returns this response to Client.
    I am using Proxy service--->Service callout to Business service-A and then after receiving the response from A-, the proxy service--->route to Business service-B as way to achieve above.
    The problem:
    While doing service call out to Business service-A, OSB prompts to enter following fields for "*configure SOAP Body*":
    SOAP Request Body:
    SOAP Response Body:
    SOAP Request Header:
    SOAP Response Header:
    What should I enter in this?+
    Also, what is the difference between *"Configure SOAP body"* and *"Configure Payload Parameters"*?*+
    Fields in *"Configure Payload Parameters"*:
    Request Parameters:
    SiebelMessage:
    StatusObject:
    Response Parameters:
    SiebelMessage:
    SOAP Request Header:
    SOAP Response Header:
    The Business service-A is a Siebel service.
    When i get response back, where should i store it? and how can i map the response from back end Siebel service to response desired in my schema format?
    Please help! I am a newbie here.
    Thanks and Regards,
    Swapnil Kharwadkar.
    Edited by: Swapnil Kharwadkar on May 27, 2010 1:44 AM

    Hey all,
    I have solved problem with help of one my friend..Actually its possible through routing the service. I agree its a different approach than service callout but it acts as a quick fix.
    The key issue is to map :
    1. Request in format of Proxy service schema to Request of Business service (Legacy service-In this case Siebel)
    2. Response in format of Proxy service schema to Response of Business service (Legacy service-In this case Siebel)
    This is possible using XQuery transformation.
    Steps to achieve this::
    1. Create a XQuery by mapping proxy service schema and business service schema.
    2. Now Create message flow as following: Proxy service-->Pipeline Pair-->Stage1-->Route to business service.
    3. Now in stage1, choose Add an action-->Message processing-->Replace.
    4. In replace, do this - Replace ./* in variable body by Xquery which you created in 1.
    This will work smoothly.
    If any problems, let me know. If any insights on above, please comment.
    Will update this thread whenever I get info about service callout working. Meanwhile anybody searching for quick fix, can use this.
    Thanks and Regards,
    Swapnil Kharwadkar.

  • Where is a simple example of using a service callout?

    I am using the oracle service bus and am need to obtain the result string from a webservice.
    1)
    I am using a service callout in one of the stages:
    Service Callout to D2L Webservices invoking getOrgRole
    Configure Payload Document is checked
    Request Document Variable:      $body
    Response Document Variable: $body
    SOAP Request Header:      
    SOAP Response Header:
    Request Action Assign $body/enterprise/person/sourcedid/id/text() to variable inData
    Response Action:
    2) I need to configure the payload so $body/enterprise/person/sourcedid/id/text() is passed to the Request Document Variable. How do I do that?
    3) what do I use to get the retrun string from the webservice?
    4) I am getting a BEA-382500 error.
    <con:reason>
         OSB Service Callout action received SOAP Fault response
         </con:reason>
         <con:details>
         <con1:ReceivedFaultDetail      xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
         <con1:faultcode      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</con1:faultcode>
         <con1:faultstring>Cannot find dispatch method for {}</con1:faultstring>
    5) where is a simple example of calling a webservice from a message flow in oracle service bus?

    3) what do I use to get the retrun string from the webservice?If the web service call is successful, the response is stored in the context variable *$body*
    4) I am getting a BEA-382500 error.
    <con:reason>
         OSB Service Callout action received SOAP Fault response
         </con:reason>
         <con:details>
         <con1:ReceivedFaultDetail      xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
         <con1:faultcode      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">soapenv:Client</con1:faultcode>
         <con1:faultstring> Cannot find dispatch method for {} </con1:faultstring>Looks like there is a problem in the operation you are trying to invoke via the business service. Also please verify the exact message going out of the wire to the Backend Webservice.
    Are yo able to invoke the backend service directly from soapUI or similar tool? If yes, you can enable tracing on the Business service and capture the request sent out from OSB and compare the same with the one that works in soapUI. This should lead you to the exact issue.
    5) where is a simple example of calling a webservice from a message flow in oracle service bus?Please refer to http://www.oracle.com/technetwork/middleware/service-bus/osbsamples-085201.html for the samples.
    Hope this helps.
    Thanks,
    Patrick

  • How to make Service Callout to Document (XML) Based Web Service Proxy

    Hi,
    I am receiving a String which is basically XML via MQ.
    I want to do a Web Service Callout using the String based XML to a Proxy Service that is a Document Based Web Service.
    When I make the call using the String as the input parameter, I get many PipeLine Exception errors on the console and it does not reach the Web Service.
    Based on my readings, I believe that I need to place an XMLObject variable in the Service Callout instead of a String.
    How do I do this?
    I've tried the fn-bea:inlinedXML function but that does't seem to work.
    Regards
    Aziz

    Hi Anuj, seems that the problem was an invalid character in the Mq Message when I tried to apply the inlinedXML method to it.
    This is resolved now.
    The solution:
    1) Assign Mq $Body to variable
    2) Use Java Callout to remove special characters fn:string(body)
    3) convert Java Output String to XML using inlinedXML xquery function
    4) Do a replace on the $body node contents using the XML variable
    5) Call Web Service.
    if you dont do the XML conversion, the web service throws a Pipeline Exception.

Maybe you are looking for

  • 11.1.1.3 Business rules not appearing in form

    Hi I am working in 11.1.1.3, and creating HBRs in calc manager, with variables, for use on planning forms (i.e. to "Run on Save") Problem I have is that even after the rule is deployed, it is not visible in the "Business Rules" tab while editing the

  • ALV Tree in WebDynpro ABAP

    Hi, In my present project we have requirement for developing ALV tree output using ALV configuration model in WD4A. Please provide sample code or tutorial related to ALV Tree development in WebDynpro ABAP. Best regards, Alleiah

  • How do i "shrink" a photo from lets say 5.4mb to 500kb

    please help thanks

  • Maintenance Plan Call Completions Changing

    Has anyone noticed in ERP that a maintenance plan call completion date can be changed when the work order for a call is given a new TECO date.  I don't remember this happening with 4.6c.  When scheduling parameters are set to adjust future calls base

  • Can any one help me how to install webcenter sites on windows

    I'm new to WCS ,can any one help me how to install WCS on windows 64 bit. (not Jump starter kit) I had downloaded " ofm_sites_generic_11.1.1.6_bp1_disk1_1of1.zip " from ONT forum can any one guide me with step by step procedure to intall Edited by: 1