Invalid XML Response - missing xmlns=''

I have a simple BPEL WebService using a xsd elementFormDefault="unqualified".
{color:#0000ff}+<schema attributeFormDefault="unqualified"+
elementFormDefault="unqualified"
targetNamespace="http://xmlns.oracle.com/InvalidXMLResponse"
xmlns="http://www.w3.org/2001/XMLSchema">
+<element name="InvalidXMLResponseProcessRequest">+
+<complexType>+
+<sequence>+
+<element name="input" type="string"/>+
+</sequence>+
+</complexType>+
+</element>+
+<element name="InvalidXMLResponseProcessResponse">+
+<complexType>+
+<sequence>+
+<element name="result" type="string"/>+
+</sequence>+
+</complexType>+
+</element>+
+</schema>+{color}
I invoke this WebService with the Web Service Test Page of OC4J
and get an invalid xml-response (missing xmlns="").
If i look inside the bpel-console in the instance-flow at the reply activity the
xml-response looks good.
GOOD Reponse (at bpel-console):
+<InvalidXMLResponseProcessResponse xmlns="http://xmlns.oracle.com/InvalidXMLResponse">+
+<result {color:#ff0000}*xmlns=""*{color}>test</result>+
+</InvalidXMLResponseProcessResponse>+
Invalid Response (at every WS Client):
+<InvalidXMLResponseProcessResponse xmlns="http://xmlns.oracle.com/InvalidXMLResponse">+
+<result>test</result>+
+</InvalidXMLResponseProcessResponse>+
It seams that the xml serializer of the oc4j container does create a valid xml-response.

I just retested the testcase with an other test environment (10.1.3.4 MLR#3) and everything worked fine.
{color:#0000ff}+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">+
+<env:Header/>+
+<env:Body>+
+<InvalidXMLResponseProcessResponse xmlns="http://xmlns.oracle.com/InvalidXMLResponse">+
+<result xmlns="">test</result>+
+</InvalidXMLResponseProcessResponse>+
+</env:Body>+
+</env:Envelope>+{color}
So there should be an availagle bugfix for this issue.
I need this bugfix for 10.1.3.3.1 because this is our production environment.

Similar Messages

  • SSMS 2012:FOR XML PATH Using XPath Node Tests-Columnn name 'test()' contains an invalid XML identifier as required by FOR XML?

    Hi all,
    I am learning XPATH and XQUERY from the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles, (published by apress). I copied the Code Listing 12-8 FOR XML PATH Using XPath Node Tests (listed below) and executed it in my
    SQL Server 2012 Management Studio:
    --Coles12_8.sql // saved in C:/Documemnts/SQL Server Management Studio
    -- Coles Listing 12-8 FOR XML PATH Using XPATH Node Tests
    -- Retrieving Name and E-mail Addresses with FOR XML PATH in AdvantureWorks
    -- 16 March 2015 0935 AM
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "test()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH;
    I got the following error message:
    Msg 6850, Level 16, State 1, Line 2
    Column name 'test()' contains an invalid XML identifier as required by FOR XML; '('(0x0028) is the first character at fault.
    I have no ideas why I got this error message.  Please kindly help and advise me how to resolve this error.
    Thanks in advance,  Scott Chang

    Hi Michelle, Thanks for your nice response.
    I corrected the mistake and executed the revised code. It worked nicely.
    I just have one question to ask you about the appearance of the xml output of my Co;les12_8.sql:
    <row>
    <?nameStyle 0?>
    <Person ID="1" />
    <!--2003-02-08T00:00:00-->697-555-0142<Person><Name><First>Ken</First><Middle>J</Middle><Last>Sánchez</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="2" />
    <!--2002-02-24T00:00:00-->819-555-0175<Person><Name><First>Terri</First><Middle>Lee</Middle><Last>Duffy</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="3" />
    <!--2001-12-05T00:00:00-->212-555-0187<Person><Name><First>Roberto</First><Last>Tamburello</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="4" />
    <!--2001-12-29T00:00:00-->612-555-0100<Person><Name><First>Rob</First><Last>Walters</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="5" />
    <!--2002-01-30T00:00:00-->849-555-0139<Person><Name><First>Gail</First><Middle>A</Middle><Last>Erickson</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="6" />
    <!--2002-02-17T00:00:00-->122-555-0189<Person><Name><First>Jossef</First><Middle>H</Middle><Last>Goldberg</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="7" />
    <!--2003-03-05T00:00:00-->181-555-0156<Person><Name><First>Dylan</First><Middle>A</Middle><Last>Miller</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="8" />
    <!--2003-01-23T00:00:00-->815-555-0138<Person><Name><First>Diane</First><Middle>L</Middle><Last>Margheim</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="9" />
    <!--2003-02-10T00:00:00-->185-555-0186<Person><Name><First>Gigi</First><Middle>N</Middle><Last>Matthew</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="10" />
    <!--2003-05-28T00:00:00-->330-555-2568<Person><Name><First>Michael</First><Last>Raheem</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="11" />
    <!--2004-12-29T00:00:00-->719-555-0181<Person><Name><First>Ovidiu</First><Middle>V</Middle><Last>Cracium</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    I feel this xml output is not like the regular xml output.  Do you know why it is diffrent from the regular xml xml output?  Please comment on this matter.
    Thanks,
    Scott Chang
    What do you mean by regular xml document? Are you referring to fact that its missing a root element? if yes it can be added as below
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "text()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH('ElementName'),ROOT('RootName');
    replace ElementName and RootName with whatever name you need to set for element as well as the root element
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How do i prevent getting a xml declaration in the xml response

    Hi,
    I am using a soap call to access a webservice via plsql.
    The xml response from the webservice starts as follows
    <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">..............
    I want to find ways to
    1. either prevent the xml tag <?xml version='1.0' encoding='UTF-8'?> from being returned in the response.
    2. or somehow convert the entire response to a string and remove it by substr (not sure about this)
    The issue i am facing is that when i run a xmltype.extract on the xml to get a particular node i am getting the
    ORA-31013: Invalid XPATH expression
    when i remove the tag from the response (using hardcoded values) i get the right values back.
    Any suggestions are welcome.
    Regards
    kpillai

    Hi,
    The code extract with hardcoded values looks like this. Please note that i added quotes in the xml statement
    '<?xml version=''1.0'' encoding=''UTF-8''?>which is not the case when oracle returns the xml and i guess thats the whole issue.
    The code below runs perfectly. But when the entire procedure runs where the xml response is returned I get the error.
    DECLARE
    v_result XMLType;
    v_xml XMLType;
    v_request_id varchar2(100);
    v_start varchar2(10);
    v_end number(10);
    p_namespace varchar2(2000):='xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:service="http://mercury.com/ppm/dm/service/1.0" xmlns:common="http://mercury.com/ppm/common/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mercury.com/ppm/dm/1.0"';
    BEGIN
         v_xml := XMLType('<?xml version=''1.0'' encoding=''UTF-8''?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header /><soapenv:Body><service:createRequestResponse xmlns="http://mercury.com/ppm/dm/1.0" xmlns:service="http://mercury.com/ppm/dm/service/1.0" xmlns:common="http://mercury.com/ppm/common/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><service:return xmlns:service="http://mercury.com/ppm/dm/service/1.0" xmlns:common="http://mercury.com/ppm/common/1.0" xmlns="http://mercury.com/ppm/dm/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <addedBy>srvnewscale</addedBy>
    <creationDate>2010-10-22T10:33:44Z</creationDate>
    <description>testing1</description>
    <name>20013876</name>
    <displayURL>http://itg.abc.com:19001/itg/web/knta/crt/RequestDetail.jsp?REQUEST_ID=12345678</displayURL>
    <identifier><id>20013876</id>
    <serverURL>http://itg.abc.com:19001/itg/ppmservices/DemandService</serverURL>
    </identifier><status>Enter - Amend Service Offering</status>
    </service:return>
    </service:createRequestResponse>
    </soapenv:Body></soapenv:Envelope>');
         v_result := xmltype.extract(v_xml,'/soapenv:Envelope/soapenv:Body/service:createRequestResponse/service:return/name', p_namespace);
    insert into result2 values(v_result);
         if (v_result is NULL)
         then
         dbms_output.put_line('no result');
         end if;
         end;
    Regards
    Edited by: 804401 on Oct 24, 2010 9:21 PM

  • Invalid http response: HTTP/1.1 200

    Hi gurus!
    I have a problem with an asynchronous interface.
    We are calling a Webservice which we don't need any response. In sxmb_moni it's OK, but in our RWB we see it as failed, with this entry:  invalid http response: HTTP/1.1 200.
    I have search in logs, and in defaultTrace_00.0.trc we can see the following entry:
    Marked transaction for rollback for meesage 4b4ed19f-bbe6-0062-e100-8000ac1f041d(INBOUND). Reason: java.io.IOException: invalid http response: HTTP/1.1 200
    We have captured the HTTP header response, and is:
    HTTP/1.1 200
    Date: Thu, 14 Jan 2010 10:26:03 CET
    Server: Mule/1.2
    Connection: close
    Expires: Thu, 14 Jan 2010 10:26:03 CET
    Content-Type: text/xml
    Content-Length: 508
    X-MULE_CORRELATION_ID: d595447a-00ee-11df-a6a5-becd407b7daa
    X-MULE_CORRELATION_GROUP_SIZE: 3
    X-MULE_CORRELATION_SEQUENCE: -1
    Could it be problem of the X-MULE_CORRELATION headers? Or Maybe PI needs an HTTP/1.1 200 OK?
    Thak you!!!!

    Hi Ignasi,
    I personally donu2019t think you will have much luck getting XI to accept this response since itu2019s not an XI issue.  Itu2019s true that the client (XI in this case) is not required to examine or display the reason-phrase, but that statement doesnu2019t negate the requirement on the server to provide it.  The client has the option to look at it or not, but the server must still provide it either way.
    I didn't notice the http header before, but the server you are connecting to is actually Mule version 1.2.  This release dates back to 2005.  I ran a quick test and reproduced the issue using Mule 1.2 (hello-http sample).  This may not be the same exact issue, but I did observe the same issue with the missing reason-phrase.  The issue is fixed in the Mule 1.3 release.
    Perhaps they can request a patch for 1.2.  This may not be possible since they are working on the Mule 3.0 version now, but I really donu2019t know.  Itu2019s literally one line of code.   I made one small change and was able to get the hello-http sample working (code is open source):
    Class: org.mule.providers.http.transformers.UMOMessageToHttpResponse
    From this:
    httpMessage.append(status).append(HttpConstants.CRLF);
    To this:
    httpMessage.append(status).append(" ").append(org.apache.commons.httpclient.HttpStatus.getStatusText(status)).append(HttpConstants.CRLF);
    org.apache.commons.httpclient.HttpStatus.getStatusText is the method they are using in 1.3 to resolve the reason-phrase using the status code.
    Thanks,
    -Russ

  • Invalid http response: null - Error in SOAP sync receiver

    Hi,
    We are getting the following error in synchronous SOAP receiver connection.
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: null
    note: This inteface is working fine without error in the subsequent run.
    Anyone please help me out in this...
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid http response: null</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi Rajendra,
    The same issue I am also facing in production system.
    In my case the all the requests are failing after an IIS7.5  upgrade of the Application in production.
    The strange thing is that except SAP rest all the applications are able to submit requests and getting proper response also.
    We are using a https communication and private key certificate authentication in SAP PI.
    Does it look like a PI issue or IIS upgrade  is causing some issue.
    Please suggest.
    Thanks,
    Ashish

  • Invalid http response: null

    Olá Masters,
    Estou com esse erro abaixo, alguém pode me ajudar?
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Inbound Message
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid http response: null</SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack />
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>

    Este é o meu XML com erro:
    <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
         <infNFe versao="2.00" Id="NFe52110403485572000104550010000000611621476378">
              <ide>
                   <cUF>52</cUF>
                   <cNF>62147637</cNF>
                   <natOp>Venda producao do estabelecimento /</natOp>
                   <indPag>0</indPag>
                   <mod>55</mod>
                   <serie>1</serie>
                   <nNF>61</nNF>
                   <dEmi>2011-04-01</dEmi>
                   <tpNF>1</tpNF>
                   <cMunFG>5201108</cMunFG>
                   <tpImp>1</tpImp>
                   <tpEmis>1</tpEmis>
                   <cDV>8</cDV>
                   <tpAmb>2</tpAmb>
                   <finNFe></finNFe>
                   <procEmi>0</procEmi>
                   <verProc>SAP NFE 2.0</verProc>
              </ide>
              <emit>
                   <CNPJ>03485572000104</CNPJ>
                   <xNome>GEOLAB INDUSTRIA FARMACEUTICA S/A MATRIZ</xNome>
                   <enderEmit>
                        <xLgr>V PRINCIPAL 1-B</xLgr>
                        <nro>S/N</nro>
                        <xBairro>DAIA</xBairro>
                        <cMun>5201108</cMun>
                        <xMun>ANAPOLIS</xMun>
                        <UF>GO</UF>
                        <CEP>75132085</CEP>
                        <xPais>Brasil</xPais>
                        <fone>06240154000</fone>
                   </enderEmit>
                   <IE>103233270</IE>
                   <IM>46305</IM>
                   <CNAE>1234567</CNAE>
                   <CRT>3</CRT>
              </emit>
              <dest>
                   <CNPJ>00011976000160</CNPJ>
                   <xNome>DROGARIA MAIS FORMOSA LTDA ME</xNome>
                   <enderDest>
                        <xLgr>AV ANHANGUERA</xLgr>
                        <nro>33</nro>
                        <xBairro>CENTRO</xBairro>
                        <cMun>5208707</cMun>
                        <xMun>GOIANIA</xMun>
                        <UF>GO</UF>
                        <xPais>Brasil</xPais>
                        <fone>6932276622</fone>
                   </enderDest>
                   <IE>116476543112</IE>
              </dest>
              <det nItem="1">
                   <prod>
                        <cProd>000000000000500134</cProd>
                        <cEAN>7899095201347</cEAN>
                        <xProd>POLTAX D 50MG CX C/ 20COMP DISP</xProd>
                        <NCM>30049037</NCM>
                        <CFOP>5101</CFOP>
                        <uCom>UN</uCom>
                        <qCom>1.0000</qCom>
                        <vUnCom>50.0000000000</vUnCom>
                        <vProd>50.00</vProd>
                        <cEANTrib></cEANTrib>
                        <uTrib>UN</uTrib>
                        <qTrib>1.0000</qTrib>
                        <vUnTrib>50.0000000000</vUnTrib>
                        <indTot>1</indTot>
                   </prod>
                   <imposto>
                        <ICMS>
                             <ICMS00>
                                  <orig>0</orig>
                                  <CST>00</CST>
                                  <modBC>3</modBC>
                                  <vBC>50.00</vBC>
                                  <pICMS>17.00</pICMS>
                                  <vICMS>8.50</vICMS>
                             </ICMS00>
                        </ICMS>
                        <IPI>
                             <cEnq>999</cEnq>
                             <IPINT>
                                  <CST>01</CST>
                             </IPINT>
                        </IPI>
                        <PIS>
                             <PISNT>
                                  <CST>07</CST>
                             </PISNT>
                        </PIS>
                        <COFINS>
                             <COFINSNT>
                                  <CST>07</CST>
                             </COFINSNT>
                        </COFINS>
                   </imposto>
                   <infAdProd>+</infAdProd>
              </det>
              <total>
                   <ICMSTot>
                        <vBC>50.00</vBC>
                        <vICMS>8.50</vICMS>
                        <vBCST>0.00</vBCST>
                        <vST>0.00</vST>
                        <vProd>50.00</vProd>
                        <vFrete>0.00</vFrete>
                        <vSeg>0.00</vSeg>
                        <vDesc>0.00</vDesc>
                        <vII>0.00</vII>
                        <vIPI>0.00</vIPI>
                        <vPIS>0.00</vPIS>
                        <vCOFINS>0.00</vCOFINS>
                        <vOutro>0.00</vOutro>
                        <vNF>50.00</vNF>
                   </ICMSTot>
              </total>
              <transp>
                   <modFrete>1</modFrete>
              </transp>
         </infNFe>
    </NFe>
    Edited by: Henrique Pinto on Apr 1, 2011 12:10 PM EDITADO pra remover assinatura e formatar XML

  • An invalid XML character (Unicode: 0xc)

    Hello all...
    I am trying to build an XML document from a database query (SQL Server)... using Apache's Xalan/Xerces xml/xsl parser.... and the Xerces keeps throwing this exception:
    An invalid XML character (Unicode: 0xc) was found in the element content of the document.
    when looking at the content... I do find some unicode characters: ��
    My XML header is set to:
    <?xml version="1.0" encoding="ISO-8859-1"?>but it seems to have no influence. I tried (just for troubleshooting) to enclose the field in a <![CDATA[]]> block, but it threw the same error.
    I am using org.apache.xerces.parsers.DOMParser to parse the XML.
    My parsing code looks like this:
    DOMParser parser = new DOMParser();
    parser.parse(new InputSource(new StringReader(xml)));is there something else I am missing?

    Open it with your text editor.Try to save it in the
    Unicode format. I also suggest you to check out:
    http://www.w3schools.com/xml/xml_encoding.asp
    Hello! Thanks for the response... I found the error, something that wasn't immediately related to Java... the front-end application is Cold Fusion... and the connection to SQL Server was via ODBC... and something strange was happpening to the translation of the copyright character... where is was indeed invalid.
    Cold Fusion on Win2k is unicode compliant, but there appears to be something odd with the ODBC driver.
    Thanks again

  • Org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x80) was found in the CDATA section

              Hi,
              I,'m using c.tld tag libraries from Yakarta in order to use c:if functions.
              When I use non-unicode characters in my JSP pages, it crashes:
              java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected
              the page: "org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x80)
              was found in the CDATA section., "
                   at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:124)
                   at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
                   at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:353)
                   at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:211)
                   at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:149)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:521)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
                   at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              How can I force it to use ISO-8859-1? All my tries haven't work. What should I
              do? The c.tld libraries and jars are taken from JDK 1.4.1_02
              

    Hi Stefan,
       This is my source xml in moni..
    xmlns:prx="urn:sap.com:proxy:ECP:/1SAI/TAS5BFDF495190544E4B506:701:2008/06/06">
      <SiteId>0080</SiteId>
      <UCC>42027519 91029010015</UCC>
    My interface is SAP(Proxy) to Database(Synchronous).
       SAP (PROXY) --> PI --> DATABASE ( Synchronous Communication )
    Let me know if u need any information from my side...
    Thanks for ur help...
    Thanks,
    Siva..

  • How to insert the partner link (xml)response to data base adapter in BPEL:

    Hi to every one,
    I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
    I am developing one central reporting server for this I have the following requirement.
    I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
    I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
    I written one common xsd file for request and response for N departmental server.
    Following are the SOAP request and response formats for your reference.
    <!-- =========== request formate ========= -->
    <Reportreq xsi:type="rep:Reportreq">
    <reqdate xsi:type="xsd:string">01-01-2010</reqdate>
    <reqtime xsi:type="xsd:string">1100</reqtime>
    </Reportreq>
    <!-- ======= Response Formate ================================ -->
    <multiRef id="id0" soapenc:root="0"
         soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:ns2="ReportServer">
         <errorcode xsi:type="xsd:string"/>
         <errordesc xsi:type="xsd:string" xsi:nil="true"/>
    <reportres xsi:type="xsd:string">
    <![CDATA[<response:getTransData>
              <transdate>01-01-2010</transdate>
              <transtime>1100</transtime>
              <distcode>03</distcode>
    <transdata>
    <centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
    <cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
    <chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
    <cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>RBVP</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <transdata><centre>RKBH</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
    <epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
    <transdata><centre>ARLV</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>NTRS</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <!-- I will get “transdata” tag nearly 1000 to 10000 -->     
         </response:getTransData> ]]>
    </reportres>
    </multiRef>
    In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
    Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
    Let me know if you have any idea or small example to achieve my requirement.
    Note: All partner services were implemented in bottom up approach.
    Have a good day,
    Thanks in advance,
    Regards,
    Ishmayel.v

    Hi to every one,
    I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
    I am developing one central reporting server for this I have the following requirement.
    I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
    I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
    I written one common xsd file for request and response for N departmental server.
    Following are the SOAP request and response formats for your reference.
    <!-- =========== request formate ========= -->
    <Reportreq xsi:type="rep:Reportreq">
    <reqdate xsi:type="xsd:string">01-01-2010</reqdate>
    <reqtime xsi:type="xsd:string">1100</reqtime>
    </Reportreq>
    <!-- ======= Response Formate ================================ -->
    <multiRef id="id0" soapenc:root="0"
         soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:ns2="ReportServer">
         <errorcode xsi:type="xsd:string"/>
         <errordesc xsi:type="xsd:string" xsi:nil="true"/>
    <reportres xsi:type="xsd:string">
    <![CDATA[<response:getTransData>
              <transdate>01-01-2010</transdate>
              <transtime>1100</transtime>
              <distcode>03</distcode>
    <transdata>
    <centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
    <cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
    <chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
    <cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>RBVP</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <transdata><centre>RKBH</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
    <epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
    <transdata><centre>ARLV</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>NTRS</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <!-- I will get “transdata” tag nearly 1000 to 10000 -->     
         </response:getTransData> ]]>
    </reportres>
    </multiRef>
    In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
    Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
    Let me know if you have any idea or small example to achieve my requirement.
    Note: All partner services were implemented in bottom up approach.
    Have a good day,
    Thanks in advance,
    Regards,
    Ishmayel.v

  • Index.xml is missing in numbers file

    I am trying to open a file that I created and worked on for long time month ago and now it's saying its invalid and can't be open, saying that index.xml is missing, how can I fix it? Please help me it's an important file and contains very important information!

    Hi Mayasami,
    These links might help you:
    https://discussions.apple.com/thread/560558?start=0&tstart=0
    http://www.mac-forums.com/forums/os-x-apps-games/52780-missing-index-xml-file-pa ges-help.html
    Regards,
    Ian.

  • Message processing failed: Invalid http response: 220

    Hi Experts,
    I am working on FILE to SOAP scenerio. File is coming in XI properly. But in the SOAP CC its showing this error.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid http response: 220 (Name of the Interanet of the Company) Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Thu, 23 Oct 2008 12:02:22 +0530 : java.io.IOException: invalid http response: 220 (Name of the Interanet of the Company) Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Thu, 23 Oct 2008 12:02:22 +0530
    Any ideas ?
    -=Soniy

    Hi Sonia,
    Please go throgh the following links for use ofr XML SPY
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7ccd3e4e-0501-0010-95ae-afa58cb46b75
    Re: Stand alone testing using XML Spy
    WSDL frm  Altova xml spy
    Invoke Webservices using SAPXI
    Testing XI exposed Web-Services
    Regards
    Sridhar Goli

  • Xml response in browser .. how to deal with

    OK .. I have a basic question here but I'm long winded so bear with me.
    Background:
    I am submitting an HTML form to a secure website, with a username/password, and that web site in turn returns me a webpage with XML in it that looks something like this:
    <?xml version="1.0" encoding="utf-8" ?>
    <string xmlns="http://tempuri.org/">http://blahblah.blah.com/index.aspx?ticket=fabcdefjkjlkjlkja;lkh31bba5f7</string>
    the webpage is https, it's secured.
    I can submit the my form (not included in this post because it's not a problem) and get the XML back in the browser - but how, in my JSP or servlet (either / or) .. what is the API to retrieve the XML response (above) from the browser .......... I can manage to parse it once I can get it.
    I've done some research. but the more I do the more I get confused.
    Is it just something like request.getParameter(something or other) once the form is submitted?
    Do I need to use SAX/JAX, or DOM, XMLHTTP, javascript, HTTPClient, Xerces, Xalan ... sooooooooooo confused. ..... to actually retrieve that page into something I can work with in Java?
    Like I said once I get the page in a variable, somehow, I'm sure I can figure out how to parse the "string" variable out ................ the objective there then is to redirect the user to that URL
    I'm really lost ........... help!!!!!!!
    Thanks so much!!!!!!!!!!!!
    Edited by: hopkinca on May 16, 2008 1:04 PM

    Hi. Thanks for your thoughtful answers.
    My actual problem is much more basic. I know where to put business logic, I know how to parse XML.
    It's not either of those that is the problem.
    Here is my scenario:
    I am auto submitting a form in a servlet. (this works fine). It's an authenticated POST to an external web site.
    The submission of this form creates a browser response -- a WEB PAGE (*https*!!!!) with information I need in it (that the user shouldn't actually see). It happens to be XML. But even if it was a chapter of a book, my question is ... after the form is submitted (no problem), and the browser shows the webpage (no problem), how, in java or javascript, do I
    get the contents of that https:// webpage. (that's my problem!!)
    Does this kind of clarify my question? I'm kind of looking for more specific answers than what technology to use. Should this XML be part of the response from the POST?
    When I try to create an xml source, I get the following:
    Exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Maybe this willhelp you. We were given the ASP code to do this.
    the way that it goes about this is
    {color:#ff0000}Set objRequest = Server.createObject("MSXML2.SERVERXMLHTTP"){color}
    objectRequest.open="POST", "https://blahlblahblah", False
    objectRequest.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    objectRequest.Send (blah blah blah ..... the parameters
    ' my comment: AT THIS POINT THIS IS LIKE SUBMITTING THE FORM, no? Except for the red part
    'then they get the contents by this:
    dim GetTheContents
    GetTheContents = objectRequest.responseText
    Then they proceed to parse it in a very ugly fashion, but I will use DOM or the like. but at least the variable "GetTHeContents" has the contents of the https webpage that was returned by the external site after submitting the form.
    Thanks again. I hope I helped clarify instead of created more confusion.
    PS I am trying AJAX now. I still can't manage to put the contents of the webpage into some kind of variable (or get it from some other kind of variable). This is my first round with Ajax.
    Edited by: hopkinca on May 20, 2008 2:15 PM

  • Interesting Reqrmnt - How to avoid sending namespace in the xml response

    Hi,
    Below is the XML response we generate and send it to HTTP Receiver.
    - <ns1:CATSIMPORT xmlns:ns1="urn:pweh.com:erp:hr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Version>1.0</Version>
      <TrackID>{5A3C87A5-48FD-4BCD-9178-A200F10F118D}</TrackID>
    - <ReturnCode>
      <value>Success</value>
      </ReturnCode>
      </ns1:CATSIMPORT>
    Can we remove the first and last line of the xml content and send it.
    Please send in your suggestions or answers.
    Regards,
    Amar Nemalikanti

    Hi Amareshwar,
    Check my replies in this link.
    just like java code to add a tag, you can use to remove a tag, before it goes to http adapter.
    Re: How to change the incoming xml to a different namespace
    Hope that helps you to fix your issue
    Regards
    Vishnu

  • Invalid XML character in web service answer of MS Exchange

    Hello Forum!
    We have to look up contacts in the global address list of a Microsoft Exchange server.
    The current solution uses the web services that have been introduced in version 2007 of MS Exchange.
    Unfortunately some records returned by the MS Server cause a javax.xml.stream.XMLStreamException. The Exception
    tells us that a parser error occurred. The Exception says:
    Message: Character reference "&#x7" is an invalid XML character.
    The Java classes used for accessing the Exchange web services are generated using the jaxws plugin and the application
    is running on the Glassfish application server v2 ur1.
    The only solution we can think of right now is to access the XML stream returned by the Exchange server before it is handed over
    to the parser in order to replace the invalid characters.
    Can anyone point me to some documentation or give me an example of how to intercept the XML parsing process used by the jaxws
    component?
    Any other ideas for a solution are of course also appreciated.
    Thanks for your help in advance,
    Henning Malzahn

    hm@collogia wrote:
    In addition to that MS is not very responsive when it comes to Java questions.Yes, but "Your software is producing malformed XML" is not a Java question.
    I can imagine that filtering the stream isn't very easy - are you able to provide some links to additional
    information that can help us getting started in that direction?A subclass of FilterInputStream whose read() method calls the superclass's read() method a second time when the input is between 0 and 19, or whatever are the invalid XML characters?

  • Invalid XML Document in BPEL Human Task - TaskService

    Hi Experts
    I am getting the following run time error in BPEL console in my bpel process which has got a human task.
    ==================================================================
    Invalid xml document.*
    According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-datatype-valid.1.2.1: '' is not a valid value for 'dateTime'.*
    Error::cvc-type.3.1.3: The value '' of element 'expirationDate' is not valid.*
    Please make sure that the xml document is valid against your schemas.*
    ==================================================================
    BPEL console is validating all incoming and outgoing XML document against the relevant schema since the configuration property, validateXML has
    set to strict in the BPE console domain, which it has to be.
    This complain is regarding the element expirationDate in the response message of the human task, which cannot be explicitly set in the bpel process.
    Please help me to resolve this issue.
    Thanks
    Jamith

    Hi
    This has been escalated to Oracle and has been identified as a bug.
    Anyway, can you please explain bit more about you workaround?
    Thanks
    Jamith

Maybe you are looking for