Oracle ESB 10g : Blank namespace in the SOAP Response from DB adapter

Hi All,
I am currently working on a ESB project to route input XML file as a parameter to a DB Function.
This Function has a input parameter of type XMLTYPE and returns VARCHAR2 values.
I have configured the DB Adapter to invoke this function and return the result as a SOAP response.
The WSDL of DB adapter contains XML_DATA as input and XMLMAIN as the output result.
The ESB project works fine as expected. But in the result from DB adapter contains a blank namespace [xmlns=""] for the XMLMAIN element .
I hereby attach the output XML.
Please help how to remove this blank namespace from the output.
We are using SOA Suite 10g 10.1.3.5
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/XXWEB/XMLMISCRCPTINSERTPKG/XMLMAIN/">
<OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<XMLMAIN xmlns="">100</XMLMAIN>
</OutputParameters>
</env:Body>
</env:Envelope>
Thanks and Regards,
Justin Michael Raj

well..the problem is..the db adapter has it's own transaction..so the transactions fails or not.
you're just not capable of checking if the transaction went ok...and return 'process completed ok' or when the transaction failed for some reason return 'the process aborted'.
So you just need some extra steps for it to be able to return some response-message

Similar Messages

  • Siebel QC Integration in Oracle ESB 10g

    In our current project Quality Control(QC) to Oracle ESB 10g Inbound/Outbond is RESTful request/response and Siebel to ESB SOAP. My qusetions are
    1. How will ESB process RESTful request from QC?
    2. How will ESB generate RESTful response for QC?
    Please provide me the correct inputs without making any assumptions.
    ------ Debasis

    In our current project Quality Control(QC) to Oracle ESB 10g Inbound/Outbond is RESTful request/response and Siebel to ESB SOAP. My qusetions are
    1. How will ESB process RESTful request from QC?
    2. How will ESB generate RESTful response for QC?
    Please provide me the correct inputs without making any assumptions.
    ------ Debasis

  • How to change the SOAP version from 1.0 to 1.2 while registering to ESB

    Hi All,
    I have problem here,
    Is there any possibility to change the soap version from 1.0 to 1.2 for oracle ESB.
    Because it is using SOAP1.1 while registering any service to ESB, Is there any possiblity to change it.
    Hi guys is there any solution for this...........:-(
    OR Will SOA suite 10.1.3.4 supports SOAP 1.2 ?
    Cheers,
    Kalyan.P

    Hi,
    The current version of ESB does not support SOAP 1.2. You need to make sure your message contains the correct SOAP 1.1 namespace so ESB uses the correct SOAP version:
    SOAP 1.1: http://schemas.xmlsoap.org/soap/envelope/
    SOAP 1.2: http://www.w3.org/2003/05/soap-envelope
    For SOAP 1.2 you have to wait until 11g SOA Suite is released.
    Kind Regards,
    Andre Jochems

  • Default namespace in the SOAP sender adapter

    Hi All!
    Sorry for the following really easy question but what is the default interface name and default namespace in the SOAP sender Adapater? The name of the interface to where the adapter should forward the received SAOP message?
    it means that for every soap message a new communication channel should be created. Or only one channel is enough?
    And in the receiving case only one is enough or for every web services a new receiving communication channel need to be created?
    Thank you for your answer.

    Hi,
    q) what is the default interface name and default namespace in the SOAP sender Adapater?
    Ans) Soap Sender does not have any default namespace and interface.  That can be set at Sender Agreement. 
    q) The name of the interface to where the adapter should forward the received SAOP message?
    Ans : That message is forwarded to Adapter Engine and then to integration Engine. That takes interface in sender agrement and Namespace.
    it means that for every soap message a new communication channel should be created. Or only one channel is enough?
    Ans:  For sender, 1 communication channel is enough. For Receiver, if you have 10 different systeems, then  you need to create those many receiver communication channels .
    And in the receiving case only one is enough or for every web services a new receiving communication channel need to be created?
    Ans : Same as above
    Note  Soap message is not criteria for creating channels....  Please note that .. soap communication channels creates soap messagae.
    -Subbu

  • How to make the oracle forms 10g applet or runtime the size of 1024x768?

    Hi,
    Can anyone tell me
    How to make the oracle forms 10g applet or runtime the size of 1024x768?
    Thanks in advans..

    Please post your question in Forms Topic
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Error when trying to read the SOAP Response

    Hai,
    iam trying to access the web service of DUBAI international Airport
    GetFlightSchedulebyDateRange at http://dca.gov.ae/WebServices/Flights
    This is my program
    package MyClient3;
    import java.io.FileOutputStream;
    import java.net.URL;
    import java.util.Iterator;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.MimeHeaders;
    import javax.xml.soap.Name;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPBodyElement;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPFactory;
    import javax.xml.soap.SOAPFault;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    public class Client3 {
    public static void main(String arg[]){
    try{
    MessageFactory factory = MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage();
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPHeader header = envelope.getHeader();
    SOAPBody body = envelope.getBody();
    // header.detachNode();
    SOAPFactory soapFactory = SOAPFactory.newInstance();
    Name bodyName = soapFactory.createName("GetFlightSchedulebyDateRange",null,"http://dca.gov.ae/WebServices/Flights");
    SOAPBodyElement bodyElement = body.addBodyElement(bodyName);
    Name name = soapFactory.createName("Todate");
    SOAPElement symbol = bodyElement.addChildElement(name);
    //symbol.addTextNode("2007-05-25T00:00:00.0000000+04:00");
    symbol.addTextNode("2007-05-27");
    name = soapFactory.createName("Fromdate");
    symbol = bodyElement.addChildElement(name);
    //symbol.addTextNode("2007-05-25T00:00:00.0000000+04:00");
    symbol.addTextNode("2007-05-27");
    MimeHeaders hd = message.getMimeHeaders();
    hd.addHeader("SOAPAction", "http://dca.gov.ae/WebServices/Flights/GetFlightSchedulebyDateRange");
    SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnectionFactory.createConnection();
    message.writeTo(System.out);
    System.out.println();
    System.out.println(soapPart.toString());
    String endpoint = "http://dubaiairport.com/dcaflightinfo/fis/flights.asmx?WSDL";
    URL url = new URL(endpoint);
    SOAPMessage response = connection.call(message, url);
    response.writeTo(System.out);
    SOAPPart part = response.getSOAPPart();
    SOAPEnvelope env = part.getEnvelope();
    connection.close();
    System.out.println("\n\nIterating through the response object to get the values:\n\n");
    // SOAPBody se = response.getSOAPBody();
    }catch(Exception e){System.out.println("+++++++++++++++++++++++++"+e);}
    i am getting the error
    ERROR: 'Character reference "&#x1B" is an invalid XML character.
    in the statement
    SOAPEnvelope env = part.getEnvelope();
    can some help me to solve this problem, iam using JAX-WS 2.0, and netbeans

    I got the solution, there was a Invalid char in SOAP response message, i stored the SOAP res msg to a file, parsed that file to remove the invalid char , ans used the soap msg from the file,
    it worked perfectly fo me

  • Sending the SOAP request back in the SOAP response

    Hi,
    I have a requirement in which I need to update a database from the information I receive in a SOAP request. Now my database will respond back with the number of records that are updated. Now I need to send back a SOAP response which should have the details that I received in the SOAP request.
    Can anyone help me on how to send the SOAP request details back in the SOAP response again? I don't want to use a BPM to do this. Also I know that I can use a select statement to get the records that are updated in my response mapping program. Any options other than these?
    - Ram

    Hi Stish,
      I do have exactly the same need, just with the difference that I'm sendind data from JDBC as sender and RFC as receiver, the RFC receive an ID fot example and return some data as a response and I want to update the DB with that response but I dont know how to merge the ID from the request and the data from the response in order to send it back and update the DB. I'm willing to do it with BPM but I don't know how to keep the request and the response and then merge them into the new message that will be sent to the JDBC, can you give me some specific steps?
    Thanks in advance.
    Gustavo Balboa.

  • 2013 Exchange, Can't connect to Exchange Management Shell. It cannot determine the content type of the HTTP response from the destination computer.

    The following error occurs.
             Welcome to the Exchange Management Shell!
    Full list of cmdlets: Get-Command
    Only Exchange cmdlets: Get-ExCommand
    Cmdlets that match a specific string: Help *<string>*
    Get general help: Help
    Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
    Show quick reference guide: QuickRef
    Exchange team blog: Get-ExBlog
    Show full output for a command: <command> | Format-List
    Tip of the day #0:
    Did you know that the Identity parameter is a "positional parameter"? That means you can use:
     Get-Mailbox "user" instead of: Get-Mailbox -Identity "user"
    It's a neat usability shortcut!
    VERBOSE: Connecting to mail1.dorothy.local.
    New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local failed with the following error
    message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
    the destination computer. The content type is absent or invalid. For more information, see the
    about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Exception calling "GetComputerSite" with "0" argument(s): "The Specified directory object cannot be found."
    At C:\Program Files\Microsoft\Exchange Server\V15\bin\ConnectFunctions.ps1:164 char:2
    +     $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetC ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ActiveDirectoryObjectNotFoundException
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.: mail1.dorothy.local
    VERBOSE: Connecting to mail1.dorothy.local.
    New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local failed with the following error
    message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
    the destination computer. The content type is absent or invalid. For more information, see the
    about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Randy Cheek

    Good Morning,
    Log into the server with an account that has appropriate Exchange rights, not a local account.  
    Note: By default - Domain Admins don't have Exchange rights.
    Dame Luthas, ITILv3, MCSE Messaging 2013, MCSA, MCITP
    My Technical Blog: http://thelifestrategist.wordpress.com
    Discipline is the Difference between Goals and Accomplishments
    If this post is useful, please hit the green arrow on the left & if this is the answer hit "mark as answer"

  • Error: Unable to process the following response from FOI server

    Hi
    While integrating BI with mapviewer, I am getting the following error:
    Unable to process the following response from FOI server
    Please let me know how this can be fixed
    Thanks & Rgds
    Dipesh
    Message was edited by:
    user542575

    One more question about NSDP, Im still wondering how can NSDP work as you only need to declare nsdpInfo.setKeyColumn("xx") --xx
    Eg. My result set come from OBIEE, it hase 2 column xx and yy.
    Im just copy the sample code to translate the output into xml, the output sample is like:
    Column 1 Column 2
    440100 0
    440200 5
    440300 1
    So how can MapViewer know that the second column is the value column?
    The same question is about when the output is multiple column.

  • Missing Namespace with the SOAP msg sent by C#

    Hi All,
    The wsdl file is generated by SAP XI. I used the XMLSpy to test it and get successful response.
    Then I used wsdl.exe of .net 2.0 sdk to generate the C# proxy class, and use csc.exe to compile it to a dll, and then refer it in the project. After sent the soap message by C#, the XI shows the message is wrong, then I compare this soap envelop body with the one I sent by the XMLSpy as follow:
    C#:
    <MT_PP_014_PrdOrderGoodsRcv xmlns="http://mycompany.com/xi/sap/system/pp">
    <content>
    </content>
    </MT_PP_014_PrdOrderGoodsRcv>
    XMLSPY:
    <m:MT_PP_014_PrdOrderGoodsRcv xmlns:m="http://mycompany.com/xi/sap/system/pp">
    <content>
    </content>
    </m:MT_PP_014_PrdOrderGoodsRcv>
    so it is the namespace, according the xml generated by C#, the MT_PP_014_PrdOrderGoodsRcv element isn't inlucded in the namespace http://mycompany.com/xi/sap/system/pp, which cause the error.
    Anyone know how to fix it?
    Thanks and B'Rgds,

    Hi YiNing,
    the message created by C# is indeed wrong.
    Check that in XMLSpy message, the default namespace is never set and that the message namespace is set to prefix "m" and that only the root tag is included in this namespace. All the other tags have no namespace (since they are not attached to any namespace prefix) or have the default namespace, which was not set.
    On the other hand, in the C# message, the default namespace is set in the root tag. The root tag is related to the default namespace (it has no prefix) and hence it has the proper namespace. However, the other tags are also related to the default namespace (no namespace prefix) which was set. So these other tags are the erroneous ones.
    Try to check that in your proxy, but it seems like a bug in the proxy generator application.
    Just as a test, send the message from C# in a request from XMLSpy (replace the automatically generated message inside SOAP Body). The same error would be expected.
    Also as a test, send this message in XMLSpy:
    <MT_PP_014_PrdOrderGoodsRcv xmlns="http://mycompany.com/xi/sap/system/pp">
    <content xmlns="">
    </content>
    </MT_PP_014_PrdOrderGoodsRcv>
    Regards,
    Henrique.

  • Can't retrieve the result from the soap response

    We are trying to send and retrieve audio files using j2me web services. What we did is to convert the byte array (recorded audio) to hex string before sending it to the server. We used the sun java platform 9 for our web service, sun java wireless toolkit 2.2,mysql.
    We successfully saved and sent audio files that is recorded up to 39 seconds long. Longer than that, the application does not continue running the program. In retrieving the audio file from the database, the application could retrieve and play an audio file up to 2 seconds long. Any audio file longer than 2 seconds, the application does not complete the retrieval.
    We already looked on the memory usage of the emulator and it doesn't use the whole phone memory to retrieve a 3 seconds audio file. We also looked on the soap message response and it showed that it retrieves the whole audio file which is in hex string even if it is a 3 seconds audio file.
    We don't know why the phone/emulator could not retrieve the whole audio file (if it's longer than 2 seconds) from the server. What could be the cause of the problem?

    Hello,
    I am not sure that we have lot of HTMLDB experts monitoring this forum, this is why I am inviting you to post your question in the Oracle Application Express (APEX) (fka: HTMLDB)
    Regards
    Tugdual Grall

  • E-mail Address has become a blank box in the to: and from: lines.

    I was sent an e-mail by a colleague yesterday which has caused very strange behavior in Apple Mail. His e-mail address was not visible in the from: line ... instead there was a greyed out box in place of the address. Now all instances of mail from this individual - several hundred messages in mailboxes stored locally - exhibit the same issue. Where his e-mail address should be (in the to: or from: line) is a blank box. There are also problems with address auto completion. Any of the letters which would normally produce this individual's e-mail address ("t", "g" or "s"), now produce no suggestions at all. Otherwise address completion works fine.
    Any ideas anyone? I've never seen anything like this before.
    Thanks, Richard

    The Mail app on the iPad/iPhone/iPod Touch does have an option to clear previous recipients. You can learn to live with it.  But if you want to get rid of it, the only way to remove these cached email addresses from the Mail application is restoring the iPhone/iPod Touch as a new phone/iPod.  If you restore from backup, the cache is also restored.
    This article shows you the screens you will see during the restore:  http://support.apple.com/kb/HT1414

  • 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

  • Oracle std report to fetch all the backordered lines from the sales orders

    Hello Experts,
    Is there any standard Oracle report which can provide us the details of all the backordered lines in all the sales orders? Pls advise.
    Regards,
    Vidhi

    There is a report called "Backorder Detail Report" under Shipping Execution.

  • ADDING xml to the SOAP Message from client

    Hi, does anyone know how to add an xml file to the SOAP message passed by the client to the server?
    I need to send an xml file, I have already tried attachments but they dont meet the purpose. I need to send the xml as part of the soap message in AXIS 1_4.
    I read this somewhere about
    SOAPEnvelope env = message.getSOAPEnvelope;
    env.addBodyElement( new RPCElement("SOAPaccess","webservicename", new
              Object[] { }) );
    FileInputStream file = new FileInputStream( "c:\\abcd.xml");
    SOAPBodyElement aBody = new SOAPBodyElement( file );
    file.close();
    env.addBodyElement( aBody );
              However I am not certain how to go about doing this in axis.
    I have been trying to find something related to this, but havent been able to.
    Please let me know if you know how to add xml file to the body of a SOAP message.

    If anyone is interested...I got this working,
    //b is the byte form of the xml document.
    InputStream is = new ByteArrayInputStream(b);
              Document doc =XMLUtils.newDocument(is);
              SOAPElement me = new MessageElement(doc.getDocumentElement());
              SOAPElement a=message.getSOAPBody().addChildElement(me);
              MessageContext mc=_call.getMessageContext();
              mc.setMessage(message);
              mc.getMessage().getSOAPBody().detachNode();
              SOAPBody sb = (SOAPBody)mc.getMessage().getSOAPPart().getEnvelope().addBody();
              sb.addChild(new MessageElement(doc.getDocumentElement()));
              mc.getMessage().saveChanges();
              System.out.println(mc.getMessage().getSOAPPart().getEnvelope());
              SOAPEnvelope env=(SOAPEnvelope)mc.getMessage().getSOAPPart().getEnvelope();

Maybe you are looking for

  • Unable to upload static images and files

    Hello everyone. I configured Oracle Apex 3.2.1 with apex listener. The problem is that I can not make the upload of a static image in the table wwv_flow_files. Thanks to those who will be kind enough to give me a hint

  • Reg: GGB1 Transaction - substitution

    Hi, To the entire SAP Network, I need to work on GGB1 Transaction for the substitution. My actual requirement is to work on Asset Accounting - Master Data , to get the substitution and prerequisite for the step. If any one has worked on GGB1 tcode an

  • My Ipod is not Authorized?  Why not?

    Hi- I bought music on itunes and it will not upload into my pod. Every time I try to drag the THREE songs (come on, it's not even an entire CD) over to my ipod in itunes, this box pops up that says "your ipod is not authorized". Why the heck not? It

  • Reinstall (broken internal dvdrom, using firewire dvdrom) problem

    Hi I'm trying to reinstall Tiger on my iBook G4 using an external (fw) dvdrom, the dvdrom is recognized in OSX. The internal dvdrom is broken (has a disc that won't come out). When I try to boot the iBook G4 from the mac os x disk in the external dvd

  • Please help.  Exporting 37 minute movie and the video is stuck

    I'm creating my annual year in review trivia contest for a party we're having this weekend. I've done lots of importing, editing, questions, sounds, etc. I exported the video using the "expert" settings, to apple TV. About 8 minutes into it, it locks