Mediator Transform Mapper not parsing WSDL correctly?

I'm using JDev 11.1.1.5.0 to build a SOA composite. I've defined the WebService wsdl using the JDev widget for creating a wsdl and generate the following:
<?xml version= '1.0' encoding= 'UTF-8' ?>
<wsdl:definitions
name="LogWriter"
targetNamespace="http://oracle.com/sca/soapservice/sqSOASandbox/LogWriter/LogWriter"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:inp1="http://xmlns.oracle.com/singleString"
xmlns:tns="http://oracle.com/sca/soapservice/sqSOASandbox/LogWriter/LogWriter"
>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://xmlns.oracle.com/singleString" schemaLocation="xsd/singleString.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="requestMessage">
<wsdl:part name="logLevel" element="inp1:singleString"/>
<wsdl:part name="sendingApp" element="inp1:singleString"/>
<wsdl:part name="logMessage" element="inp1:singleString"/>
<wsdl:part name="logTimestamp" element="inp1:singleString"/>
</wsdl:message>
<wsdl:portType name="execute_ptt">
<wsdl:operation name="execute">
<wsdl:input message="tns:requestMessage"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
I then create a FileAdapter and create its WSDL using a sample, comma-delimited file.
I next create a mediator, create the connections from web service to mediator, and from mediator to file adapter.
Now, I run into a problem when creating the web service-to-file adapter mappings - the xsl building tool seems to mis-parse the web service wsdl. Can't supply a screenshot, so will try to record what the JDev widget shows for the web-service wsdl in the "left swim lane":
*<sources>
- *in.sendingApp
--- <>inp1:singleString
- *in.logTimestamp
--- <>inp1:singleString
- *in.logMessage
--- <>inp1:singleString
- <>inp1:singleString
Note that one would expect to see - *in.logLevel as the second-to-last line, with the last line being a child of the logLevel element. The representation of the file adapter interface in the "right swim lane" looks fine.
Is this a known bug?

I am seeing this issue with 11g also...does anyone have a resolution?

