Schema validation in owsm gateway.

Hi all,
Could any one of you tell me how to validate the incoming message payload against the schema in the owsm gateway.
Thanks & regards,
Manoj Nair.

Hi Chintan,
I have OWSM Extensibility Guide for creating Custom Policy step, but i couldn't able to findout any thing..Iam very new to owsm, i really don't know how to create the custom policy step with help of this guide.. You have any information on how to create the custom step, for those who are new to owsm.
This is pertaining to validating the payload of the request pipeline using the xml shema.
I awaiting for your reply......
Thanks..

Similar Messages

  • Unable to acess BPEL WSDL from OWSM Gateway

    Hello all,
    I'm trying to register a BPEL Process as a service on a OWSM gateway.
    The BPEL WSLD is as follows:
    <definitions name="WR01" targetNamespace="http://xmlns.oracle.com/WR01">

         <types>

         <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/WR01">

         <element name="WR01ProcessRequest">

         <complexType>

         <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>

         <element name="WR01ProcessResponse">

         <complexType>

         <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>

         <xsd:schema>
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/WR01" schemaLocation="WR01.xsd"/>
    </xsd:schema>
    </types>

         <message name="WR01RequestMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <message name="WR01ResponseMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <portType name="WR01">

         <operation name="process">
    <input message="tns:WR01RequestMessage"/>
    <output message="tns:WR01ResponseMessage"/>
    </operation>
    </portType>

         <binding name="WR01Binding" type="tns:WR01">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

         <operation name="process">
    <soap:operation style="document" soapAction="process"/>

         <input>
    <soap:body use="literal"/>
    </input>

         <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>

         <service name="WR01">

         <port name="WR01Port" binding="tns:WR01Binding">
    <soap:address location="http://dcmsinusapp02.dc.local:7780/orabpel/default/WR01/1.0"/>
    </port>
    </service>

         <plnk:partnerLinkType name="WR01">

         <plnk:role name="WR01Provider">
    <plnk:portType name="tns:WR01"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    The WSDL generated from the service registation on the gateway is as follows:
    <definitions name="WR01" targetNamespace="http://xmlns.oracle.com/WR01">

         <types>

         <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/WR01">

         <element name="WR01ProcessRequest">

         <complexType>

         <sequence>
    <element name="input" type="string"/>
    </sequence>
    </complexType>
    </element>

         <element name="WR01ProcessResponse">

         <complexType>

         <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>

         <xsd:schema>
    <xsd:import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/WR01" schemaLocation="WR01.xsd"/>
    </xsd:schema>
    </types>

         <message name="WR01RequestMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <message name="WR01ResponseMessage">
    <part name="payload" element="ns1:Input"/>
    </message>

         <portType name="WR01">

         <operation name="process">
    <input message="tns:WR01RequestMessage"/>
    <output message="tns:WR01ResponseMessage"/>
    </operation>
    </portType>

         <binding name="WR01Binding" type="tns:WR01">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

         <operation name="process">
    <soap:operation style="document" soapAction="process"/>

         <input>
    <soap:body use="literal"/>
    </input>

         <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>

         <service name="WR01">

         <port name="WR01Port" binding="tns:WR01Binding">
    <soap:address location="http://dcmsinusapp02.dc.local:7780/gateway/services/SID0003002"/>
    </port>
    </service>

         <plnk:partnerLinkType name="WR01">

         <plnk:role name="WR01Provider">
    <plnk:portType name="tns:WR01"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    When i test the acess using OWSM console or try and consume it on JDeveloper I get the following error:
    java.io.IOException: The document 'http://dcmsinusapp02.dc.local:7780/gateway/services/WR01.xsd' contains HTML tags.
    Reason is:
    404 Not Found
    OracleJSP: java.io.FileNotFoundException:
    Set the init-param debug_mode to "true" to see the complete exception message
    This file not found exception is related to /gateway/services/WR01.xsd of course.
    I've mostly followed the OWSM documentation in order to register the service.
    Am I doing anything wrong referencing xsd's or something similar?
    Thanks in advance

    Answer to my own question:
    BPEL processes exposed via OWSM can't be used from JDEV ws proxy generator
    But the real question is: how do I prevent relative paths to xsd's on bpel wsdl?
    Any pointers?
    Thanks

  • Adapter Engine XML Schema Validation Error Surpression

    We recently developed a number of web services that are called by 3rd parties outside our network. The web service request once made is picked up by a Web Dispatcher which then forwards the request to the de-central adapter. Both of these components reside within within a DMZ.
    We have, as an additional security measure made use of the new Adapter Engine XML Schema validation available with PI 7.1, to ensure that the payload of incomming messages is checked to ensure that it is a known structure.
    Now here is my problem, we recently had these services penetration tested by a 3rd party to ensure that they were secure and whilst the report was very good showing no major weaknesses they did pickup on a couple of items including that the fact that if the XSD to be used during payload message validation cannot be found an 'ADAPTER.JAVA_EXCEPTION' is returned to the web service consumer that highlights the path details of where the XSD should be (but could not be found).
    This was viewed as useful to an attacker for a number of reasons:
    1. Feedback in SQL injection attempts via verbatim DB error messages greatly improves attacker efficiency
    2. Path information is useful to the attacker for OS fingerprinting, directory traversal attempts
    3. Other miscellaneous stack trace information is useful to an attacker to understand how the application works
    Is there anyway this can be surpressed so that the adapter does not show this information in the returned error message - see example message below ?
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: Schema MaintenanceOrderByIDQuery_sync.xsd not found in E:\usr\sap\DPI\DVEBMGS40\j2ee\cluster\server0\validation\schema\f7cd3b50a87411e08830ed9d0af006a5\urnstw.contractor.wfm.workorderretrieval\MaintenanceOrderByIDQueryRequest_Out\httpsap.comxiSAPGlobal20~Global\MaintenanceOrderByIDQuery_sync.xsd  (validation\schema)
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1041)
         at sun.reflect.GeneratedMethodAccessor497.invoke(Unknown Source)
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: Schema Schema1.xsd not found in E:\usr\sap\DPI\DVEBMGS40\j2ee\cluster\server0\validation\schema\f7cd3b50a87411e08830ed9d0af006a5\urnstw.contractor.wfm.workorderretrieval\MaintenanceOrderByIDQueryRequest_Out\httpsap.comxiEA-APPLSEGlobal\Schema1.xsd  (validation\schema)
         at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1041)

    Hi,
    We are having the same problem, so you are not alone.
    I had an extensive call with Azure premium support and we where able to determine that:
    - Nothing is missing or in the wrong place in my exported .xml file.
    - Any changes to the VNET's using the web gui interface of https://manage.windowsazure.com is not possible when you have dns servers and use an gateway
    - You can download the .xml configuration file of the network and make manual changes to it, then import it again , to add/remove dns servers and or subnet's. 
    I am currently waiting for an solution,  i have let them lower the urgency from A to B (because i can make changes trough xml) and responded to the next support contact (saying he will continue with the issue) that the problems seems to be with azure and
    he should speak with the previous person helping me.  I have not heard from Azure support since.
    SR Number:115021812414226
    Open on:02/18/2015 09:28
    > There are networks with and without gateways created and the issue is happening on all the networks.
    > We are unable to add or remove the DNS servers. (by web gui)
    > Also not able to add or remove any subnets. (by web gui)
    > Every time the error message is same but the DNS server name is different. (from another subnet then the one we are changing)
    > Created CRI- 3405931, but they said it will need WATS team.
    > Confirmed with WATS engineer as well and moving case to WATS.
    > Cx agreed to lower the severity of the case as they are able to make changes through the network configuration file.
    > But they still want to get this resolved soon.
    > Agreed and dropped off, reducing severity to B 24/7.
    I hope microsoft is going to resolve this soon, as i do not want to edit my xml for little things like adding a subnet all the time. I have requested an status update in the issue.
    Should anyone have more information on this, please share it here.

  • XML Schema validation error in network configuration. Missing DnsRef

    When ever we try to make changes to a Virtual network we receive
    XML Schema validation
    error in network configuration. Missing DnsRef
    We can't make any changes to the Virtual network.
    The DNS ref exists as well.
    Considering exporting network config and re-importing however we have a lot of networks configured and want to be sure this is the correct way to proceed.
    Any feedback much appreciated.
    Thanks

    Hi,
    We are having the same problem, so you are not alone.
    I had an extensive call with Azure premium support and we where able to determine that:
    - Nothing is missing or in the wrong place in my exported .xml file.
    - Any changes to the VNET's using the web gui interface of https://manage.windowsazure.com is not possible when you have dns servers and use an gateway
    - You can download the .xml configuration file of the network and make manual changes to it, then import it again , to add/remove dns servers and or subnet's. 
    I am currently waiting for an solution,  i have let them lower the urgency from A to B (because i can make changes trough xml) and responded to the next support contact (saying he will continue with the issue) that the problems seems to be with azure and
    he should speak with the previous person helping me.  I have not heard from Azure support since.
    SR Number:115021812414226
    Open on:02/18/2015 09:28
    > There are networks with and without gateways created and the issue is happening on all the networks.
    > We are unable to add or remove the DNS servers. (by web gui)
    > Also not able to add or remove any subnets. (by web gui)
    > Every time the error message is same but the DNS server name is different. (from another subnet then the one we are changing)
    > Created CRI- 3405931, but they said it will need WATS team.
    > Confirmed with WATS engineer as well and moving case to WATS.
    > Cx agreed to lower the severity of the case as they are able to make changes through the network configuration file.
    > But they still want to get this resolved soon.
    > Agreed and dropped off, reducing severity to B 24/7.
    I hope microsoft is going to resolve this soon, as i do not want to edit my xml for little things like adding a subnet all the time. I have requested an status update in the issue.
    Should anyone have more information on this, please share it here.

  • Error When Sending Service Request Through OWSM Gateway

    We are trying to test using OWSM Gateways and Server Agents to sign and then verify messages being passed to a web service on a server. We have been able to get this to work with a simple HelloWorld type service without any problems. We then followed the exact same steps to do this with an actual service and it is not working.
    We run the test from the "Test Page" inside the ccore GUI. We first test the connection directly to the service and receive a message about it missing the WS Security header. This is somewhat expected. Then, we send through the gateway which is set up to sign the message and pass along the header and receive the same error message:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns="http://schemas.oblix.com/ws/2003/08/Faults"><faultcode xmlns="">:GenericFault</faultcode><faultstring xmlns="">WS-Security process failure:FAULT CODE: InvalidSecurity FAULT MESSAGE: Missing WS Security header in the SOAP message</faultstring><faultactor xmlns=""></faultactor></env:Fault></env:Body></env:Envelope>
    We have checked the OWSM logs and can see that both times the server agent receives the request. The gateway logs, however, do not show any requests or responses even though the message should have gone through it. We do see these messages in the logs when testing our HelloWorld service with the same sign/verify settings. A review of the gateway.log file shows the following message displayed each time we submit a test to the malfunctioning service:
    2007-10-18 10:30:22,263 INFO [AJPRequestHandler-HTTPThreadGroup-54] gateway.WSDLRegistry - Exception occured in updateWSDL
    We have until tomorrow to get this issue resolved before development presses to move forward without OWSM security and we cannot have that. Your immediate assistance is required. Thank you.

    Some additional research has been done here and it seems that web services created with SOAP 1.1 (such as the HelloWorld service) work just fine. The problem is with services created with SOAP 1.2. Are there separate configurations or changes that need to be made for SOAP 1.2 services?

  • OWSM GATEWAY PROBLEM .xsd error

    Hi,
    I am working on OWSM gateways.I deployed a mail web service and tried to virtualise it using OWSM gateways. I have registered the service . When i use the link for service wsdl generated by OWSM in internet explorer i can see the wsdl file but when do the same using test page in OWSM i get the following error.
    java.io.IOException: The document 'http://localhost:8888/gateway/services/alshirawiMail.xsd' contains HTML tags.
    Also i have only tried with web services but when i try to virtualise THE WHOLE BPEL PROCESS i get error like
    java.io.IOException: The document 'http://localhost:8888/gateway/services/rule_doesnot_work.xsd' contains HTML tags.
    Please reply.
    Thanks and regards.
    Vishnu
    Message was edited by:
    user607746

    Hi
    The problem with xsd resolved but now when i invoke the service from test page i am getting this error.
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">null
    <env:Body>
    <env:Fault
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>env:Server</faultcode>
    <faultstring>ORABPEL-08021 Cannot find partner wsdl. parnterLink "OWSM_SYNC_BPEL_PROCESS" is not found in process "OWSM_SYNC_BPEL_PROCESS" (revision "1.0") Please check the deployment descriptor of the process to find the correct partnerLink name. </faultstring>
    null</env:Fault>
    </env:Body>
    </env:Envelope>

  • OWSM: Gateway is not ready to process requests

    OWSM: Gateway is not ready to process requests
    After I registered a service in a gateway with OWSM and when I intialize a client call using gateway virtualized URL fro BPEL, the first time call I always get the following fault. It is like a "wake-up" call. I had to initialize second call imediately following the first call get through gateway.
    Can anyone help me to figure out how to keep the OWSM Gateway "awake" all the time and avoid first call gateway failure?
    Thanks
    <fault>
    -<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>Client.GenericFault
    </code>
    </part>
    -<part name="summary">
    <summary>Gateway is not ready to process requests
    </summary>
    </part>
    -<part name="detail">
    <detail>
    <detail/>
    </detail>
    </part>
    </remoteFault>
    </fault>

    Can anyone post any help from Oracle?

  • Getting schema validation working in Eclipse with Coherence 3.7.1.0

    Just wondered if anyone had got schema validation to work in Eclipse (3.5 - Galileo) for Coherence 3.7.1.0?
    The Coherence developer docs show that you should add sections like this:
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config
    coherence-pof-config.xsd">
    However, if I use that "shortened" form (for cache, pof, etc. configs) Eclipse gives a warning "No grammar constraints (DTD or XML schema) detected for the document." and the schema validation fails to work (i.e. no "auto pop-ups" when entering content, and rubbish content is gladly accepted.)
    In Coherence 3.7.0, I'd used the following "extended" form (note the longer "schemaLocation") to get things working correctly:
    <pof-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-pof-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-pof-config
    http://xmlns.oracle.com/coherence/coherence-pof-config/1.0/coherence-pof-config.xsd">
    Also note that entering the "http://xmlns.oracle.com/coherence/coherence-pof-config/1.0/coherence-pof-config.xsd" in a web browser opens the xsd, as you'd expect.
    Now...
    I'm looking at the PofAnnotationSerializer in 3.7.1.0 and the "auto indexing" option. The declaration in my pof file for it fails as the "class" (or fully-qualified java.lang.Class version) in the "init-params" section isn't valid. If I look at the xsd on the url above, this is indeed the case, that option does not appear.
    However, if I look at the POF xsd in the coherence.jar file for 3.7.1.0, the "class" option has been added, and has a newer 'version="1.1"' added to it's schema declaration. So I therefore tried to point my "extended" declaration to point to " http://xmlns.oracle.com/coherence/coherence-pof-config/1.1/coherence-pof-config.xsd", in order to get schema validation to work in Eclipse with this new schema. Unfortunately that url doesn't exist - you get a "Content Server Request Failed" error.
    So, I guess my question is, is there a way to get myself pointed at the 1.1 versions of the xsd's so I can have schema validation working in Ecliipse? Or is there another workaround (did a bit of Googling, but that mainly seemed to be people switching validation off to simply get rid of the error...)
    Cheers,
    Steve

    Cheers, Dave.
    I had in fact had a try at extracting the xsd and pointing to it directly, and that did indeed work (had to do this following the same steps shown below using an "entry" in the XML Catalog.)
    I had a look around at some of the other "entries" in Eclipse by default and noticed that they actually refer to xsd's directly within the jars, hence saving the extraction step and keeping screw-ups down to a minimum; a bit of playing around to get the syntax right and I finally managed to get it working.
    For those who are interested (NB. my Coherence 3.7.1.0 install is in a directory "c:\coherence3.7"), the steps are:
    In Eclipse, Go to Window->Preferences->XML->XML Catalog. Then create a "User Specified Entry".
    In the "Location", add (without the quotes): "jar:file:/C:/coherence3.7/coherence/lib/coherence.jar!/coherence-pof-config.xsd"
    In the "Key Type", add (without the quotes): "Namespace Name"
    In the "Key", add (without the quotes): "http://xmlns.oracle.com/coherence/coherence-pof-config"
    The schema validation now works fine. Eclipse shows no warnings/errors, and the auto-complete and validation are fully functional.
    Still, it would be nice to get the "1.1" urls updated to point to the schemas on the Oracle site, to avoid all our developers from having to make these changes (and of course avoid them pointing at an older, out-of-date local install of coherence.)
    Cheers,
    Steve

  • Schema Validator does not honor "nullable" attribute

    Oracle XML Schema validator v1.0 does not seem to honor "nullable" schema attribute as in:
    <xsd:element name='myelem' type='xsd:string' nullable='true'/>
    On input
    <myelem/> or <myelem></myelem>
    it reports:
    Element not completed: 'myelem'
    Thanks
    null

    My mistake. Input must be specified as:
    <myelem xsi:null="true">
    where
    xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"
    null

  • Error : Catalog object schema validation failed in OBIEE 11.1.1.5

    Hi all ,
    Facing the below error while accessing few reports present in a folder (Voice Tab) . But , able to access other reports present in the same folder .
    Catalog object schema validation failed: /users/weblogic/sayak/TPLAN reports/Voice Tab/Net revenue per minute (ILD\/NLD)
    Error Details
    Error Codes: AGFIXBO2:EIRWWH9E
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    Also while try to edit the analysis (Net revenue per minute (ILD\/NLD) from catalog , i am getting the above error .The Reports were fine till yesterday , What could be the issue ?
    Thanks

    Hi Devarasu ,
    Yeah .. I'm aware of this bug of 11.1.1.5 , but I'm puzzeled by the sudden impact of it . i.e , It didn't gave me the error while creating/editing the file yesterday and looked fine on dashboard as well .
    However , If there's no alternative other than applying patch , then please let me know the patch ID .
    And applying this patch means , just overwriting some configure files in the OBIEE home folder sructure ? or somthing else ?
    Thanks

  • "Schema validation found non-data type errors" error when passing a string value to date field in infopath

    Hi,
    I have an infopath web brower enabled form. In the form i have a date field.
    I am passing the data from the database to that field using the C# code.
    But, as the field from database is coming as string, i am getting an error, and i am not able to assign the value.
    I get the date value from database as "3/25/2011 12:00:00 AM"
    I used the below code:
    [CODE]
    if (objInfopathFormcData.myRecievedDate != null)
      myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager).SetValue(objInfopathFormcData.myRecievedDate);
    [/CODE]
    I am getting the error as "Schema validation found non-data type errors".
    How to set the value for a date field in Infopath.
    Thank you

    HI,
    I fixed it:
    Below code is used to fix:
    [CODE]
    XPathNavigator xfield = null;
    DateTime dtmyRecievedDate;
    dtmyRecievedDate = Convert.ToDateTime(objInfopathFormcData.myRecievedDate);
    if (objFormcData.FcCompletionDate != null)
    xfield = myRoot.SelectSingleNode("/my:myFields/my:field97", NamespaceManager);
    DeleteNil(xfield);
    xfield.SetValue(dtmyRecievedDate.GetDateTimeFormats().GetValue(5).ToString());
    // method to delete xsi:nil
    private void DeleteNil(XPathNavigator nav1)
    if (nav1.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))
       nav1.DeleteSelf();
    [/CODE]
    Thank you

  • Processing Schema Validation error in BPM?

    Hi all,
    We have a file to IDOC scenario where if the schema validation fails on the file adapter sender agreement, we want to pull the filename and send it in an error email. So, we are talking about the adapter specific message attribute "Filename".
    unfortunately, this does not seem to be available as a container element for alert catagories in ALRTCATDEF. So, we are starting to look into using BPM to send a email via the email adapter. However, since the validation happens prior to BPM being called I am at a bit of a loss. Any ideas on how to get the email with the filename out to the suport group would be appreciated.
    Thanks,
    Chris

    package com.validate;
    import com.sap.aii.mapping.api.*;
    import com.sap.aii.mappingtool.tf7.rt.Container;
    import java.io.*;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.validation.*;
    public class ValidateXML extends AbstractTransformation {
        public void transform(TransformationInput transformationInput, TransformationOutput transformationOutput) throws StreamTransformationException {
            OutputStream outputstream = null;
            try {
                InputStream inputstream = transformationInput.getInputPayload().getInputStream();
                outputstream = transformationOutput.getOutputPayload().getOutputStream();
                byte[] b = new byte[inputstream.available()];
                inputstream.read(b);
                String XMLinputFileContent = new String(b);
                // define the type of schema - we use W3C:
                String schemaLang = "http://www.w3.org/2001/XMLSchema";
                // get validation driver:
                SchemaFactory factory = SchemaFactory.newInstance(schemaLang);
                //Place XSD file in PI server same as http://help.sap.com/saphelp_nwpi711/helpdata/en/44/0bf1b3ec732d2fe10000000a11466f/frameset.htm
                //OR I think you can place any where on server.
                File XSDfile = new File("C:/xi/runtime_server/validation/schema/SchemaFile.xsd");
                // create schema by reading it from an XSD file:
                Schema schema = factory.newSchema(new StreamSource(XSDfile));
                Validator validator = schema.newValidator();
                // at last perform validation:
                validator.validate(new StreamSource(XMLinputFileContent));
                //If XML it not valid, exception will be thrown, if it is valid sent this PassOutputXML to output
                String PassOutputXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns:MT_OutputXML xmlns:ns=\"http://sap.com/xi\"> <Name>FileName.txt</Name><Validation>Pass</Validation> </ns:MT_OutputXML>";
                outputstream.write(PassOutputXML.getBytes());
            } catch (Exception exception) {
                //Get File name using http://help.sap.com/saphelp_nwpi711/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
                Container container = null;
                DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
                String inputFileName = conf.get(key);
                String FailOutputXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns:MT_OutputXML xmlns:ns=\"http://sap.com/xi\"> <Name>" + inputFileName + "</Name><Validation>Fail</Validation> </ns:MT_OutputXML>";
                try {
                    outputstream.write(FailOutputXML.getBytes());
                } catch (IOException ex) {
                    exception.printStackTrace();
                    ex.printStackTrace();

  • Schema Validation failure in SOA Suite 11.1.1.6.0 but not in 11.1.1.7.0

    I have a composite that is deployed on both a SOA Suite 11.1.1.6.0 and 11.1.1.7.0 server.
    The composite exposes a service that my application subscribes to and sends messages to so the BPMN process can handle the request.
    This works fine in 11.1.1.7.0.  However, in the older version, when the message gets sent out, I'm getting the error shown below.
    I've made sure that Schema Validation is disabled on all of the endpoints, but that doesn't appear to have any affect.  Any thoughts?
    <Aug 29, 2013 12:00:59 PM EDT> <Error> <oracle.webservices.service> <OWS-04115><An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Schema validation failed for message part parameters. Please ensure at the message sender level that the data sent is schema compliant. Attribute 'http://schemas.xmlsoap.org/soap/envelope/:encodingStyle' not expected..>
    <Aug 29, 2013 12:01:00 PM EDT> <Error> <oracle.webservices.service> <OWS-04086>
    <javax.xml.rpc.soap.SOAPFaultException: Schema validation failed for message part parameters. Please ensure at the message sender level that the data sent is schema compliant. Attribute 'http://schemas.xmlsoap.org/soap/envelope/:encodingStyle' not expected.
            at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.generateSoapFaultException(WebServiceEntryBindingComponent.java:1193)
            at oracle.integration.platform.blocks.soap.WebServiceEntryBindingCompone
    nt.processIncomingMessage(WebServiceEntryBindingComponent.java:971)
            at oracle.integration.platform.blocks.soap.FabricProvider.processMessage
    (FabricProvider.java:113)
            at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing
    (ProviderProcessor.java:1187)
            at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementatio
    n(WebServiceProcessor.java:1112)
            at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(
    ProviderProcessor.java:581)
            at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServicePr
    ocessor.java:233)
            at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcess
    or.java:193)
    Thanks,
    Mike

    Any suggestions on this....

  • Use Service URL from OWSM Gateway in Service Registry

    Hi,
    Is there a scenario in which the Service URL from the OWSM gateway is used in the UDDI registry?
    Eg:
    WebService <--------> OWSM Gateway <----------> OSR (UDDI)
    Any information on this is much appreciated
    Regards

    Hi Vikas,
    Well..you don't registrate a gateway in uddi.
    When you registrate a service in owsm, it will generate a new wsdl for you. This wsdl you just need to registrate in uddi just like any other service with wsdl-interface.
    So the authentication fields aren't in uddi configered either...those are just a policy step in owsm. Overthere you can decide how to propegate the values of username/password etc

  • Error in schema validation in XI. Please help!

    Hi Experts,
       I have a FILE to proxy scenario. In the sender agreement I have selected schema validation by Adapter. (Other option is by Integration Engine). Now when the file I get an error in sender file communication channel monitoring:
    Error: com.sap.engine.interfaces.messaging.api.exception.MessageFormatException: Schema DataIn.xsd not found in D:\usr\XXXXXXXXX\validation\schema\31f7c36098e411deadcae4d30a13c639\httptraining-00EIM_POC\DataIn_Async_Out\httptraining-00EIM_POC\DataIn.xsd  (validation\schema)
    Do I need to keep the schema file in some server location?  Do I need to setup this path anywhere? Where do I need to place the schema file?
    What is the difference between validation by adapter and by integration engine?
    Please help!
    Thanks
    Gopal

    >What is the difference between validation by adapter and by integration engine?
    Both are same. One in Java engine and the other in the abap engine.  If you set at one place that is good enough.  In 7.1+  this becomes one of the pipeline steps.
    >Do I need to keep the schema file in some server location? Do I need to setup this path anywhere? Where do I need to place the schema file
    Yes you have to place schema in the server location.
    Refer the Rajasekar document for the placing this file in the server location.

Maybe you are looking for

  • How can we run reports from the front enf of iProcurement...

    Hi Guys, I need to create a link to run reports from the front end in iProcurement webpage instead of using apps SRS to run the report... help needed... thanks aman

  • My movie got deleted because I updated my iPod Touch & can't get it back. Help.

    Yesterday I decided to update my 4 generation iPod Touch, before I updated it I synced all my stuff I had in my iPod that I haven't synced yet onto my iTunes library, but my movie didn't get synced and I didn't know that so I updated it anyways. Afte

  • Link between classes: Reference Error

    Hi, I am still trying to create a movie clip array to make a list of objects appear on stage and have the user interact with them. This will be my game loop class called "LetterArray()". My main class is called "BugGoopFSGame()". After I add the line

  • Java.lang.ClassNotFoundException: oracle.forms.engine.Main

    I got this error when opening my forms, in java console, it says the frmall.jar file cannot be downloaded. I tried to get access the file with http://192.168.3.44:9001/forms/java/frmall.jar  ,  it displays 404 page not found. I think the virtual path

  • Cómo evitar que se abra pestaña vacía al cargar Firefox 5

    Saludos. Tengo Firefox 5, Windows XP. Cada vez que inicio Firefox, abre la página de inicio que es Google y luego carga una pestaña en blanco que me pone todo lento. Esta pestala abre por default al lado de la página de inicio. No quiero que aparezca