OSB: BEA-382510: OSB Assign action failed variable update

Hi all

I just started learning the OSB and created a simple process.

It's my request:

< soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
< xmlns:soap soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" >
< / soap: Header >
< soapenv:Body >
< xmlns:hel hel: getGreeting = "http://hello.alsb.com/" >
<!-in option: - >
< arg0 > string < / arg0 >
< / hel: getGreeting >
< / soapenv:Body >
< / soapenv:Envelope >
------------------------------------------------------------------------
im getting an error in entitled response:

< soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
< soapenv:Body >
< soapenv:Fault >
soapenv:Server < faultcode > < / faultcode >
< faultstring >
BEA-382510: OSB Assign action doesn't have a variable update 'Test': weblogic.xml.query.exceptions.XQueryTypeException: {err} XP0006: ' the return element {{http://www.w3.org/2004/07/xpath-datatypes} untypedAny} ': bad value for a string of type {http://www.w3.org/2001/XMLSchema}
< / faultstring >
< detail >
< con xmlns:con: fault = "http://www.bea.com/wli/sb/context" >
< con: errorCode > BEA-382510 < / con: errorCode >
< con: reason >
OSB Assign action failed 'Test' for variable update: weblogic.xml.query.exceptions.XQueryTypeException: {err} XP0006: ' the return element {{http://www.w3.org/2004/07/xpath-datatypes} untypedAny} ': bad value for a string of type {http://www.w3.org/2001/XMLSchema}
< / con: reason >
< con: location >
< con: node > RouteTo_HelloWorldBiz < / con: node >
pipeline response - < con: path > < / con: path >
< / con: location >
< / con: fault >
< / details >
< / soapenv:Fault >
< / soapenv:Body >
< / soapenv:Envelope >

-----------------------

It's my Xquery:

XQuery version "1.0" encoding "Cp1252";

declare namespace xf = "http://tempuri.org/GoodbyeWorld_SB/XQuery/Hello_to_GoodBye/";

declare function xf:Hello_to_GoodBye($helloStr_as_xs:string)
as XS: String {}
Replace ($helloStr, 'HELLO', 'goodbye')
};

declare the variable $helloStr as XS: String external;

XF:Hello_to_GoodBye ($helloStr)

------------------------------------------------

in my message response service proxy pipeln:

I added the entitlement and taking into account the expression: $body / hel: getGreetingResponse / return
var: Test

After the entitlement: I gave an alternative activity:

XPath: ./hel:getgreetingresponse/return

varabile: body

Expression: string ($Test)


When I test it in the console of the OSB:

im getting this error:

< soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
< soapenv:Body >
< soapenv:Fault >
soapenv:Server < faultcode > < / faultcode >
< faultstring >
BEA-382510: OSB Assign action doesn't have a variable update 'Test': weblogic.xml.query.exceptions.XQueryTypeException: {err} XP0006: ' the return element {{http://www.w3.org/2004/07/xpath-datatypes} untypedAny} ': bad value for a string of type {http://www.w3.org/2001/XMLSchema}
< / faultstring >
< detail >
< con xmlns:con: fault = "http://www.bea.com/wli/sb/context" >
< con: errorCode > BEA-382510 < / con: errorCode >
< con: reason >
OSB Assign action failed 'Test' for variable update: weblogic.xml.query.exceptions.XQueryTypeException: {err} XP0006: ' the return element {{http://www.w3.org/2004/07/xpath-datatypes} untypedAny} ': bad value for a string of type {http://www.w3.org/2001/XMLSchema}
< / con: reason >
< con: location >
< con: node > RouteTo_HelloWorldBiz < / con: node >
pipeline response - < con: path > < / con: path >
< / con: location >
< / con: fault >
< / details >
< / soapenv:Fault >
< / soapenv:Body >
< / soapenv:Envelope >


Ttout suggestions on where is the problem.

IM completely stuck here:

TIA,
knockaert

It is not clear at what point you call Hello_to_GoodBye and using what argument

in any case, it is likely that you pass an Xml (a knot, something like Charlie) element instead of a simple type (a string like 'Charlie')

You must use the data($body/bla) function or the text ($body/bla/text () to retrieve the value (Charlie) of your item

Tags: Fusion Middleware

Similar Questions

  • OSB Assign action

    Hello:

    I created a service in OSB, who has two business service and a proxy service.

    A business service use JCA binding that gets value of database and other business services publishes data to a queue.

    In my proxy service message stream, I use these two Business Service using the legend of service.

    Firstly the Service company with JCA binding is called and out of it will be like

    < get: SampleCollection xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:get = "http://xmlns.oracle.com/pcbpel/adapter/db/top/Get_Sample" >
    < get: example >
    < get: type > test < / get: type >
    < get: status > success < / status of: >
    [email protected] < get: mailto > < / get: mailto >
    [email protected] < get: cc > < / get: cc >
    [email protected] < get: bcc > < / get: IAB >
    < / get: example >
    < / get: SampleCollection >

    And I assigned to a variable called DBOutput in ServiceCallout.

    Now to my second business service, some entry must be made by the release of my first business service, so I will try to use the below expression to obtain the values for the DBOutput variable and assign to a variable called TestingDBVariable

    $DBOutput / *: SampleCollection / *:Sample/*:mailto/text()

    But after testing the proxyservice, the 'TestingDBVariable' variable is not reflected, am I missing something here?

    OSB: 11.1.1.4

    Kind regards
    RK

    You should study it at two levels:
    1. check if your business service is indeed correctly the "mailto" field. To check this check that business directly from sbconsole. If the business service is not returning the mailto value then it may be because the table metadata changed after you have created the DB of JCA adapter. Try again to create and update of business service.
    2. If your business is indeed the "mailto" field there is a problem with the mapping of the field when filling out application for the second business service. Try $DBOutput / / *: mailto / text () once instead of XPath as a whole. Depending on how you have set the output of the first BS to the variable, one of the following conditions should be right Xpath:
    $DBOutput / *: SampleCollection / *:Sample/*:mailto/text()
    or
    $DBOutput / *: Sample / *:mailto/text()

  • Replace OSB action failed...

    need help very urgent.

    Scenario:

    1. my agent (new wsdl based) call Affairs (inherited wsdl based).
    2. I want to transform the input of the new format of legacy format schema schema format.
    3. I write an Xquery and replace. / * in the variable body with Xquery. Variable binding is accepted as $body.
    4. individually tested, works like a charm. but when the proxy is exected-throws following error:


    BEA-382513: Action replace the OSB has no variable update 'body': line 29, column 1: {err} XP0006: "Body {http://schemas.xmlsoap.org/soap/envelope/} element {{http://www.w3.org/2004/07/xpath-datatypes} untypedAny} ': good value for type {http://myURL} SwapnilRequest {{http://www.w3.org/2001/XMLSchema} anyType}

    myURL is here the namespace defined for the input format 'SwapnilRequest '.

    In short, the contents of the variable 'body' are not changed even after transformation.

    Help, please.


    Thank you and best regards,
    Patricia Kharwadkar.

    must it be

    body > SwapnilRequest > ListOfAyLoyMemberPortalProspectTopElmt?

  • Validate the OSB action fails even one element is nillable = "true".

    Hello

    I said two things in my schema inline nillable = "true":

    < xsd: element name = "Skip_CreditChk" nillable = "true" type = "xsd: Boolean" minOccurs = "0" maxOccurs = "1" / >
    < xsd: element name = "Observation_End_Date" nillable = "true" type = "xsd: date" minOccurs = "0" maxOccurs = "1" / >

    In my OSB mail flow, my first action is a Validate action.

    When I test the proxy service in the Console of the OSB and enter the following that I meet an OSB validate action impossible error even when the fields below are declared as nillable in the schema. Anyone who has any idea about this?

    < Skip_CreditChk / >
    < Observation_End_Date / >

    Please check the W3C recommendation-

    http://www.w3.org/TR/xmlschema-0/ (section 2.9 Nil values)

    Your contribution should be like -


    Kind regards
    Anuj

  • Whenever I try to send mails via Gmail (even in Safe Mode), I get the error message "your action failed. Please try again ".

    Everytime I try sending mail through Gmail FF 18.1, I constantly get the error message "you action failed. Please try again ". I have to use the HTML view in Gmail that I really hate. I tried the Mode without failure of Firefox as well but not good. Please fix this for me.

    This can be caused by corrupted cookies or cookies that are not sent or otherwise blocked.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    If clearing cookies doesn't work, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

    Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other files to present as cookie cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.

  • result of download iMovie is always "Action failed." Theater - xyz has failed. "

    El Capitan 10.11.2 iMovie 10.1

    I can do a library of my iMovie project, but for unknown reasons, all my attempts to download each of them fails be it theater, file or a different destination. I can't understand what went wrong. It's almost as if there is a block. The circular progress bar twirl around to indicate the upload progress. I'm in a jam and a pointer to return to normal operations would be useful. Thank you

    Howdy Colobus,

    If I understand you correctly, when you try to share any project to iMovie on your iMac, you get an immediate error message and the action fails. Is this correct? I know this might bother me to have one of the fundamental functions of iMovie does not.

    There are some things I want to do to isolate the cause of this problem so we can fix it. The first would be to start your iMac in safe mode, and then try again. See this article for how to put your iMac in safe mode - OS X El Capitan: start in safe mode. Are you able to share iMovie in safe mode?

    Restart the computer normally. If the problem is gone in safe mode, it returns? If it is not the case, you are all ready.

    Next step would be to see if the problem occurs in a new user account. This article explains how to create a new user account and test your question in there - How to test a question to another user on your Mac account.

    Please report back here with the results of your tests, and we'll see where we go from there.

    Thank you for using communities of Apple Support.

    Best for you.

  • Context: MSI Action failed, 0xC0070643 error code when trying to install AVG anti-virus program

    Original title: context: MSI Action failed

    Hello: I received the 0xC0070643 error code when trying to install the AVG anti-virus program.   What can I do to fix this problem, so I have AVG on my computer?   I thank really all those who are knowledgeable enough to help me straighten out it.

    Thanks again

    Daphna

    Hello

    1. are you able to install other applications successfully?

    According to my research, this error message appears if you have traces of a previous installation of the AVG software.

    Download the AVG remover to remove the previous version and then try the installation again and check.
    http://www.Avg.com/us-en/utilities

    Hope this helps
  • Out of Java simple assignment to a Variable

    Is it possible to have a variable in a package that is assigned a value returned by a call to the Java method so that I can use this variable across all interfaces in the package. Here's what I'd like to see (pseudocode)

    -Beginning of package execution
    -Java.util.UUID.randomUUID (m:System.NET.SocketAddress.ToString assing to variable 'UUID ()) '.
    -Run interface 1
    -#UUID in a field map
    -Run interface 2
    -card of the same value in a field #UUID
    -Start to end run

    Thank you
    Michael

    Yes it is possible. You must create an odi for this procedure. Inside of the odi procedure take technology java beanshell and write code like below.
    <>
    Java codes hoes here
    String java_v = "Chantal".
    Java codes hoes here
    @>

    Now drag this procedure in the odi package. Then, drag another odi odi package variable. Set mode assign the java variable to the odivariable as follows.
    <@=java_v@>

    Its done. Are you reeady to use variable odi everywhere wherever you need in a single package.

    Chantal
    http://dwteam.in

  • Assignment of global variables

    I apologize if this is a fundamental and simple question, but I was pulling my hair out for the last week trying to get this working and Google becomes sick and tired of my questions to get answers.  This should not be so difficult, but I'm not a designer, not a programmer, I'm just a tech trying to make my life easier, then Yes, I brought it on me.

    I have converted an InDesign form that has a bunch of boxes in a document of LiveCycle.  I want the boxes when they are verified to assign a value to the variable assocated.  In the properties of the form, I've set up global variables and assign the value to '0 '.

    The box I put the method/property to change to have the following code:

    If (topmostSubform.Page1.Back_Cover.rawValue == 1)

    BC.value = 6300;

    on the other

    BC.value = 0;

    I have a textbox that I am taking all these values and based on what is checked and this is not it must calculate the total for this field.  Here is the code I have for the calculation of the value of text using the method/property to calculate:

    premium.rawValue = BC.value + IFC.value + IBC.value;  There are three check boxes associated with this value

    However, no matter what I do not values seem to are they assigned to the variable of BC.

    Can someone tell me please in common sense as to why it doesn't work?

    Thank you very much.

    Tom

    Hello

    I think Steve is right, you want to avoid using global (or form) variables in this case, particularly in the case of calculating as any change that value will not cause a recalculation.  I have also try and keep all the logic of calculation in one place.  So, in the case of calculating the premium field, I would put the following JavaScript code;

    this.rawValue = (Back_Cover.rawValue = 'On')? 6300: 0;

    this.rawValue += (Inside_Front_Cover.rawValue = 'On')? 5775: 0;

    this.rawValue += (Inside_Back_Cover.rawValue = 'On')? 5350: 0;

    Note that the power of your checkboxes values are the strings 'On' and 'Off '.

    Bruce.

    PS nice shape looking

  • This is the first time the following: failed: 1 update or the errors found Code 80070643. I followed through the Fix code he doctor. This morning the automatic update has not as well.

    This is the first time the following: failed: 1 update or the errors found Code 80070643. I followed through the Fix code he doctor. This morning the automatic update 4/16 showed failure: update for Microsoft Office PowerPoint 2007 (KB 24664594)

    Hi William,.

    First try the following article: http://support.microsoft.com/kb/971058.

    If this does not work, try this link: http://support.microsoft.com/kb/923100.

    While I'm not quite certain that the first will succeed, the second is a common and often recommended solution that has helped a lot with this error code.

    I hope this helps.

    Good luck!

  • Update for Windows 7 (KB2345886) fails to update _

    Update for Windows 7 (KB2345886) fails to update

    Download size: 421 KB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    Install this update to help strengthen authentication information in specific scenarios. After you install this item, you may have to restart your computer.

    KB2345886 is an OPTION, not the security update. Feel free to hide it.

  • KB2345886 failed to update for windows 7 x 64 os

    really need help with this one.  Not computer savvy.

    KB2345886 failed to update for windows 7 x 64 os.

    Thank you

    sednfavor

    Send

    See this thread:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/c82fa2ea-6c79-49D1-9AF1-c5c13287dea9>

  • I get this KB2481109 update and it still fails to update it's a virus

    I get this KB2481109 update and it still fails to update it is a virus and how iI to get rid of this?

    Hi Judy,.

    1. do you get an error code?

    2. who is the antivirus installed on the computer program?

    Since this is a security update, there is a chance of infection from malicious software on the computer. We will analyze and identify the cause of the problem.

    Method 1:

    You can reset Windows Update components and check.

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 how to back up and restore the registry in Windows

    Reference:

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Method 2: Virus Scan

    Run a scan antivirus on your computer.

    www.Microsoft.com/Security/Scanner

     
    Note: If infections are detected during the scan, there is a risk of data loss because infected files will be deleted.

    See also:

    Solve common installation issues in Windows Update, Microsoft Update and Windows Server Update Services

    http://support.Microsoft.com/kb/906602

    Hope this information helps. Response with status so that we can help you.

  • Security for Microsoft Office Word 2003 (KB2598332) update fails to update

    Gentlemen: each of these updates have failed:

    Update of security for Microsoft Office Word 2003 (KB2598332)

    Update for the filter of junk e-mail in Outlook 2003 (KB2598343)
    Update of security for Microsoft Office 2003 (KB2598253)
    Update of security for Microsoft Office Excel 2003 (KB2597086)

    Please help me. It maybe the updates above are not necessary.

    Thank you!!

    Mike

    Try the following a.

    We will empty the download folder & then try again measured.

    Start > type cmd > and press enter

    type in
    net stop wuauserv 

    Go to Windows Explorer.
    Look on your system (usually C) drive and see the name of the Windows folder. Like Windows or WINNT.
    Edit following as appropriate.
    If your Windows folder is C:\Windows.  Look at this file
    C:\Windows\SoftwareDistribution\download

    If you find files in there, remove them.  This file is where the Windows Update files are stored downloads.

    Return to the command prompt window.
    type in
    net start wuauserv 

    OUTPUT

    Reboot & then run manually check the updates in Windows Update, etc, etc...
    When you get to Windows Update, a custom scan updates. Take (accept) those marked critical or Important.
    Those that are marked as "optional" decline.
    NET Framework or Silverlight updates offered, select not them & the other (do all .NET Framework or Silverlight updates in separate tracks).
     
    Have infinite patience so that it scans and it's work.
     
    When you are prompted to restart Windows, please do. Allow it to restart.

    If and only IF there is another failure, then let's you use NOTEPAD & doing research in the Windows Update log (using Notepad)
    usually at C:\Windows\Windowsupdate.log or C:\WINNT\Windowsupdate.log
     
    Copy and paste here the last 60 lines out of this newspaper, for review.
    Go to end of the log of the last entries and get ratings of the error.
    You can use the keys on the keyboard CTRL + END to reach the end of the file. Then download the last 60 lines & copy & paste here in response
     
    See the Microsoft KnowledgeBase article
    902093 KB how to read the Windowsupdate.log file
     http://support.Microsoft.com/kb/902093

    If this can help, mark (click) response & or relatively useful as actually.

  • Update of security for Microsoft Works 9 (KB2754670) has "failed" to update on several trys

    Update of security for Microsoft Works 9 (KB2754670) has "failed" to update on several trys

    A few people have the same prob

    Try the fixit

Maybe you are looking for