DB Adapter on ESB with wrong namespace

Hi,
i have the following problem, i create for a stored procedure a service on the ESB - creation and execute on the ESB console (deploy via JDeveloper) without any problems - if i try to load from th service the WSDL into SOAPUI (for addional tests) - SOAPUI found no operation/binding. I found out that on the ESB - the ESB WSDL import the original WSDL with the wrong namespace.
Example:
WSDL of the ESB service:
<?xml version = '1.0' encoding = 'UTF-8'?>
<definitions targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Service_Order/"
xmlns:ws="http://www.example.com/webservice" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
->    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/" location="..../ESB_Projects/General_ServicAdapter_Select_Order/Service_Order.wsdl"/>
<binding name="__esb_Service_Order_Service_Order_ptt" type="tns:Service_Order_ptt">
Called WSDL:
<definitions name="Service_Order"
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Service_Order/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Service_Order/"
The problem is i can not modify the namespace because the ESB WSDL (with the import) is generated by JDeveloper - any idea what is going wrong?
Thanks and Best regards
Thomas

Hi,
i have the following problem, i create for a stored procedure a service on the ESB - creation and execute on the ESB console (deploy via JDeveloper) without any problems - if i try to load from th service the WSDL into SOAPUI (for addional tests) - SOAPUI found no operation/binding. I found out that on the ESB - the ESB WSDL import the original WSDL with the wrong namespace.
Example:
WSDL of the ESB service:
<?xml version = '1.0' encoding = 'UTF-8'?>
<definitions targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Service_Order/"
xmlns:ws="http://www.example.com/webservice" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
->    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/" location="..../ESB_Projects/General_ServicAdapter_Select_Order/Service_Order.wsdl"/>
<binding name="__esb_Service_Order_Service_Order_ptt" type="tns:Service_Order_ptt">
Called WSDL:
<definitions name="Service_Order"
targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Service_Order/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Service_Order/"
The problem is i can not modify the namespace because the ESB WSDL (with the import) is generated by JDeveloper - any idea what is going wrong?
Thanks and Best regards
Thomas

