OSB Validate action failed validation

Hi All,
I'm trying to convert non-xml to xml by using XqueryTransformation source as an HL7 and target as an CCD schema.When validating the against the schema I got the following exception.
Please provide any suggestions.
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382505</con:errorCode>
<con:reason>OSB Validate action failed validation</con:reason>
<con:details>
<con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:message>
string value '' does not match pattern for cs in namespace urn:hl7-org:v3
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
<con1:message>
Element 'title@urn:hl7-org:v3' with empty content type cannot have text or element content.
</con1:message>
<con1:xmlLocation>
<ns0:title xmlns:ns0="urn:hl7-org:v3">XXX</ns0:title>
</con1:xmlLocation>
</con1:ValidationFailureDetail>
</con:details>
Thanks
Mani

Hi Anuj,
I tried doing that but in Response, it is echoing back the request after the statement:
The invocation resulted in an error: .
And now it shows:
Stage Error Handler
$fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382505</con:errorCode>
<con:reason>OSB Validate action failed validation</con:reason>
<con:details>
<con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:message>
string value '2' is not a valid enumeration value for VersionType in namespace http://www.example.org/abcd_Request_Schema
</con1:message>
<con1:xmlLocation>
<abcd:Version xmlns:abcd="http://www.example.org/abcd_Request_Schema">2</abcd:Version>
</con1:xmlLocation>
</con1:ValidationFailureDetail>
</con:details>
<con:location>
<con:node>PipelinePairNode1</con:node>
<con:pipeline>PipelinePairNode1_request</con:pipeline>
<con:stage>request xml validation</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
System Error Handler
$fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>402</con:errorCode>
<con:reason>
Validation Failed. Please enter proper values.
</con:reason>
<con:details>
<con1:ValidationFailureDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:message>
string value '2' is not a valid enumeration value for VersionType in namespace http://www.example.org/abcd_Request_Schema
</con1:message>
<con1:xmlLocation>
<abcd:Version xmlns:abcd="http://www.example.org/abcd_Request_Schema">2</abcd:Version>
</con1:xmlLocation>
</con1:ValidationFailureDetail>
</con:details>
<con:location>
<con:node>PipelinePairNode1</con:node>
<con:pipeline>PipelinePairNode1_request</con:pipeline>
<con:stage>request xml validation</con:stage>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
Is there any way by which only the customized error can be seen & not the OSB errors?