Similar Messages

  • Double class not parsing string correctly

    Why is this rounding, and is there a way around it:
    Double value = new Double("666666666666666666.66");
    System.out.println(value);
    String body = NumberFormat.getCurrencyInstance().format(value);;
    System.out.println(body);
    Output:
    6.6666666666666662E17
    $666,666,666,666,666,620.00

    Try something like this:
    String numberPattern = "###,###,###,###,###,###,###,###,###,##0.00##############";
    DecimalFormat  decFormat = new DecimalFormat(numberPattern);
    String formatValue = decFormat.format("your number here");... Use the number of decimal points that meets your needs.
    ~Bill

  • Links from old threads are not parsing in new "Communities" Forum - Fail!

    As much as I am yet to be impressed with the new Communities look and feel this is functional aspect which need to be patched by Apple, and fast.
    Old threads used the [Anchor text | uri link] syntax to define hyperlinked text. The new Communittees site is not parsing it correctly so old threads are full of this syntax in plain text — NOT PARSED to create links.
    Everybody in QA and beta testing on this Forum Site at Apple needs a rocket under there ares for this very basic miss.(presumably it was made at Apple although I know RADAR is outside-ware)

    [text | uri ] not parsed:
    https://discussions.apple.com/message/13304539#13304539
    Ridiculous cascade threading because of massive changes to the style of boards. Column's of text in this thread are now down to as little as 3 char wide:
    https://discussions.apple.com/message/13333695#13333695
    Apple this really *****. Totally apart from the look and feel of Communities which I'm reserving judgement on until I give a fair trial (but so far that ***** even more than the parsing junk). Why everything except the box I'm typing in has to be oversized to Duplo scale (are kindergarten kids using Communities already?) semi-bold font-face I can't guess.

  • Processing this item failed because of a PDF parser error. Input string was not in a correct format.

    Good Morning,
    We're having issues parsing several hundred PDF files located in two separate Record Center sites. All other PDF documents in the environment are being crawled and parsed without issue. I've verified the permissions for the Search service account, but that
    doesn't seem to be the issue. Searching for this particular error hasn't returned much, but I have ensured that the Search service account has been added to the necessary Local Security Policy objects and cleared the configuration cache. Any help would be
    greatly appreciated.
    Processing this item failed because of a PDF parser error. ( Error parsing document 'https://asdf.com/sites/HRRecords/asdf.pdf'. Input string was not in a correct format.; ; SearchID = 6642FEEF-6921-434E-B084-02809173D8A7 )

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • Error:SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to read request. --- There is an error in XML document (1, 447). --- Input string was not in a correct format.

    Hi All,
        We have a scenario of FTP-->PI---> Webservice.  While triggering the data in the FTP, it is failing in the PI with the below error
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to read request. ---> There is an error in XML document (1, 447). ---> Input string was not in a correct format.
    Can you please help?

    Hi Raja- It seems to be a data quality issue.
    Check for the value @ 1447 position in the xml message that you are trying to send to web service..
    may be a date filed/decimal value which is not in expected format.

  • Random Bingads WSDL errors: Parsing WSDL: Couldn't load from...failed to load external entity, Could not connect to host, Parsing Schema: can't import schema from

    Hi,
    I am developing a web tool that accesses client's Bingads accounts via OAUTH2 granting. I am downloading data from clients daily.
    Generally it worked, but for 2 days I am experiencing a weird issue, that in random times (but more and more often though) I receive random error messages from Bing server. I am pasting below a few example from my logs (with timestamp and request/response).
    Must note that I launch these requests from the server where we have the webapp but also I launch it locally. The same is the result.
    The timestamp is in France time (GMT+1).
    Thanks ahead!
    Best regards,
    Steve
    2015-01-14 15:08:05: Service\BingAds::initService => SOAP-ERROR: Parsing Schema: can't import schema from 'https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/V9/ReportingService.svc?xsd=xsd0'
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetDetailedBulkDownloadStatusRequest><ns1:RequestId>108277125</ns1:RequestId></ns1:GetDetailedBulkDownloadStatusRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetDetailedBulkDownloadStatusResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Errors i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><ForwardCompatibilityMap xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"
    xmlns:i="http://www.w3.org/2001/XMLSchema-instance"/><PercentComplete>100</PercentComplete><RequestStatus>Completed</RequestStatus><ResultFileUrl>https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=XXX</ResultFileUrl></GetDetailedBulkDownloadStatusResponse></s:Body></s:Envelope>
    2015-01-15 05:41:39: Service\BingAds::getCampaigns => SoapFault: Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 05:45:00: Service\BingAds::initService => SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    2015-01-15 11:58:46: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)
    2015-01-15 11:59:50: Service\BingAds::initService =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl' : failed to load external entity "https://api.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?singleWsdl"
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:TrackingId xmlns:h="https://bingads.microsoft.com/CampaignManagement/v9">XXXXX</h:TrackingId></s:Header><s:Body><GetCampaignsByAccountIdResponse
    xmlns="https://bingads.microsoft.com/CampaignManagement/v9"><Campaigns xmlns:i="http://www.w3.org/2001/XMLSchema-instance"></Campaign>........</Campaigns></GetCampaignsByAccountIdResponse></s:Body></s:Envelope>
    2015-01-15 12:05:55: Service\BingAds::getCampaigns =>
    ---------Soap Fault:--------------------------------------------
    SoapFault catched:
    Could not connect to host
    ---------Soap Request:--------------------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9"><SOAP-ENV:Header><ns1:CustomerAccountId>XXXXX</ns1:CustomerAccountId><ns1:CustomerId/><ns1:DeveloperToken>XXXXX</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>XXXXXX</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>XXXXX</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    ---------Response:------------------------------------------------
    (empty response logged)

    Hi,
    1. I am using the older version of the PHP library provided by Bing (updated on 1/20/2014), so that is doing the WSDL loadings. I initialize the proxy calling OpticoBingAdsClientProxy providing what it needs, and then do the requests.
    2. I have a cron that reads data from client's accounts. I make several calls, like get search query report, get keyword performance report, get keyword bulk data. As the script progressed the first 2 worked and the third gave error. Or in other cases the
    first request failed. The calls have quite some time in between them since I process data (sometimes even 160 seconds)
    3. I did not change the code ion terms of requests, since as I said I use the PHP library (same credentials, ...).
    As of today (2015-01-16 10:30 GMT + 2) running my script, still have the same issues.
    Thank you!
    Steve

  • SQL not parsed correctly Why is meant by SQL Statements Larger than 32KB?

    I execute the following code
         begin
              dbms_output.put_line('b4 Constructing query 2');
              v_retail_rate_query_a:='select *
              from Rate R
              where rate_id=:v_RateID
              and service_id=:p_ServiceID
    AND SUBSTR(R.Area_Code, 1, LEAST(LENGTH(:v_Orig_Number), LENGTH(R.Area_Code))) = SUBSTR(:v_Orig_Number, 1, LEAST(LENGTH(:v_Orig_Number), LENGTH(R.Area_Code)))
    AND LENGTH(R.Area_Code) <= LENGTH(:v_Orig_Number)
              v_query_a_length:=length(v_retail_rate_query_a);
              dbms_output.put_line('v_retail_rate_query_a ' || v_retail_rate_query_a || ' |');
              dbms_output.put_line('v_query_a_length ' || v_query_a_length || ' |');
         exception
              when others then
              :v_ErrNumber:=-1800;
         end;
    But the statement is not parsed correctly why is this so? with reference to http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg09dyn.htm#26624
    32k /8 would have give me at most 4000 characters. the query certainly does not have 4000 characters.
    Anybody could enlighten me with the reason why oracle could not parse my query? Is there a way to insert '\n' in Pl/SQL?
    thanks!

    You do in your select statement length(r.area_code) <= length(:v_orig_number), so least(length(:v_orig_number),length(area_code)) will always return
    length(r.area_code).
    substr(r.area_code,1,least(length(:v_orig_number),length(r.area_code))) will return area_code because substr(r.area_code,1,length(r.area_code)) will return r.area_code.
    SUBSTR(:v_Orig_Number, 1, LEAST(LENGTH(:v_Orig_Number), LENGTH(R.Area_Code))) will return
    SUBSTR(:v_Orig_Number, 1,length(r.area_code)).
    I believe you can use select statement
    select *
    from rate
    where rate_id = cp_rate_id
    and service_id = cp_service_id
    and cp_orig_number like area_code||'%';
    Use this PL/SQL code.
    set serveroutput on
    declare
    cursor c_rats( cp_rate_id     in rate.rate_id%type
                 , cp_service_id  in rate.service_id%type
                 , cp_orig_number in varchar2)
           is
           select *
           from   rate
           where  rate_id           = cp_rate_id
           and    service_id        = cp_service_id
           and    cp_orig_number like area_code||'%';
    begin
      for r_rats in c_rats(1,2,'ABCDEFG') loop
        dbms_output.put_line(r_rats.rate_id);
      end loop;   
    end;
    /Here I used rate_id = 1, service_id = 2 and orig_number = 'ABCDEF'.

  • Could not parse XMBMessage due to Can't parse the document

    *Dear all,*
    *i have a SOAP to RFC Scenario. XML Validation by Adapter is turned on in SenderAgreement.*
    *XSD Files are placed in the correct directory. Incoming requests are validated. However,*
    *it seems that responses produce an error in the soap adapter.*
    *This is the error message i am getting:*
    +SOAP:Fault>+
             +<faultcode>SOAP:Server</faultcode>+
             +<faultstring>Server Error</faultstring>+
             +<detail>+
                +<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">+
                   +<context>XIAdapter</context>+
                   +<code>ADAPTER.JAVA_EXCEPTION</code>+
                   +<text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not parse XMBMessage due to Can't parse the document+
    +     at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1173)+
    +     at sun.reflect.GeneratedMethodAccessor678.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +     at java.lang.reflect.Method.invoke(Method.java:592)....+
    *In SXMB_MONI my response includes the following passages*
    +- <!--  ************************************+
      -->
      +<Trace level="3" type="T">Pipeline Service = PLSRV_XML_VALIDATION_RS_OUT</Trace>+
      +<Trace level="3" type="T">Skip Inbound Validation =</Trace>+
      +<Trace level="3" type="T">Skip Outbound Validation =</Trace>+
      +<Trace level="3" type="T">Area = XML_VALIDATION_OUT</Trace>+
      +<Trace level="1" type="T">Reading sender agreement</Trace>+
      +<Trace level="3" type="T">Validation Mode = Validation by Adapter</Trace>+
      +<Trace level="1" type="T">Outbound validation of response takes place</Trace>+
      +<Trace level="3" type="T">Interface Name = SI_xxx_xxx_xxx_Sync_Outbound</Trace>+
      +<Trace level="3" type="T">Interface Namespace = http://xxx.de/xxx</Trace>+
      +<Trace level="3" type="T">Software Component Version = D390B9E10A6B11DF8C15C7540A484C06</Trace>+
      +<Trace level="2" type="T">Java Validation Service Call</Trace>+
      +<Trace level="1" type="T">System error occurred during XML validation</Trace>+
      +<Trace level="1" type="E">CL_XMS_PLSRV_VALIDATION~ENTER_PLSRV</Trace>+
      +</Trace>+
      +<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />+
    +- <!--  ************************************+
      -->
      +<Trace level="3" type="T">Persisting message Status = 023</Trace>+
      +<Trace level="3" type="T">Message version 009</Trace>+
      +<Trace level="3" type="T">Pipeline CENTRAL</Trace>+
      +</SAP:Trace>+
    *I see the following error message:*
      +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>+
    +- <!--  Aufruf eines Adapters+
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="XML_VALIDATION_OUT">CX_XMS_SYSERR_VALIDATION</SAP:Code>
      <SAP:P1>Schema xxx.response.xsd not found in J:\usr\sap\xxx\SYS\global\xi\runtime_server\validation\schema\00000000000000000000000000000000\ u00D3u00B9u00E1 k u00DFŒ u00C7T HL \SI_xxx_xxx_xxx_Sync_Outbound\urnsap-comdocumentsaprfc~functions\xxx.response.xsd (J:\usr\sap\xxx\SYS\global\xi\runtime_server\validation\schema)</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>not used at the moment.</SAP:AdditionalText>
      <SAP:Stack>System error occurred during XML validation</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    There seems to be an error in the adapter trying to validate the response. Does anyone has a clue as to why ?

    Since i cannot get i running, i helped myself using a java mapping, that i packaged into a jar
    along with the xsd files. See code below:
    import com.sap.aii.*;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.BufferedReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.UnsupportedEncodingException;
    import java.io.InputStreamReader;
    import java.io.Reader;
    import javax.xml.transform.sax.SAXResult;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.validation.Schema;
    import javax.xml.validation.SchemaFactory;
    import javax.xml.validation.Validator;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    @SuppressWarnings("unused")
    public class CustomValidator extends AbstractTransformation {
         public void transform(TransformationInput arg0, TransformationOutput arg1)
                   throws StreamTransformationException {
              Validator validator;
              InputStreamReader insr;
              String inputPayloadString;
              try {
                   // Trace
                   getTrace().addInfo("com.xxx.pi.mapping.validation.CustomValidator called");
                   InputStream inputPayloadStream = arg0.getInputPayload()
                             .getInputStream();
                   insr = new InputStreamReader(inputPayloadStream);
                   InputHeader inpHeader = arg0.getInputHeader();          
                   String intfName = inpHeader.getInterface();
                   getTrace().addInfo("Interface Name is :" + intfName);
                   String xsdName = "";
                   if (intfName
                             .equalsIgnoreCase("SI_xxx_Sync_Outbound")) {
                        xsdName = "Z_xxx.xsd";
                   if (intfName.equalsIgnoreCase("SI_xxx")) {
                        xsdName = "Z_xxx.xsd";
                   if (intfName
                             .equalsIgnoreCase("SI_xxx_Sync_Outbound")) {
                        xsdName = "Z_xxx.xsd";
                   if (intfName
                             .equalsIgnoreCase("SI_xxxx_Sync_Outbound")) {
                        xsdName = "Z_xxx.xsd";
                   getTrace().addInfo("Using schema: " + xsdName);
                   if (xsdName.equals(""))
                        throw new StreamTransformationException("Schema für "
                                  + intfName + " nicht gefunden.");
                   BufferedReader reader = new BufferedReader(new InputStreamReader(
                             getClass().getResourceAsStream(
                                       "/com/xxx/pi/mapping/xsd/" + xsdName)));
                   // prepare document validator:
                   String schemaLang = "http://www.w3.org/2001/XMLSchema";
                   SchemaFactory jaxp = SchemaFactory.newInstance(schemaLang);
                   Schema schema = jaxp.newSchema(new StreamSource(reader));
                   validator = schema.newValidator();
              } catch (SAXException saxe) {
                   throw new StreamTransformationException(saxe.getMessage());
              // validate
              try {
                   SAXSource source = new SAXSource(new InputSource(insr));
                   validator.validate(source);
              } catch (Exception e) {
                   getTrace().addInfo(e.getMessage());
                   String trace = e.getMessage();
                   throw new StreamTransformationException(trace, e.getCause());
              // Write the response
              try {
                   inputPayloadString = convertStreamToString(arg0.getInputPayload()
                             .getInputStream());
                   arg1.getOutputPayload().getOutputStream()
                             .write(inputPayloadString.getBytes("UTF-8"));
                   getTrace().addInfo("Schema Validierung erfolgreich !");
              } catch (Exception e) {
                   throw new StreamTransformationException(e.getMessage());
         // helper to convert to String
         private static String convertStreamToString(InputStream in) {
              StringBuffer sb = new StringBuffer();
              try {
                   InputStreamReader isr = new InputStreamReader(in);
                   BufferedReader reader = new BufferedReader(isr);
                   String line;
                   while ((line = reader.readLine()) != null) {
                        sb.append(line);
              catch (Exception exception) {
              return sb.toString();

  • Name Space in Webservice Response is not parsed in BI Publisher

    Hi,
    I have built the report in BI Publisher with Data Source as Web Service by giving WSDL URL and method Name. I have got the response for the method call, but it has name space for all tag elements. Like
    <ns:FirstName>Daniel</ns:FirstName>
    <ns:LastName>Victor</ns:LastName>
    My report template unable to pick the value from tags as it is taking Name Space also as tag name. It is not parsing name spaces. I tried another report by keeping file as my report source, just by removing the name spaces from the WSDL response message, it worked.
    How do I make BI Publisher to parse the name space, such that WSDL response can be utilized as such?
    Edited by: [email protected] on Mar 4, 2009 2:58 PM

    Hi,
    Did you follow all the steps in the Install guide:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12690/T434820T487784.htm
    Regards,

  • WL 6.1 to 8.1 XSL Error SAX Exception, Could not parse xsl document

    1)I have an application which is deployed and running successfully on WL6.1. The application uses lot of xsl style sheets. Parsers used were from xalan.jar and xerces.jar
    2)Now, I am migrating it to WL8.1, the application is deployed on 8.1 but when I open the login(first page) it gives the following error:
    ====================
    ABCD.xsl; Line 0; Column 0
    XSL Error: Could not parse C:/src/xslsheets/ABC4.xsl document!
    XSL Error: SAX Exception
    ====================
    3)As the previous versions of WebLogic Server included the unmodified versions of the Xerces parser and Xalan transformer from www.apache.org in the WL_HOME\server\ext\xmlx.zip file. The ZIP file no longer includes these classes and interfaces in 8.1.
    4)I understand it is the the Parser Exception and wud like to know the best possible way to solve this.
    Thanks
    Val

    1)I have an application which is deployed and running successfully on WL6.1. The application uses lot of xsl style sheets. Parsers used were from xalan.jar and xerces.jar
    2)Now, I am migrating it to WL8.1, the application is deployed on 8.1 but when I open the login(first page) it gives the following error:
    ====================
    ABCD.xsl; Line 0; Column 0
    XSL Error: Could not parse C:/src/xslsheets/ABC4.xsl document!
    XSL Error: SAX Exception
    ====================
    3)As the previous versions of WebLogic Server included the unmodified versions of the Xerces parser and Xalan transformer from www.apache.org in the WL_HOME\server\ext\xmlx.zip file. The ZIP file no longer includes these classes and interfaces in 8.1.
    4)I understand it is the the Parser Exception and wud like to know the best possible way to solve this.
    Thanks
    Val

  • Horizontal submenus not dropping down correctly in IE7

    Hello, I am hoping somebody can help.
    I have a vertical and a horizontal menu bar in my page - the vertical seems to be ok; but the horizontal menubar has submenus and they do not drop down correctly from the menu bar in IE7. They work fine in Firefox.
    In my site for net newbies, this submenu is supposed to drop down from the main menu, not appear from the top of the browser.. any ideas?
    Thanks for any help
    The CSS looks like this:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - Revision: Spry Preview Release 1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
        background-image: url(C
    :\Documents and Settings\Gregory\My Documents\BUILDINGAWEBLIFE_COM\img);
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 14px;
        position: relative;
        text-align: center;
        cursor: pointer;
        width: 225px;
        float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 225px;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 225px;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #CCCCCC;
        padding: 0.5em 0.75em;
        color: #0000DF;
        text-decoration: none;
        background-image: url(../img/orange.jpg);
        background-position: center center;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #33C;
        color: #FFFFFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #33C;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(../img/orange.jpg);
        background-repeat: no-repeat;
        background-position: center center;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

    Update to 1.6.1 if that doesn't help, provide us with a online url.

  • Javascript not parsing through in an HTML data set (table)

    I have a spry dataset (html table) working perfectly on my site.  I have an 'info' column with some HTML, an image, and youtube embed.  All of these parse correctly and show on the page, but for some reason my google adsense (javascript code) is not parsing through at all.  I'm using Spry 1.6.1.
    Here is my code:
    <script type="text/javascript">
    <!--
    var PrankDialerLibrary = new Spry.Data.HTMLDataSet("SpryAssets/library.html", "pdLibrary", {sortOnLoad: "hits", sortOrderOnLoad: "descending"});
    pdLibrary.setColumnType("preview", "html");
    pdLibrary.setColumnType("info", "html");
    pdLibrary.setColumnType("filename", "html");
    //-->
    </script> ...          <div class="MasterDetail">
                <div spry:region="PrankDialerLibrary" class="MasterContainer">
                  <div class="MasterColumn" spry:repeat="pdLibrary" spry:setrow="pdLibrary" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected" align="left">{preview}  {name}</div>
                </div>
                <div spry:detailregion="pdLibrary" class="DetailContainer">
                  <div class="DetailColumn">{info}</div>
                  <div class="DetailColumn">{filename}</div>
                </div>
                <br style="clear:both" />
              </div>
    Thanks!

    Treytor72 wrote:
    Thanks again for your expertise, as I can see you've helped quite a bit around here!
    I've tried adding that quick and dirty workaround to the page ( http://www.prankdialer.com/beta/popular.php ), but it seems to have no affect.  I may not be fully understanding it, but I don't believe your other options will work in this particular situation because the google adsense code (what is being omitted in my case)
    is placed exactly where the ad should appear.  I want it to show up right underneath the youtube embed for each item in the data table.  Thus, it doesn't belong in the <head> of the page.
    Thank you again for your time, and let me know if by any chance you would have any use for my site, PrankDialer.com.  I'd be more than happy to give you credits for your help!
    Hello,
    If I inspect the generated DOM of the page, I do see that the script have been correctly injected in to your page. So we have succeeded so far. You have placed it at a correct position. We could still try the modified setInnerHTML function. I searched the forum and found a improved version of it. (Less work for me )
    Spry.Utils.setInnerHTML = function(ele, str, preventScripts)
    if (!ele)
    return;
    ele = Spry.$(ele);
    var scriptExpr = "<script[^>]*>(.|\s|\n|\r)*?</script>";
    ele.innerHTML = str.replace(new RegExp(scriptExpr, "img"), "");
    if (preventScripts)
    return;
    //bodyMatches is used to store the script tags that have body. For example, <script type='text/javascript'> some JS </script>
    var bodyMatches = str.match(new RegExp(scriptExpr, "img"));
    if (bodyMatches)
    var numMatches = bodyMatches.length;
    for (var i = 0; i < numMatches; i++)
    var s = bodyMatches[ i ].replace(/<script[^>]*>[\s\r\n]*(<\!--)?|(-->)?[\s\r\n]*<\/script>/img, "");
    //make sure that we are not create a script tag if there is no body to it.
    if(s.length > 0)
    //alert(s);
    var scriptEle= document.createElement("script");
    scriptEle.text = s;
    ele.appendChild(scriptEle);
    //now we begin taking care of the script includes (those that have a src attribute defined)
    var srcScript = "<script[^>].*src.*>(.|\s|\n|\r)*?</script>";
    var srcMatches = str.match(new RegExp(srcScript, "img"));
    if(srcMatches)
    var numMatches2 = srcMatches.length;
    var srcAttrib = "[\s]*src=[\'\"](.*\.js)[\'\"]";
    for(var j=0; j<numMatches2; j++)
    // when the below statement executes, m should have the src attrib and value:
    // src='sompath.js' as a string.
    var m = srcMatches[j].match(new RegExp(srcAttrib, "img")).toString();
    //now we strip out the src= part. this will leave us with just the path along with the double quotes.
    var n = m.replace(/^[(?=src=)]*/img, "");
    if(n.length > 0)
    var scriptEle2 = document.createElement("script");
    //get rid of the quotes as well.
    //This is done to take care of single quotes too so that it will work if they defined either:
    // <script src='somefile.js' type="text/javascript></script>
    // <script src="somefile.js" type="text/javascript></script>
    scriptEle2.src=n.replace(/[\"\']/img, "");
    scriptEle2.type="text/javascript";
    ele.appendChild(scriptEle2);
    But!
    There's always a but, even if it would work. You might face a even bigger issue. The Google script uses document.write. This method should only be used once the main page is still loading. If you execute this function while the page is done with loading. It will replace the whole content of your page with what is beeing writen.
    For example if it does:
    document.write('Hello');
    Your whole place would be replaced and only showing the word "Hello".
    A solution to this would be to use a iframe to display the ads.

  • WBS field (PROJN) not been converted correctly

    Hi experts
    I am extracting WBS Element from table AFVC in ECC into BI.
    The WBS Format I am getting in BI is not correct for example instead of p-00004.02.03 I am getting value 7.
    The field name is PROJN and data element is PS_PSP_ELE
    The SS conversion of this field is ABPSP.
    The length of the field in the Data Source is length of 8 and when extending it into 24 still no correct result is loaded.
    I have also tried to convert it in the BI side from PSA to DSO using all kinds of conversions for example: ABPSN (through function module in the transformation)
    I know that the correct key for WBS is p000040203, the output of the conversion must be the same in order that BI system will recognize it (assign it with correct transactional data and MD that I am getting through CO and PS datasources)
    Please advise me how to get correct wbs format in BI.
    Thanks
    Nir

    Hi
    I am facing the same issue in my project.  Could you please let me know how did you solved it?
    Thanks
    Supraja

  • Error while parsing wsdl while creating logical port

    Hi all,
    I have a ABAP consumer proxy created. Now I want to create a logical port in SOAMANAGER.
    When parsing the wsdl, the error is:
    SRT Framework Ausnahme. Fehler beim WSDL-Parsen: Fehler in Base-URI: Relative URI testtt.wsdl erfordert Angabe einer absoluten Base-URI
    which is in english something like:
    SRT Framework exception:Error parsing WSDL: Error in Base-URI: Relative URI requires absolute base-URI
    Do you have any idea? The wsdl is very simple, just one binding, no nested schemas, no reference to https site.
    Thanks in advance,
    Rolf
    Edited by: R.M. on Dec 1, 2011 4:54 PM

    Further investigation gave SAP_note 1327511 (Limiations and common problems in ABAP WSDL processing). Did not find any problems with that.
    I also checked the wsdl with the report RSSIDL_DESERIALIZE_DEMO - it's ok!
    BTW, the system is of Release 700-Level 25. Here's a part of the wsdl:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://domain.de/b1tt/schema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://domain.de/b1tt/schema" targetNamespace="http://domain.de/b1tt/schema">
      <wsdl:types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://domain.de/b1tt/schema">
        <element name="SendRequest">
             <complexType>
                  <sequence>
                       <element name="name" type="string">
                       </element>
                       <element name="ordertype" type="string">
                       </element>
                       <element name="orderno" type="string">
                       </element>
                       <element name="workflow-id" type="string">
                       </element>
                       <element name="file" type="base64Binary">
                       </element>
                       <element minOccurs="0" name="signature-file" type="base64Binary">
                       </element>
                  </sequence>
             </complexType>
        </element>
    ...omitted some more elements equally defined...
    </schema>
      </wsdl:types>
      <wsdl:message name="SendRequest">
        <wsdl:part element="tns:SendRequest" name="SendRequest">
        </wsdl:part>
      </wsdl:message>
    ...omitted some more messages equally defined ...
      <wsdl:portType name="TestTT">
        <wsdl:operation name="Send">
          <wsdl:input message="tns:SendRequest" name="SendRequest">
        </wsdl:input>
          <wsdl:output message="tns:SendResponse" name="SendResponse">
        </wsdl:output>
        </wsdl:operation>
      </wsdl:portType>
      </wsdl:definitions>
    Edited by: R.M. on Dec 2, 2011 1:41 PM

  • Transformation is not getting Active.

    HI
    In DEV system , the transformation from Data source to Info source is in Active.when i press on change button .The transformation is in INACTIVE...Then i want to make it in active .....its not getting ACTIVE...showing not executable ...AND displaying an error ...
    Rule 12 (target field: 0CRM_OBJ_ID group: 01 Standard Group): Source and target field length
    Message no. RSTRAN563
    Diagnosis
    The length of the target field is shorter than the length of the source field. This can lead to information loss.
    System Response
    During the update, the values are shortened to the target field length.
    when i check the start routine.....
         Field: CLMREGNO Clm Reg No.
            CLMREGNO           TYPE C LENGTH 12,
    when i check this field ( clmregno ) it is being used in different system.The size of the data is 11...
    For the target field (0CRM_OBJ_ID) the length size is 10 .....How can i make it in Active ???.
    whereas in Qlty and Prod System the same process is  Active.Data is getting Loaded.
    Thanks in advise.
    Best regards,
    kaleem.

    hi all,
    The actual data clmregno is in format
    40100771646
    30100014767
    30100015004
    30100014653
    40100772077
    40100788014
    But , i am not getting the correct code/logic  ...to set.
    Appreciate if someone who is familiar in this help out.
    Thank you.
    Regards,
    kalim.

Maybe you are looking for

  • Please help me about Sun Access Manager . . .

    Hi every body, I deploy successful Access Manager 7.1 on domain1 in GlassFish server. At address admin console domain1 : http://my.test.domain:4848/ At adress listening : http://my.test.domain:8080/amserver/ And then I install Policy Agent 2.2 and de

  • WHAT THE HELL IS THE META KEY!?!??!?!

    Hi guys, i am currently adding som Accelerators to my JMenus, can someone tell me what the meta key is? I tryed the windows key, or alt key.. but no luck so far... Appreciate all the help one can get. thx

  • Address and Mail group issue

    I am unable to send emails to the entire group that I have created in Address book. If I have say ten emails I cannot send email with a couple of clicks I must open the group and add each email one at a time. I have multiple Macs and only have this p

  • File channel getting blocked.

    Hi frnds, Our process is like this. Flat files keep coming from a legacy system, the files need to be processed and updated to R/3 using an IDOC. Some times the files come in an unstructured way/Junk files with the same name, the file adapter tries t

  • Maximum setting that can be done for pivot view in instanceconfig.xml.

    Hi All, Can anyone let me know if there is any maximum setting that can be done for pivot view in instanceconfig.xml. Regards, Apoorv