Similar Messages

  • Xsl transformation of xml with wrong namespace

    I have xml with wrong namespace:
    <PAMStartedNotification xmlns="some site">
    <tUser>PLVUSER</tUser>
    </PAMStartedNotification>I need to leave this namespace and transform it.
    As a result of transformation now I get
    <tUser></tUser>
    ...I.e. XPath is not calculated properly.
    If I leave out that namespace then everything is ok.
    But I want to leave that namespace as it is.
    I use the following code to transform xml:
    Templates stylesheet = transformerFactory.newTemplates(new StreamSource(new File(fileName)));
    Transformer processor = stylesheet.newTransformer();
    java.io.StringWriter resultWriter = new java.io.StringWriter();
    StreamResult streamResult = new StreamResult(resultWriter);
    processor.transform(new StreamSource(new StringReader(xmlData)), streamResult);
    transformedXML = resultWriter.getBuffer().toString();Any ideas how to do that(transform xml with wrong namespace)?
    Edited by: prng on Dec 15, 2008 6:43 AM
    Edited by: prng on Dec 15, 2008 6:45 AM

    prng wrote:
    Sorry.
    Here is XPath I use to select tUser:
    /PAMStartedNotification/tUser
    Right. To start out, that selects a PAMStartedNotification element which is in no namespace. But yours isn't. It's in the default namespace, which doesn't have a prefix. You could try this XPath expression:
    /*[local-name() = 'PAMStartedNotification']/*[local-name() = 'tUser'](Untested, might have mis-typings and so on.)

  • Ftp Adapter in ESB Control

    Where do I need to configure the JNDI-location of my ftp-adapter when working with an esb control?
    If I deploy my esb process now i'm getting a WSIFException because he can't find the configuration settings for the ftp adapter.

    When I try to use the same functionality, the ftp adapter, in bpel I'm facing the same behaviour. There is something wrong with the configuration of the oc4j-ra.xml file?
    The errostack:
    file:/C:/product/SoaSuite/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_BPELProcess1_1.0_c64929dfd2dacf95db3c9da081c1797d.tmp/put.wsdl [ Put_ptt::Put(DVD) ] - WSIF JCA Execute of operation 'Put' failed due to: Adapter Framework unable to create outbound JCA connection.
    file:/C:/product/SoaSuite/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_BPELProcess1_1.0_c64929dfd2dacf95db3c9da081c1797d.tmp/put.wsdl [ Put_ptt::Put(DVD) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12510
    Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
    The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: location='eis/Ftp/FtpAdapter'.
    The reason for this is most likely that either
    1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
    2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/Ftp/FtpAdapter. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
    Please correct this and then restart the BPEL/OC4J Application Server

  • Issue in invoking a BPEL process (having a DB Adapter) from ESB

    Dear All,
    I am having an issue while invoking a ESB process (Batch file mode) which inturn will call a second BPEL process which will invoke the Oracle APPS standard API ego_item_pub.process_items to create an item in Inventocry, through a DB adapter
    I am able to create the Item and API is working when I pass the input XML through the second BPEL process.
    But when invoking through the ESB process which will invoke the BPEL process, based on the polling to the batch file from the ESB. This is done through an FTP adapter in ESB.
    The Issue is that while invoking from ESB, through batch file. The PL/SQL API is throwing error from the standard API 'ego_item_pub.process_items'
    But it works fine if I invoke the BPEL process individually.
    What might be the problem for this and how can I fix this..
    Please update..
    Many thanks in advance ...

    Hi,
    We tried the same thing and it worked for us. In our scenario we had a BPEL process calling a ESB and then this ESB calling another BPEL process which inturn calls the API. I agree with James it seems more of a Data issue/or your XSD is not proper i.e the XSD that you ESB process is having. If you have created a ESB and then changed the BPEL process afterward the issue you mentioned will come. Please run the process in DEBIG mode and provide the domain.log file.
    Regards
    Sahil
    http://soab2bsahil.blogspot.com

  • StarTech Adapter not working with Dell Inspiron 15, model 3521

    Side Note: I wrote a reply to a thread that was from 2013. I do apologize because the link was sent to me by my bf and I did not realize how old it was. Since my reply has to be approved I can't delete it.
    Current Issue: StarTech Adapter not working with Dell Inspiron 15 model 3521 
    I bought my Dell laptop last year and at first I did not realize that it had only one audio jack (combo, as the specifications manual says), I only noticed when I was trying to plug in my Ozone Rage ST headset.
    I searched online threads and found out that I needed an adapter and most people mentioned Headset Buddy. I couldn't find any adapters for sale in my country (or employees didn't really know what I was talking about) and since Headset Buddy is a bit expensive, I decided to try StarTech Headset adapter for headsets with separate headphone/microphone plugs - 3.5mm 4 position to 2x 3 position 3.5mm M/F www.amazon.com/.../ref=cm_cr_pr_product_top.
    It arrived today and let me tell you that I can't make it work. I can hear everything but I can't get the external mic to work or even be detected. I have always used my headset (mostly for gaming) and I prefer to use my external mic rather than the internal one. First I connected my headphone and mic jacks to the adapter and only after that did I connect it to the laptop combo jack. I also tried vice-versa. It didn't work, regardless of the order. I even tried with a different headset and it still didn't work. What else can I do?
    I have also found a thread on Dell forums saying that Headset Buddy doesn't even work on Dell Inspiron 15, model 3521. So since it doesn't work and I'm assuming StarTech doesn't, either, what am I to do/buy?! I am getting extremely frustrated and I'm very disappointed with Dell because the brand should have included with the laptop a proper working adapter for these situations and not make its customers buy an extra accessory to make whatever working gear they already had function. It just doesn't make sense to me! Either make the changes work properly or simply don't touch anything. I spent some of my savings on this laptop which, overall, is great but now I am being forced to spend more on an item to allow me to use my headset. I am running out of options here and even Dell can't seem to tell its customers with 100% certainty what really works for this specific model. 
    If I can't make the adapter work, I just hope I can return it, otherwise I'll end up with no refund and with a piece of equipment I have no other use for! 
    Any thoughts?

    Hi,
    Thanks for your reply.
    This is the first time I was forced to buy adapters such as these so I don't know if I'm doing something wrong or if there's anything else I can do to make it work. When I plug the adapter to my Dell, the laptop presents me with several options such as: headphones, headphone, speakers, skull candy headphones, etc (maybe some may have different names but since I see them in Portuguese, I'm not quite sure how they appear for someone who has the computer in English), I have picked different options and it still doesn't work, the only noticeable changes are sound quality related, I guess.

  • I have had my ipad for 6 months. We had a power failure and ever since my ipad will not charge with the wall adapter that came with it.  It will SLOWLY charge when plugged into computer port. Can anyone help me resolve this?

    I have had my iPad for 6 months.  We recently had a power outage and my iPad was plugged in with the adapter that came with it.  Since then I can not charge iPad with adapter, however I can charge it SLOWLY on my computer.  Do you think the adapter got fried?  Also do you HAVE to have iTunes with an iPad, they were charging me alot of fees for games I did not download NOR give my password to have them downloaded so I cancelled iTunes because fo too many fees. Could this have anyting to do with the battery not charging?

    Since then I can not charge iPad with adapter, however I can charge it SLOWLY on my computer. 
    Well, something's definitely wrong if it won't charge from a wall outlet. Make an appointment at a Genius Bar or take it to an Apple certified repair provider.
    As for iTunes charges, according to Apple  iTunes Store: All Sales Are Final
    You can try contacting iTunes Billing:
    http://www.apple.com/support/itunes/
    Click: iTunes Store Account & Billing / Billing Inquiries / Email Us

  • Issue with Remove Namespace HTTP POST method

    I am working on an integration where cXML from the Partner will be posted to SOA and from SOA another HTTP post to end partner. its basically
    HTTP Post(partner 1)----------------->SOA--------------->HTTP Post(Partner 2).
    I have cXML its in dtd format which i have converted to Native format using file-adapter and added namespace schema. so My question is while cXML is post to SOA i have added namespace schema and consumed it to my BPEL, while it leaves out Partner2 through HTTP post again the namespace should be removed and sent to partner 2. I am stuck at this Point. need Urgent help. please. how to remove name space.

    Hi,
    Create xsl style sheet file (xml) from you jdeveloper. Path to go File->New. go to all technogloy tab and select All Items catagory and select XSL style sheet.
    Remove content in the generated xml file and copy and paste the below code
    <?xml version='1.0' encoding='UTF-8'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xsl ns1">
    <xsl:template match="comment()|processing-instruction()|/">
    <xsl:copy>
    <xsl:apply-templates/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="*">
    <xsl:element name="{local-name()}">
    <xsl:apply-templates select="@*|node()"/>
    </xsl:element>
    </xsl:template>
    <xsl:template match="@*">
    <xsl:choose>
    <xsl:when test="name() != 'xmlns'">
    <xsl:attribute name="{local-name()}">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:when>
    </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>
    In Your bpel process under assign activity give it as below
    <copy>
    ora:getContentAsString( ora:processXSLT( 'xsl/removeNamespaces.xsl', bpws:getVariableData('variable name','rootelement')))
    <to variable="String"/>
    </copy>
    String variable contains your xml message with out namespaces in string format.
    You can pass this string content to your partnerlink 2.
    Regards,
    Tarak.

  • PI 7.0 ABAP Proxy Wrong Namespace after Client copy

    Hello,
    i am looking for an PI expert because we have some problems with a standard ABAP proxy interface.
    We use the FSCM Module and we send Credit Commitment Notification from a SAP ECC 6.0 to PI 7.0.
    We use the Interface CreditCommitmentNotification_Out and it works fine on the Development System (D46). But on the integration system (Q46) it doesn't work. The Q46 is build up from our production system (P46) by a system/client copy.
    We get the error:
    The payload include a wrong namespace for the proxy interface.
    wrong: xmlns:prx="urn:sap.com:proxy:P46:/1SAI/TAS7DF374ECCA722B654BFE:700:2007/10/04"
    correct: xmlns:prx="urn:sap.com:proxy:Q46:/1SAI/TAS7DF374ECCA722B654BFE:700:2007/10/04"
    I dont know why we get the wrong namespace. I check the transaction SICF, SPROXY and SXMB_ADM  and compare it with the customizing on our development system. I didnt find any gap.
    Please help me if you have some ideas what is wrong on our system.
    Regards
    Jürgen 8-))

    Hi,
    We experience the same problem after an upgrade from ECC 5.0 to 6.0
    How did you solve this?
    Ron

  • SOAP adapter works synchronously with EO !??

    Hello,
    I configured Sender SOAP Adapter with EO. The SOAP adapter follow the message to a BPM.
    All of this process work fine with the HTTP Adapter (that I use for test) but when I use the SOAP Adapter I receive a strange error message :
    <b>BPE_ADAPTER.SYNCHONOUS_MESSAGE
    The process does not support the given synchronous interface or does not support synchronous messages</b>
    Does anybody know how to sovle this ?
    Thanks
    Regards
    Chris

    I always have the return code 0. This process work with the HTTP Adapter but not with the SOAP Adapter.
    The only thing I change was the adapter in the sender agreement.
    This is the begeening of the XI Message :
      <!--  Call Adapter  -->
      <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SOAP:Header>
      <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode><b>synchronous</b></SAP:ProcessingMode>
      <SAP:MessageId>1CCC5F0F-F2BB-BC49-BDC3-A6C2F209A645</SAP:MessageId>
      <SAP:TimeSent>2006-12-26T11:50:36Z</SAP:TimeSent>
      <SAP:Sender>
      <SAP:Service>TOFFStaging</SAP:Service>
      <SAP:Interface namespace="http://t.be/xi/TOFF/LeadCreation">MIOA0001_Offer</SAP:Interface>
      </SAP:Sender>
      <SAP:Receiver>
      <SAP:Party agency="" scheme="" />
      <SAP:Service>BP0001_ToffLeadCreation</SAP:Service>
      <SAP:Interface namespace="http://t.be/xi/PI/LeadCreation">MIAA0001_Offer</SAP:Interface>
      <SAP:Mapping notRequired="M">
      <SAP:ObjectId>rrEYQC3BMRyBTROgtt+SaQ==</SAP:ObjectId>
      <SAP:SWCV>g2bqoJATEdu/Gvy1rBATzQ==</SAP:SWCV>
      <SAP:SP>-1</SAP:SP>
      </SAP:Mapping>
      </SAP:Receiver>
      <SAP:Interface namespace="http://t.be/xi/PI/LeadCreation">MIAA0001_Offer</SAP:Interface>
      </SAP:Main>
      <SAP:ReliableMessaging xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:QualityOfService><b>BestEffort</b></SAP:QualityOfService>
      </SAP:ReliableMessaging>
    Regards,
    Chris

  • Webi base on BW query based on Infoset comes back with wrong values

    Hello:
    I have a Webi report on an OLAP Universe, on Bex Query.
    The bex query is based on 1 INFOSET.
    When I run the webi report the values that comes back a totally wrong values.
    The correct results are not brought back.
    When I do a test with crystal reports to the infoset, I can see the correct values.  (I'm aware crystal uses different drivers).
    The test is BW query designer, and crystal brings back proper values from Infoset based BW query.
    Webi on Infoset based BW Query comes back with wrong data.
    query is simple.
    Pull in 3 attributes, 3 key figures, where componentkey = "111"
    I get 36 rows in Crystal and 36 rows in Bex Analyzer, 36 rows in BW query designer (web analyzer).
    I get many rows in webi (almost like a CARTENSIAN product).
    I search a round this forum but still did not see a conclusive answer to this problem.
    But I see another thread that several others faced this same issue without a resolution.
    My environment.
    BOE XI 3.1 SP2
    No fix packs
    SAP IK 3.1 SP2
    HPUX-IA64
    Thanks in advance for any help.
    Dwayne

    Was this problem ever solved?
    I am having a similar problem with an infoset based query.
    I have created the BW infoset, and confirmed that the correct data is returned from the underlying infoproviders. A simple BW query on that infoset yields the same results.
    Create the universe, and then the WEBI, and WEBI now shows hundreds of records where I expect 10. Data is being returned in WEBI that definitely shouldn't be there. It's almost like the restrictions applied in the characteristic restriction area of my BW query are being ignored, even if I include them in the WEBI query.
    Cheers,
    Andrew

  • IPhoto imports photos with wrong dates even if the dates are fine on the camera

    Hi!
    When I import photos with iPhoto, sometimes it imports them with wrong dates, even the dates are fine on the camera. It puts dates such as 2032. Does anyone know how can I fix that. As far as I know there is no way to change dates of the photos.
    Thanks!

    well that is very confusing since if the date is correct on the camera it will be correct in iPhoto
    and as to
    As far as I know there is no way to change dates of the photos.
    Try looking through your iPhto menus - two commands - adjust time and date and batch change time and date - asjust is used to correct incorrect dates like a comera setting -   Batch change for missing dates like with scans
    LN

  • Mini dvi to dvi adapter not working with monitor

    arright *** i got a mini dvi to dvi adapter which is connected to my vga monitor through a vga to dvi adapter. The computer recognizes the monitor in display preferences, but the monitor doesn't display anything it just sits in standby mode... any ideas why this isn't working? You'd think if the problem was going from vga-vga to dvi adapter-dvi to mini dvi adapter that it wouldn't even recognize the monitor but it does.
    well that *****, back to best buy to get the other one. Reason i got the dvi one is because i plan on getting a different monitor with dvi soon. But noo dvi adapter wont work with vga adapters.
    Message was edited by: Veiss

    The mini-DVD to DVI adapter doesn't pass through the analog video signals needed for VGA, so won't work with a DVI to VGA adapter. All the control signals are there, so the display is recognized, but there will be no picture.
    They could have used a DVI-D connector on the adapter, instead of DVD-I, so the DVI to VGA adapter wouldn't even plug in, but then it couldn't be used with some non-Apple LCDs, that use DVD-I connecters.

  • I have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way f

    i have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way for me to use to use my monitor. I monitor LG FLATRON E2041 brand .. PLEASE Helpp ME

    i have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way for me to use to use my monitor. I monitor LG FLATRON E2041 brand .. PLEASE Helpp ME

  • PO created with wrong Company code

    Hi Gurus,
    I have Plant XXXX assigned to Company code 1111 and
             Plant YYYY assigned to Company code 2222
    One of the user has created PO with Plant XXXX and company code wrong as 2222.
    (we have warning message setup & not error message. So, it allowed user to create PO with wrong Company code and save)
    GR & IR both are already posted. I find the accounting document of these GR/IR show correct company code as XXXX-1111 (mostly would have taken correctly based on plant XXXX).
    These are service POs (non stock).
    Now user wants to change the company code in PO to 1111.
    I checked...and system simply allow to change to company code to correct one i.e 1111. It does not give any message.
    Could any one give me some additional info.. if it is right to do so? I am not too convinced at this moment.
    I was suggesting user to reverse GR, IR, delete PO and create new PO. Is that right?
    Thanks n advance for your input.
    Best Regards,
    Mohan

    Dear Mohan,
    U can change the company code in PO as it will not have any impact since the GR and IR is completed.
    Accounts are hit based on the valution area(valuation grouping code).
    Since the PO is already closed u can go ahead the change the same.
    Regards,
    AM Vahanan

  • Please tell me which Ipod dock adapter is compatible with the Ipod Classic 80GB?  They no longer make this particular Ipod and I need the right dock adapter for my Panasonic SC-HC25 stereo system I recently purchased.

    Please tell me which Ipod dock adapter is compatible with the Ipod Classic 80GB?  They no longer make this particular Ipod and I need the right dock adapter for my Panasonic SC-HC25 stereo system with universal dock for Ipod/Iphone I recently purchased.
    You can also send my answer to [email protected]
    Thanks in advance for all who will help.
    slovebk

    refer to this Apple support Article, on Universal Dock which retail at $59 at Apple store.
    http://support.apple.com/kb/HT1380
    Look through the compatible list chart and see which 80GB model are you using, either ID 9 or 10. you can order through Apple Online Store.
    Have a nice day!

Maybe you are looking for