Similar Messages

  • OSB Validate action fails even an element is nillable="true"

    Hi,
    I have declared two elements in my inline schema 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 message flow, my first action is a Validate action.
    When I test the proxy service in the OSB Console and input the following elements I encounter an OSB validate action failed error even when those fields below are declared as nillable in the schema. Anyone got an idea regarding this issue?
    <Skip_CreditChk/>
    <Observation_End_Date/>

    Please check W3C recommendation -
    http://www.w3.org/TR/xmlschema-0/ (section 2.9 Nil Values)
    Your input should be like -
    <Skip_CreditChk xsi:nil="true"></Skip_CreditChk>
    <Observation_End_Date xsi:nil="true"></Observation_End_Date>
    Regards,
    Anuj

  • OSB Validate action

    As I have just started working in OSB, so my query is whether I can get a proper error message from OSB validate action against the particular attribute in an XML which is having the wrong input.
    Example : Suppose in my XSD i have defined student's id as integer but in below XML it is coming with a string. So can I get the exact error message stating like attribute 'id' is having a wrong value and so validation failed.
    <Class>
    <student id="123"/>
    </Class>
    Please help.

    The attribute level validation was done through java call out. Had to use sax parser for this..
    here is the code :
    public class XMLValidator {
    static boolean success = true;
    static private String errorMsg = "";
    static String msg = "";
    * @param xsdPath
    * @param payload
    * @return
    public static String XMLValidator(String xsdPath, String payload) {
    String status = "";
    try {
    System.out.println("XSD Path: " + xsdPath);
    System.out.println("Payload: " + payload);
    status = ValidateXML(new URL(xsdPath), payload);
    } catch (MalformedURLException e) {
    return (e.getMessage());
    return (status);
    public static String ValidateXML(URL xsdUrl, String xmlFile) {
    success = true;
    errorMsg = "";
    SAXParser saxParser = new SAXParser();
    saxParser.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    String xmlFilePayload = xmlFile;
    XSDBuilder builder;
    try {
    builder = new XSDBuilder();
    URL url = xsdUrl;
    //System.out.println(url.getPath());
    XMLSchema schemadoc = (XMLSchema)builder.build(url);
    saxParser.setXMLSchema(schemadoc);
    Validator handler = new Validator();
    saxParser.setErrorHandler(handler);
    // saxParser.parse(new FileInputStream(new File(xmlFilePayload)));
    InputStream inputStream =
    new ByteArrayInputStream(xmlFilePayload.getBytes("UTF-8"));
    saxParser.parse(inputStream);
    if (success) {
    msg = "Successfully Validated";
    } else {
    /* writeLogFile(logFileName,
    "[" + counter + "]. " + xmlFileName + "\n" +
    "------------------------------------------------------------------------------------------------------\n" +
    errorMsg + "\n\n\n", true);*/
    msg = errorMsg;
    } catch (XSDException f) {
    System.out.println("XSDException : " + f.getMessage());
    //System.out.println("XSDException : " + f.getMessage());
    } catch (FileNotFoundException f) {
    System.out.println("FileNotFoundException : " + f.getMessage());
    } catch (SAXException f) {
    System.out.println("SAXException : " + f.getMessage());
    } catch (IOException f) {
    System.out.println("IOException : " + f.getMessage());
    catch (Exception f) {
    System.out.println("IOException : " + f.getMessage());
    return (msg);
    public static class Validator implements ErrorHandler {
    public void error(SAXParseException exception) {
    success = false;
    int separator = exception.getMessage().indexOf(")");
    System.out.println("index "+separator);
    String st = exception.getMessage().substring(separator+1);
    errorMsg = errorMsg + "Error : " + st + "\n";
    //System.out.println("error: " + exception.getMessage());
    public void fatalError(SAXParseException exception) {
    success = false;
    errorMsg =
    errorMsg + "Fatal Error : " + exception.getMessage() + "\n";
    // System.out.println("fatalError: " + exception.getMessage());
    public void warning(SAXParseException exception) {
    success = false;
    errorMsg = errorMsg + "Warning : " + exception.getMessage() + "\n";
    //System.out.println("warning: " + exception.getMessage());
    }

  • OSB Validate action problem with xs:short datatype

    Hi,
    In the XSD, intPayment is defined as xs:short.
    We have the validate action in OSB proxy.
    If we pass below, everything is fine : (correct)
    <intPayment>96</intPayment>
    If we pass below, OSB is throwing a validate error indicating fractional digits after decimal point. (correct)
    <intPayment>96.01</intPayment>
    But if we pass below, OSB validate action is not catching :
    <intPayment>96.00</intPayment>
    I am assuming that OSB validate action should throw an error that 96.00 is not a valid value. (xs:short restricts any fractional digits after decimal point).
    Can you pl help me?
    Thanks,
    S
    Edited by: user13058197 on Jan 13, 2011 10:29 AM
    Edited by: user13058197 on Jan 13, 2011 12:16 PM

    I am assuming that OSB validate action should throw an error that 96.00 is not a valid value. (xs:short restricts any fractional digits after decimal point). Your assumption is incorrect and OSB is working as designed (actually as per XML standard). Actually short datatype is derived from int, int is derived from long, long is derived from integer and integer is derived from decimal.
    Definition of Integer (http://www.w3.org/TR/xmlschema-2/#integer) says -
    [Definition:] integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. The ·base type· of integer is decimal. And hence xs:short accepts 96.00 but does not accept 96.01
    Regards,
    Anuj

  • MQ:OSB Assign action failed updating variable "ServiceRequest"

    Hi
    We have a problem with the MQ adapters in Oracle Service Bus.
    If we (by accident/break testing) put messages on the queue that are invalid XML (such as "Banana" as plain text), the OSB goes into an infinte loop with this message, as it can never be dequeued due to:
    <BEA-381901> <Exception in MQ Inbound Request: TransportException EndPoint: T20230_GoodsEvent/ProxyServices/T20230_G
    oodsEvent, com.bea.wli.sb.transports.TransportException: OSB Assign action failed updating variable "ServiceRequest": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0
    005: expected exactly one item, got 0 items
    com.bea.wli.sb.transports.TransportException: OSB Assign action failed updating variable "ServiceRequest": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}FORG0005: expect
    ed exactly one item, got 0 itemsThis even prevents the message from being put on the dead letter queue.
    Any hints?

    Correct, but we have tried switching to Text to no avail.

  • OSB replace action failed..

    very urgent help needed.
    Scenario:
    1. My proxy service (new wsdl based) calls business (legacy wsdl based).
    2. I want to transform input format from new format schema to legacy format schema.
    3. I write a Xquery and Replace ./* in variable body with Xquery. Binding variable is accepted as $body.
    4. Individually tested, works like a charm; but when proxy is exected-throws following error:
    BEA-382513: OSB Replace action failed updating variable "body": line 29, column 1: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://myURL}SwapnilRequest { {http://www.w3.org/2001/XMLSchema}anyType }
    here myURL is namespace defined for input format "SwapnilRequest".
    In short, the content of variable "body" are not changed even after transformation.
    Please help.
    Thanks and Regards,
    Swapnil Kharwadkar.

    Dear Eric,
    Following is Xquery:
    (:: pragma bea:global-element-parameter parameter="$aMA_UpdateRQ1" element="ns0:AMA_UpdateRQ" location="AMA_UpdateRQ.xsd" ::)
    (:: pragma bea:schema-type-return type="ns1:ListOfAyLoyMemberPortalProspectTopElmt" location="AY%20LOY%20Member%20Portal%20Prospect_blore.wsdl" ::)
    declare namespace ay = "http://www.siebel.com/xml/AYRES%20Member%20Information%20–%20Long%20Portal";
    declare namespace com = "http://com.finnair";
    declare namespace asi = "http://siebel.com/asi/";
    declare namespace xf = "http://tempuri.org/GetNewCard_WithSiebel_XQuery/A_getProfile_Xquery/newResponse/";
    declare namespace pros="http://com.finnair/prospectProcessing/";
    declare function xf:A_blore_QueryByExample_Request($AMA_UpdateRQ as element(com:AMA_UpdateRQ))
    as element(asi:ListOfAyLoyMemberPortalProspectTopElmt) {
    let $AMA_UpdateRQ := $AMA_UpdateRQ
    return
    <asi:ListOfAyLoyMemberPortalProspectTopElmt>
    <ay:ListOfAyLoyMemberPortalProspect>
    <ay:Contact>
    <ay:Id>{ data($AMA_UpdateRQ/com:UniqueID/@ID) }</ay:Id>
    <ay:ContactId>{ data($AMA_UpdateRQ/com:UniqueID/@ID) }</ay:ContactId>
    </ay:Contact>
    </ay:ListOfAyLoyMemberPortalProspect>
    </asi:ListOfAyLoyMemberPortalProspectTopElmt>
    declare variable $AMA_UpdateRQ as element() external;
    xf:A_blore_QueryByExample_Request($AMA_UpdateRQ)

  • OSB : BEA-382510: OSB Assign action failed updating variable

    Hi all,
    I just started learning OSB and created a simple process .
    This is my request :
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <hel:getGreeting      xmlns:hel="http://hello.alsb.com/">
         <!--Optional:-->
         <arg0>string</arg0>
         </hel:getGreeting>
         </soapenv:Body>
         </soapenv:Envelope>
    im getting a error response in Assign:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382510</con:errorCode>
         <con:reason>
         OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </con:reason>
         <con:location>
         <con:node>RouteTo_HelloWorldBiz</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    This is 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 variable $helloStr as xs:string external;
    xf:Hello_to_GoodBye($helloStr)
    in my message response pipeln of the proxy service:
    i have added the assign and given the expression : $body/hel:getGreetingResponse/return
    var :Test
    After the assign: i have given a replace activity:
    xpath: ./hel:getGreetingResponse/return
    varabile : body
    Expression : string($Test)
    when i test in OSB console:
    im getting this error:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-382510: OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-382510</con:errorCode>
         <con:reason>
         OSB Assign action failed updating variable "Test": weblogic.xml.query.exceptions.XQueryTypeException: {err}XP0006: "element return { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type {http://www.w3.org/2001/XMLSchema}string
         </con:reason>
         <con:location>
         <con:node>RouteTo_HelloWorldBiz</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    aany suggestions on where the issue is.
    im totaly stuck here:
    TIA,
    karthik

    it is not clear at which point you are invoking Hello_to_GoodBye, and using which argument
    anyway it's likely that you are passing an Xml element (a node, something like <hello>Charlie</hello>) instead of a simple type (a string, like "Charlie")
    you should use the function data($body/bla) or text ($body/bla/text() ) to extract the value (Charlie) of your element

  • BEA-382513: OSB Replace action failed: bad value for type element anyType

    Hello, in OSB I get this strange error message on my XQUERY TRANSFORMATION.
    *<faultstring>BEA-382513: OSB Replace action failed updating variable "response":*
    com.bea.wli.common.xquery.XQueryException:
    *Error parsing XML: {err}XP0006: "*
    *element {http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5}Cs2DebitorOpVieCollection*
    *{ {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }":*
    bad value for type element
    *{http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5}cs2RechungungenResponse*
    *{ {http://www.w3.org/2001/XMLSchema}anyType }*
    *</faultstring>*
    I'm a pl/sql developer and I have no idea what this error message is telling me.
    In this forum I'v read someting about a wrong namespace declaration. I can't see any wrong value on my xml (ok, I'm not the specialist here...)
    Maybe someone of you xquey cracks might have a look at my code?
    This is what I have:
    _1.) a XQuery variable called cs2RechnungenResponse with this content:_
    <cs2:Cs2DebitorOpVieCollection
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:cs2="http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5">
         <cs2:Cs2DebitorOpVie>
              <cs2:f40Konto>333</cs2:f40Konto>
              <cs2:AMT_BEZEICHNUNG>Amt für Gesundheit</cs2:AMT_BEZEICHNUNG>
              <cs2:f40Belnr>555</cs2:f40Belnr>
              <cs2:f40Sohab>S</cs2:f40Sohab>
              <cs2:f40Dmbet>100</cs2:f40Dmbet>
              <cs2:f40Fadat>2011-05-05T00:00:00.000+02:00</cs2:f40Fadat>
              <cs2:f40Valut>2011-05-05T00:00:00.000+02:00</cs2:f40Valut>
              <cs2:f40Mahns/>
              <cs2:f40F40Sj>0</cs2:f40F40Sj>
         </cs2:Cs2DebitorOpVie>
    </cs2:Cs2DebitorOpVieCollection>
    _2. a xquery with this code:_
    (:: pragma bea:global-element-parameter parameter="$cs2RechnungenResponse" element="ns2:cs2RechnungenResponse" location="../adapters/cs2_adapters/xsd/CS2AdapterSelectOffenePosten_v0_5_table.xsd" ::)
    (:: pragma bea:global-element-return element="ns0:getDebitorRechnungResponse" location="../../interfaces/RechnungServiceTypes_v0_6.xsd" ::)
    declare namespace ns3 = "http://www.llv.li/common/types/v1";
    declare namespace ns2 = "http://xmlns.oracle.com/pcbpel/adapter/db/top/CS2AdapterSelectOffenePosten_v0_5";
    declare namespace ns1 = "http://www.llv.li/fin/types/v1";
    declare namespace ns0 = "http://www.llv.li/fin/services/rechnungService/v1";
    declare namespace xf = "http://tempuri.org/fin_sb/RechnungsService/transformations/CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v0_5/";
    declare function xf:CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v1_0($cs2RechnungenResponse as element(ns2:cs2RechnungenResponse))
    as element(ns0:getDebitorRechnungenResponse) {
    <ns0:getDebitorRechnungenResponse schemaVersion="0.6">
              if ($cs2RechnungenResponse/ns2:Cs2DebitorOpVie) then
              <ns0:debitorRechnungList>
         for $Cs2DebitorOpVie in $cs2RechnungenResponse/ns2:Cs2DebitorOpVie
         return
         <ns0:debitorRechnung>
              <ns1:peid>0</ns1:peid>
              <ns1:rechnungsnummer>{ data($Cs2DebitorOpVie/ns2:f40Belnr) }</ns1:rechnungsnummer>
              <ns1:rechnungsdatum>{ xs:date(fn-bea:remove-timezone-from-dateTime(data($Cs2DebitorOpVie/ns2:f40Fadat))) }</ns1:rechnungsdatum>
              <ns1:faelligAm>{ xs:date(fn-bea:remove-timezone-from-dateTime(data($Cs2DebitorOpVie/ns2:f40Valut))) }</ns1:faelligAm>
         <ns1:behoerde>{ data($Cs2DebitorOpVie/ns2:AMT_BEZEICHNUNG) }</ns1:behoerde>
         <ns1:positionList>
              <ns1:position>
                   <ns1:positionsnummer>1</ns1:positionsnummer>
                                                 <ns1:betrag>{ data($Cs2DebitorOpVie/ns2:f40Dmbet) }</ns1:betrag>
                                                 <ns1:waehrung>
                                                      <ns1:isoCode>CHF</ns1:isoCode>
                                                      <ns1:bezeichnung>Schweizer Franken</ns1:bezeichnung>
                                                 </ns1:waehrung>
              </ns1:position>
              </ns1:positionList>
         <ns1:status>offen</ns1:status>
              if ($Cs2DebitorOpVie/ns2:f40Mahns/text() > "") then
                   <ns1:mahnstufe>{ xs:int(data($Cs2DebitorOpVie/ns2:f40Mahns)) }</ns1:mahnstufe>
              else ()
         </ns0:debitorRechnung>
         </ns0:debitorRechnungList>
         else ()
    <ns0:resultatStatus>
         <ns3:code>Erfolgreich</ns3:code>
         <ns3:beschreibung>Rechnungen aus MFK fehlen</ns3:beschreibung>
    </ns0:resultatStatus>     
    </ns0:getDebitorRechnungenResponse>
    declare variable $cs2RechnungenResponse as element(ns2:cs2RechnungenResponse) external;
    xf:CARI_CS_2DBAdpter_to_RechnungsServiceGetOffenePosten_v1_0($cs2RechnungenResponse)
    _3. this should result in this response, but it doesn't_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <v1:getDebitorRechnungenResponse schemaVersion="0.6" xmlns:v1="http://www.llv.li/fin/services/rechnungService/v1">
    <v1:debitorRechnungList>
    <v1:debitorRechnung>
    <v11:peid xmlns:v11="http://www.llv.li/fin/types/v1">333</v11:peid>
    <v11:rechnungsnummer xmlns:v11="http://www.llv.li/fin/types/v1">555</v11:rechnungsnummer>
    <v11:rechnungsdatum xmlns:v11="http://www.llv.li/fin/types/v1">2011-05-05</v11:rechnungsdatum>
    <v11:faelligAm xmlns:v11="http://www.llv.li/fin/types/v1">2011-05-05</v11:faelligAm>
    <v11:behoerde xmlns:v11="http://www.llv.li/fin/types/v1">Amt für Gesundheit</v11:behoerde>
    <v11:positionList xmlns:v11="http://www.llv.li/fin/types/v1">
    <v11:position>
    <v11:positionsnummer>1</v11:positionsnummer>
    <v11:betrag>100</v11:betrag>
    <v11:waehrung>
    <v11:isoCode>CHF</v11:isoCode>
    <v11:bezeichnung>Schweizer Franken</v11:bezeichnung>
    </v11:waehrung>
    </v11:position>
    </v11:positionList>
    <v11:status xmlns:v11="http://www.llv.li/fin/types/v1">offen</v11:status>
    </v1:debitorRechnung>
    </v1:debitorRechnungList>
    <v1:resultatStatus>
    <v11:code xmlns:v11="http://www.llv.li/common/types/v1">Erfolgreich</v11:code>
    <v11:beschreibung xmlns:v11="http://www.llv.li/common/types/v1">Rechnungen aus MFK fehlen</v11:beschreibung>
    </v1:resultatStatus>
    </v1:getDebitorRechnungenResponse>
    </soap-env:Body>
    </soapenv:Envelope>
    But I do not get this expectet result, all I get is the BEA-382513: OSB Replace action failed: bad value for type element anyType?
    Any help would be appreciated.
    Thanks
    Best regards
    rk

    cs2RechungungenResponse or cs2RechnungenResponse ? the error message says cs2RechungungenResponse, but the actual element is cs2RechnungenResponse (one less "u")

  • Urgent - please help with osb-service bus schema validation.

    I have a proxyService runing on osb service bus, when I send wrong input to my proxyservices it react correctly by rejecting it, becuase the requestion is not conform to the schema, but I only get the error message saying that
    the Input is does not much, is there a way to get more info about the error ?
    like witch fields that cause the error ?

    The fault variable in your stage error handler will have the approariate information. Just add a stage error handler in the stage you are doing schema validation (make sure that in validate action you are selecting "raise Error on validation failure") and the error handler log the $fault
    Also refer -
    Re: Validate each xml element against XML schema
    Regards,
    Anuj

  • Using tcm to load test scripts into mtm, but action fails.

    Hi,
    I am trying to load test scripts into mtm but action fails saying : "The work item cannot be saved because at least one field contains a value that is not allowed."
    My guess is that this issue is due to the parameters/attributes we give to a test case([testmethod], [description()], etc.). I am unable to find what all parameters/attributes that can be given to a test case.
    Please help me with this issue.
    Regards,
    Payal Prajapati
    Payal Prajapati.

    Hi,
    I use VS 2012.
    One of my test method code is:
    /// <summary>
            /// Test Scenario to validate auto escalation of chat if within some time analyst does not respond to user.
            /// </summary>
            [TestMethod]
            [Description("Validating scenario, Auto-Escalation of chats to other Analyst.")]
    [Priority(2)]
            [TestCategory("Acceptance")]
    public void ValidatingAutoEscalationOfChatsToOtherAnalyst()
                User alice = new User(User1);
                alice.SubmitChatInfo();
                Analyst admin = new Analyst(Analyst_Admin);
                admin.Login();
                Analyst analysttier1 = new Analyst(Analyst_Tier1);
                admin.SelectQueues(Tier1Queue);
                admin.MakeAvailable();
                alice.USendMessage("I have a problem.");
                admin.AnalystWaitForAutoEscalation(25000);
                string Message1 = alice.GetAnalystName();
                analysttier1.Login();
                analysttier1.SelectQueues(Tier1Queue);
                analysttier1.MakeAvailable();
                alice.USendMessage("I have a problem.");
                string Message2 = alice.GetAnalystName();
                analysttier1.ASendMessage("hello, i'm here to help.");
                SprtTestContext.sprtTestContext.WriteLine("Earlier agent was: '" + Message1 + "' and present agent is: '" + Message2 + "'.");
                Assert.AreNotEqual<string>(Message1, Message2, "=> Issue in auto escalation.");
                analysttier1.WrapChatClose(4, "fixed", "comments");     }
    Payal Prajapati.

  • ALSB 2.5 Validate action problem

    My problem is that when I issue a "Validate" step in my ALSB Console using a given schema, and I post a test message (using the ALSB console) I receive a "Failed to perform validation" error.
    The problem is not with the test message nor with the schema.I performed a "Schema Validation" on XML Spy and both the test message and XML Schema validated successfully.
    Is there a logged problem with ALSB25 regarding the use of the "Validate" action?
    Below is a snapshot of the error message I receive when I post the test message
    &lt;con:fault xmlns:con="<a href="http://www.bea.com/wli/sb/context">http://www.bea.com/wli/sb/context</a>"&gt;
    &lt;con:errorCode&gt;BEA-382000&lt;/con:errorCode&gt;
    &lt;con:reason&gt;Failed to perform validation&lt;/con:reason&gt;
    &lt;con:location&gt;
    &lt;con:node&gt;OgsAtomMessageRouter&lt;/con:node&gt;
    &lt;con:pipeline&gt;OgsAtomMessageRouter_request&lt;/con:pipeline&gt;
    &lt;con:stage&gt;Validate Schema&lt;/con:stage&gt;
    &lt;/con:location&gt;
    &lt;/con:fault&gt;
    Thanks,
    Carlos

    It sounds like you are not routing or passing the right soap message to the EJB business service. To have the exact shape of the expected XML, use the test console, and look at the complete request document. This is what you need to pass if the proxy service is anyXml.

  • Apple's Audio Units Fail Validation in Yosemite

    Why do Apple's audio units fail validation in Yosemite
    Anyone else having this problem ?
    What's the fix ?
    Even Logic Pro X 10.0.7 can't validate Apple's AU plugs.
    [Rant:  i have never been so disappointed with a Mac OS as i am with YO.  Most of my midi/audio/video programs will not work because of the validation of AU/VST plugs.  I am this close to trashing Yosemite .  It reminds me of my OS 9 days: if you even looked in the wrong direction the system stop working.]

    are there any AU plugs here, in the components folder...?

  • Validate xml fails using XInclude.

    I tried to use the XInclude syntax in a very simple way in order to make my xml more modular.
    Here the example :
    <?xml version='1.0' encoding='windows-1252'?>
    <frame name="pippo" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:schemaLocation="http://www.axioma.it/AXI Frames.xsd" xmlns="http://www.axioma.it/AXI">
    <vo name="prova">
    <xi:include href="Incluso.xml" parse="xml"/>
    </vo>
    </frame>
    The validate Xlm fails with this error
    Error(4,45): <Line 4, Column 45>: XML-24534: (Error) Element 'include' not expected.
    How can avoid this ?
    Did I forget something ?
    Tks
    Tullio

    I'm quite new and I don't know exactly the syntax You are speaking about.
    I just need to create an xml file, wich is validated by Frames.xsd, including in it some other xml fragments I need to reuse.
    In my code I named 2 xmlspaces, my own and xi wich refers to include specification and I thought it was enough in order to use XInclude specification, is it wrong ?
    How can I specify what I need ?
    Tks
    Tullio

  • AIP-13978:  Error - the input xsd fails validation

    Hi,
    For an ebXML setup over Generic exchange. I have to perform validation against XSDs which are nested in structure.
    So while setting up the Document definition in the Business action, I uploaded the files as zip files and provided the name of the root XSD file.
    However on clicking finish the for business action I am getting the IP-13978: Error - the input xsd fails validation: java.lang.NullPointerException
    In the log file error message is as given:
    2007.03.12 at 14:40:16:093: AJPRequestHandler-ApplicationServerThread-5: BusinessLogicLayer - (ERROR) java.lang.NullPointerException
         at oracle.tip.buslogic.datatypeimport.b2b.XMLSchemaImport.getXSDElement(XMLSchemaImport.java:259)
         at oracle.tip.buslogic.datatypeimport.b2b.XMLSchemaImport.importXSD(XMLSchemaImport.java:609)
         at oracle.tip.buslogic.datatypeimport.b2b.XMLSchemaImport.importZipFile(XMLSchemaImport.java:426)
         at oracle.tip.buslogic.bll.b2b.GenericWizard.createNativeDatatype(GenericWizard.java:452)
         at oracle.tip.buslogic.bll.b2b.DocumentProtocolWizard.createDocumentDefinition(DocumentProtocolWizard.java:1228)
         at oracle.tip.buslogic.bll.b2b.DocumentProtocolWizard.createDocumentDefinition(DocumentProtocolWizard.java:1061)
         at oracle.tip.tools.integration.buslogic.b2b.collaboration.CreateBusinessActionFinishEventHandler.performExtendedActions(CreateBusinessActionFinishEventHandler.java:245)
         at oracle.tip.tools.integration.event.IPBaseUnboundEventHandler.performActions(IPBaseUnboundEventHandler.java:88)
         at oracle.tip.tools.integration.event.IPEventHandler.handleEventIP(IPEventHandler.java:138)
         at oracle.tip.tools.integration.event.IPEventHandler.handleEvent(IPEventHandler.java:104)
         at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
         at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
         at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
         at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
         at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
         at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    2007.03.12 at 14:40:16:093: AJPRequestHandler-ApplicationServerThread-5: UI - (ERROR) oracle.tip.tools.integration.buslogic.b2b.collaboration.CreateBusinessActionFinishEventHandler.handleEvent(): Error -: AIP-13978: Error - the input xsd fails validation: java.lang.NullPointerException
    Please let me know to resolve this issue.
    Thanks,
    Gautham

    Please check the root xsd and it its dependent XSD are present

  • ALC-LCM-120-207 JMS settings failed validation

    during install, got error at the step "Application Server Configuration Validation" step:
    JMS settings failed validation
    Failed to validate queue connection factory QueueConnectionFactory
    any suggestions on how to get this fixed would be much appreciated.
    there was no error whatsoever before this step.
    the platform is: Windows 2003, WebSphere, SQL Server.
    thanks

    Jasmin, thanks for response.
    WAS version is:
    IBM WebSphere Application Server, 6.1.0.5
    Build Number: cf50652.12
    Build Date: 12/28/06
    java -version returns "1.5.0".
    not a cluster.
    As far as I know, LC ES has not been installed on it before.
    After I got the error, I checked the QueueConnectionFactory (using WebSphere console) by following the ES install guide's "Manual Configuring WebSphere" chapter. The only thing that didn't match on that screen was that nothing was set in the "XA recovery authentication alias" dropdown.
    What to do next?

Maybe you are looking for

  • Is a Public/Private Key Pair possible in SAP?

    I have a web service that I would like to run as part of a nightly script. I currently use username/password authentication, but it is not acceptable to have them hard coded, due to Sarbanes-Oxley rules. SAP's site claims to support authentication wi

  • CRM 2011 Installation Failed

    Dear all, I'm trying to install CRM 2011 on a Windows 2008 R2 Standard 64bit system. SQL server 2008 R2 and reporting services are also installed on the same machine. During the installation I got the following errormessage: "Microsoft.Crm.Setup.Serv

  • Entering a component name in column New Name causes ecxeption

    Hi peoples, It's not the first time i encounter this problem. I select a basic action in the Test Case Editor. Then i select it and try to enter a component name in the column 'New Name'. After entering the first tokens suddenly an error message pops

  • Hi, Please tell me where to get plug in for cs5

    Hello, the Adobe video shows going to view-and down to windows. In perspective drawing Terry White from Adobe opens that window and drags windows to his drawing. My CS5 does not have that and I called adobe and India told me it was a plug in and he c

  • Pager Tag Library & JSLT

    Hi I try to incorporate paging in my web application and I find Pager Tag Library in http://jsptags.com/tags/navigation/pager/index.jsp. Here is my code <%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %> <%-- Retrieve data--%> <