Help adding namespace to SOAP evenlope

Hello,
I am new to the world of SOA and I am working to figure out how to add a namespace to the envelope that s send from our SOAP messages...
currently we send ...
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" >
and we are being asked to send an additional namespace on the end ....
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:abc="http://something.com>
How can I accomplish this using Jdeveloper 11?
Thank you for any help in this matter

You can achive this by having a dummy 1-1 transformation, but there is a danger that the xslt processer might not be able to get any data from the source, in that case you need to edit the transformation source to remove the namespaces from the xPaths of sources.
Regards,
Ajay

Similar Messages

  • I need help adding a mouse motion listner to my game. PLEASE i need it for

    I need help adding a mouse motion listner to my game. PLEASE i need it for a grade.
    i have a basic game that shoots target how can use the motion listner so that paint objects (the aim) move with the mouse.
    i am able to shoot targets but it jus clicks to them ive been using this:
    public void mouse() {
    dotX = mouseX;
    dotY = mouseY;
    int d = Math.abs(dotX - (targetX + 60/2)) + Math.abs(dotY - (targetY + 60/2));
    if(d < 15) {
    score++;
    s1 = "" + score;
    else {
    score--;
    s1 = "" + score;
    and here's my cross hairs used for aiming
    //lines
    page.setStroke(new BasicStroke(1));
    page.setColor(Color.green);
    page.drawLine(dotX-10,dotY,dotX+10,dotY);
    page.drawLine(dotX,dotY-10,dotX,dotY+10);
    //cricle
    page.setColor(new Color(0,168,0,100));
    page.fillOval(dotX-10,dotY-10,20,20);
    please can some1 help me

    please can some1 help meNot when you triple post a question:
    http://forum.java.sun.com/thread.jspa?threadID=5244281
    http://forum.java.sun.com/thread.jspa?threadID=5244277

  • Need help adding schedule to xcode 4

    I need help adding a tour schedule for an iphone app building an app for 13 djs and they want thier tour schedules added these need to be updated monthly is there a way to add this????

    I don't know if this is the easiest way but it works for me. I connect the DVD player to my camcorder (so it's the 3 plugs yellow/red/white on one end and a single jack into the camera). Then I connect my camcorder to the computer (I think it's through a firewire port). Then I just play the DVD and the footage is digitized via the camcorder and I import it into iMovie 4 as it's playing. I believe the camcorder is just in VCR mode.
    I have also used this method to transfer VHS tapes onto DVDs via the camera by connecting the VCR to the camera.
    I haven't had much luck with movies over about 40 minutes on iMovie. But if it's home movies, there may be a logical break. Do maybe 20 minute segments (it's also really easy on iMovie to add a soundtrack if these are OLD films with no sound.
    As you can see, I'm low tech!
    Good luck!
    Powerbook G4   Mac OS X (10.3.9)  

  • [svn:fx-trunk] 5587: Adding @namespace to halo and haloclassic defaults. css themes.

    Revision: 5587
    Author: [email protected]
    Date: 2009-03-26 12:06:28 -0700 (Thu, 26 Mar 2009)
    Log Message:
    Adding @namespace to halo and haloclassic defaults.css themes.
    QE: Could you please check if this fixes the recent themes issues, and that -compatibility-version=3.0.0 still works as expected too?
    Dev: No
    Doc: No
    Checkintests: Pass
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/halo/defaults.css
    flex/sdk/trunk/frameworks/projects/haloclassic/defaults.css

    I just saw that we are using xmlns:mx="http://www.adobe.com/2006/mxml" in all our custom components written in mxml, including our main application.
    In our custom css, I have the default namespace set to:
    @namespace "library://ns.adobe.com/flex/mx";
    could this result in these warnings ?

  • Any one could help me with this soap client program?

    Any one could help me with this soap client program?
    Below is the request format my partner is expecting to see:
    POST /Service.asmx HTTP/1.1
    Host: 192.168.1.1
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "https://api.abcdefg.com/GetList"
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Body>
              <GetList xmlns="https://api.abcdefg.com/">
                   <username>string</username>
                   <password>string</password>
              </GetList>
         </soap:Body>
    </soap:Envelope>The java client I wrote is blow:
    import javax.xml.soap.*;
    import java.util.Iterator;
    import java.net.URL;
    import java.io.*;
    public class Client {
        public static void main(String [] args) {
            try {
                SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance();
                SOAPConnection connection = soapConnectionFactory.createConnection();
                SOAPFactory soapFactory = SOAPFactory.newInstance();
                MessageFactory factory = MessageFactory.newInstance();
                SOAPMessage message = factory.createMessage();
             // addd SOAPAction;
             MimeHeaders hd = message.getMimeHeaders();
             hd.addHeader("SOAPAction", "https://api.abcdefg.com/GetList");
                // get env and body;
                SOAPPart soapPart = message.getSOAPPart();
                SOAPEnvelope envelope = soapPart.getEnvelope();
             SOAPBody body = envelope.getBody();
                Name bodyName = soapFactory.createName("GetList", "", "https://api.abcdefg.com/");
                SOAPBodyElement bodyElement = body.addBodyElement(bodyName);
                //Constructing the body for the request;
             SOAPElement username = bodyElement.addChildElement("username");
             username.addTextNode("1234567");
             SOAPElement password = bodyElement.addChildElement("password");
             password.addTextNode("7654321");
                System.out.print("\nPrinting the message that is being sent: \n\n");
                message.writeTo(System.out);
                System.out.println("\n\n");
                URL endpoint = new URL ("https://api.abcdefg.com/Service.asmx");
                SOAPMessage response = connection.call(message, endpoint);
                connection.close();
                response.writeTo(System.out);
            }catch (Exception e) {
                 System.err.println("ERROR: ******* " + e.toString());
    }The response my partner's server returned is:
    <faultstring>Server did not recognize the value of HTTP Header SOAPAction:. </faultstring>I used similar code to access the web services provides via tomcat, it works fine...however, for this .NET services it does not work.
    By the way, I also have another version of the clirnt, using JDOM to construct a XML request and wrap with axis message. I got the same error message as above.
    Can anyone point out something for me?
    Any kind of comments will be appreciated!!
    Edited by: Nickolas.Chen on May 6, 2008 7:20 PM

    You will need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Help adding Input language Russian on 8330

    I'm on Verizon Curve 4.3.
    Can anyone help adding Russian as input language?
    Thanks.
    Greg.
    Solved!
    Go to Solution.

    Verizon should have a multi launguage package on the website.
    If not you can go here:
    http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    Make sure you get the same version that is on your phone currently so you ca maintain support.
    Let us know when you get it, and well help you load it.
    Thanks
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • JMS adapter adding namespace to PIP. Please help!

    Hi Experts,
      I have a XI scenario where 4C1 PIP is being sent to TIBCO.
      The issue is that, the output PIP has a namespace <Pip4C1InventoryReportNotification xmlns:jms1="http://www.tibco.com/namespaces/tnt/plugins/jms">
      But no where in XI this namespace has been specified. I suspect that this namespace is getting added in JMS adapter side.
      Can this namespace be easily removed in JMS adpter so that PIP element is generated as <Pip4C1InventoryReportNotification> ? If Yes, then how can we do that?
    Thanks & Regards
    Gopal

    From the namespace and the prefix, I guess that the Tibco jms libraries add that namespace. If this is true, you cannot do anything in PI and you have to check, if Tibco can work with that namespace or remove it.
    Regards
    Stefan

  • Help needed on Creating SOAP message

    hi all
    i am trying to use the saaj from JWDP1.4 to manually create a soap message and send it to a .net webservice. when i run it, i keep getting error complaining the http header :
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html.here is the code, notice the part i use the message to add header information, but it didn't get added for some reason. any help would be much appreciated.
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPElement;
    import java.io.FileInputStream;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamResult;
    import java.net.URL;
    public class JWTest {
       public static void main(String args[]) {
          try {
             //First create the connection
             SOAPConnectionFactory soapConnFactory =
                                SOAPConnectionFactory.newInstance();
             SOAPConnection connection =
                                 soapConnFactory.createConnection();
             //Next, create the actual message
             MessageFactory messageFactory = MessageFactory.newInstance();
             SOAPMessage message = messageFactory.createMessage();
              //  Add the HTTP headers.
              message.getMimeHeaders().addHeader("User-Agent", "Mozilla/4.0 [en] (WinNT; I)");
              message.getMimeHeaders().addHeader("Host", "m25385");
              message.getMimeHeaders().addHeader("Content-type", "text/xml");
              message.getMimeHeaders().addHeader("SOAPAction", "TELUS.Geomatics.WebServices.AdslAvailability.GetAdslAvailability/GetAvailability");
              message.setProperty(SOAPMessage.CHARACTER_SET_ENCODING, "utf-8");
             //Create objects for the message parts           
             SOAPPart soapPart =     message.getSOAPPart();
             SOAPEnvelope envelope = soapPart.getEnvelope();
              envelope.addNamespaceDeclaration("xsd", "http://www.w3.org/2001/XMLSchema");
              envelope.addNamespaceDeclaration("xsi", "http://www.w3.org/2001/XMLSchema-instance");
             SOAPBody body =         message.getSOAPBody();
            //Populate the body
            //Create the main element and namespace
            SOAPElement bodyElement =
                      body.addChildElement(envelope.createName("GetAvailability" ,
                                              "TELUS.Geomatics.WebServices.AdslAvailability.GetAdslAvailability"));
            //Add content
            bodyElement.addChildElement("postalCode").addTextNode("T6J2S4");
              bodyElement.addChildElement("phoneNumber").addTextNode("7057211380");
              bodyElement.addChildElement("callingSystem").addTextNode("MyTelus");
            //Save the message
            //message.saveChanges();
            //Check the input
            System.out.println("\nREQUEST:\n");
            message.writeTo(System.out);
            System.out.println();
            //Send the message and get a reply  
            /*Set the destination
            String destination =
                "http://m25385/GeoExplorer/webservices/ADSLAvailability/GetADSLAvailability.asmx";
              URL endpoint = new URL("http://m25385/GeoExplorer/webservices/ADSLAvailability/GetADSLAvailability.asmx");
            //Send the message
            SOAPMessage reply = connection.call(message, endpoint);
            //Check the output
            System.out.println("\nRESPONSE:\n");
            //Create the transformer
            TransformerFactory transformerFactory =
                               TransformerFactory.newInstance();
            Transformer transformer =
                            transformerFactory.newTransformer();
            //Extract the content of the reply
            Source sourceContent = reply.getSOAPPart().getContent();
            //Set the output for the transformation
            StreamResult result = new StreamResult(System.out);
            transformer.transform(sourceContent, result);
            System.out.println();
             //Close the connection           
             connection.close();
            } catch(Exception e) {
                System.out.println(e.getMessage());
    }

    Can this be done in actionPerformed method If you want the user to have to hit enter after every character they type, yes. Most auto-complete implementations don't, and they'll hate you for it.
    Can anyone be more specific What is your specific problem? have you already implemented your combo-box model that will prune the available selections, or not? If not, start there.
    Also if is enter S in textfield wont the focus in the
    Dropdown be on the first choice starting with S ?Not if the combo is editable and the drop down is not showing.
    is it possible with JComboBox or someother Swing componentYes. Follow the steps in the previous post.
    Pete

  • Adding Namespace in Sender File Adapter Scenario.

    Hi All
    I have a scenario where  XI has to Pick Up XML a file and process it. The structure of the file is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    <Header>
         <Seg1>
         </Seg1>
    </Header>
    This file does not contain any any namespace tag. I guess XI would not be able to pick up this file if there is no namespace in the XML file . The file expected by XI would be something like this.
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns0:MessageTypeName xmlns:ns0="...namespace...">
    <Header>
         <Seg1>
         </Seg1>
    </Header>
    </ns0:MessageTypeName>
    Is there a way this can be handled at the File Sender adapter side . I am aware about  adding adapter module. Is there any other way to add the missing two namespace tags at the top and bottom of the file .
    any help would be appreciated.
    regards
    Nilesh .
    Edited by: Nilesh Taunk on Apr 7, 2008 2:11 PM

    Hi Nilesh,
    Yes it is possible in File sender adapter to give the namespace. In FCC you can give inside Document Specification.
    Under Document Name, enter the name of the XML document.
    The document name is inserted in the message as the main XML tag. This is mandatory for the mapping.
    Under Document Namespace, enter the namespace of the document.
    The namespace is added to the name of the document. This is mandatory for the mapping
    I hope this will help you.
    Regards
    Aashish Sinha

  • How to remove XML namespace in SOAP request

    Hello
    I would like to change one of our existing interfaces to use a SOAP communication channel rather than File. The file currently contains FIDCCP02 Idocs.
    I have created a new communication channel using SOAP 7.1 and generated a Java client. When I send a request to the endpoint from Java, PI returns a SOAP fault.
    Error
    The error in the monitor is 'No standard agreement found for ..'. I think this is because the file contains XML with a root element with no namespace, but the root element in the SOAP message does have a namespace.
    Example requests
    File message :
    <FIDCCP02 xmlns:ns2="http://dorsetcc.gov.uk/FIN_I26/Invoice/PremierFin" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    SOAP message :
    <ns2:FIDCCP02 xmlns:ns2="http://dorsetcc.gov.uk/FIN_I26/Invoice/PremierFin" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    When I send a test request from RWB with no namespace it is successful.
    Attempt to remove namespace
    I have tried adding AF_Modules/XMLAnonymizerBean with no parameters as the first module on the SOAP communication channel, but this does not appear to make any difference. I have refreshed the cache.
    regards
    Steve

    Hello Iñaki
    Thanks for your reply.
    I had read the blog about the XMLAnonymizerBean. It looks very straightforward, and in theory should do just what I need.
    I've added the anonymizer bean as the first module as the SOAP message is asynchronous, and I want to remove the namespaces from the request.
    I want to exclude all namespaces so I haven't set any parameters.
    The SOAP channel in Communication Channel monitor has a status of 'Channel Started but inactive'. I cannot see any messages in the Processing Details for this channel, even though I have sent test messages from Java code and from RWB (the message from RWB without the namespace does reach the receiver). This makes me wonder if I have not configured the interface to use the new SOAP channel correctly, although I can see it in the Receiver Determination configuration overview.
    I can see the messages in SXMB_MONI but can't find which communication channel is being used by the sender.
    I'm using PI 7.1.
    regards
    Steve

  • XSLT : Trouble Adding Namespace

    I need to add namespace xmlns:prx="urn:sap.com:proxy:SB1:/1SAI/TAS04BED82951A661E02EC4:701:2008/06/06" to my xml document after doing a PI message mapping.
    When I run the following XSLT code in my XML editing software, it works as desired.  When I import the XSL program and use it at runtime, it is not adding the namespace.  Can anyone help?
    XSLT:
    <?xml version='1.0' encoding='utf-8'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:prx="urn:sap.com:proxy:SB1:/1SAI/TAS04BED82951A661E02EC4:701:2008/06/06">
    <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
      <xsl:template match="@* | node()">
        <xsl:copy>
          <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>
      </xsl:template>
      <xsl:template match="/*">
        <xsl:copy>
          <xsl:copy-of select="document('')/xsl:stylesheet/namespace::*[not(local-name() = 'xsl')]"/>
          <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>
      </xsl:template>
    </xsl:stylesheet>
    Source:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ChartOfAccountsReplicationConfimation xmlns:ns0="http://sap.com/xi/SAPGlobal20/Global">
      <MessageHeader>
        <UUID>4C321305CA1400AAE10080000A98800D</UUID>
        <ReferenceUUID>4bff533d-2452-00f2-e100-80000a98800c</ReferenceUUID>
        <CreationDateTime>2010-07-06T13:57:30Z</CreationDateTime>
        <SenderBusinessSystemID>ERP_GTPSRM_ECC6_S1</SenderBusinessSystemID>
        <RecipientBusinessSystemID>EDG_030_BusinessSystem</RecipientBusinessSystemID>
      </MessageHeader>
      <Log>
        <BusinessDocumentProcessingResultCode>3</BusinessDocumentProcessingResultCode>
        <MaximumLogItemSeverityCode>1</MaximumLogItemSeverityCode>
        <Item>
          <Note>Processed by PI</Note>
        </Item>
      </Log>
    </ns0:ChartOfAccountsReplicationConfimation>
    Desired Target:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:ChartOfAccountsReplicationConfimation xmlns:ns0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:SB1:/1SAI/TAS04BED82951A661E02EC4:701:2008/06/06">
         <MessageHeader>
              <UUID>4C321305CA1400AAE10080000A98800D</UUID>
              <ReferenceUUID>4bff533d-2452-00f2-e100-80000a98800c</ReferenceUUID>
              <CreationDateTime>2010-07-06T13:57:30Z</CreationDateTime>
              <SenderBusinessSystemID>ERP_GTPSRM_ECC6_S1</SenderBusinessSystemID>
              <RecipientBusinessSystemID>EDG_030_BusinessSystem</RecipientBusinessSystemID>
         </MessageHeader>
         <Log>
              <BusinessDocumentProcessingResultCode>3</BusinessDocumentProcessingResultCode>
              <MaximumLogItemSeverityCode>1</MaximumLogItemSeverityCode>
              <Item>
                   <Note>Processed by PI</Note>
              </Item>
         </Log>
    </ns0:ChartOfAccountsReplicationConfimation>

    HI Stefen,
    I had one XSL question,i have seen in the blogs you have given correct answers regarding the XSLT.
    My requirement is  the source file is :
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="UTF-8"/>
    <ns0:Esri_Identify
    xmlns:ns0="http://ottawa.ca/ecc/esri/ecctoesri">
       <Identify>
          <MapDescription>
             <Name/>
             <Rotation/>
          </MapDescription>
          <MapImageDisplay>
             <ImageHeight/>
             <ImageWidth/>
             <ImageDPI/>
          </MapImageDisplay>
          <SearchShape>
             <X/>
             <Y/>
          </SearchShape>
          <Tolerance/>
          <IdentifyOption/>
          <LayerIDs>
             <Int/>
          </LayerIDs>
       </Identify>
    </ns0:Esri_Identify>
    and expected is :
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="UTF-8"/>
    <ns0:Esri_Identify
    xmlns:ns0="http://ottawa.ca/ecc/esri/ecctoesri">
       <Identify>
          <MapDescription>
             <Name/>
             <Rotation/>
          </MapDescription>
          <MapImageDisplay>
             <ImageHeight/>
             <ImageWidth/>
             <ImageDPI/>
          </MapImageDisplay>
         <SearchShape xmlns:q4="http://www.esri.com/schemas/ArcGIS/10.0" xsi:type="q4:PointN" xmlns="">
             <X/>
             <Y/>
          </SearchShape>
          <Tolerance/>
          <IdentifyOption/>
          <LayerIDs>
             <Int/>
          </LayerIDs>
       </Identify>
    </ns0:Esri_Identify>
    I need to pass the name space for searchshape element, can you please help me in this regard.
    Thanks,

  • Adding namespace qualification to elements...

    <!-- -- Begin data to be encrypted ----->
    <m:sayHello xmlns:m="http://www.bea.com/servers/wls/samples/examples/webservices/basic/javaclass3">
    <intVal xsi:type="xsd:int">3</intVal>
    <string xsi:type="xsd:string">ABCDEFG</string>
    </m:sayHello>
    <!----- End data to be encrypted -- -->
    Above is the data that I'm encrypting.
    I'd like to ***add*** xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" to BOTH the <intVal> and <string> elements. Is this possible?
    The other option would be to OMIT the xsi:type and make it less strict but as I understand the value of type MUST BE an "NMTOKEN" -- so presumably can't be anything loosey-goosey?
    =======================================================
    So I'd like the data I'm encrypting to look like this:
    =======================================================
    <m:sayHello xmlns:m="http://www.bea.com/servers/wls/samples/examples/webservices/basic/javaclass3">
    <intVal xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:int">3</intVal>
    <string xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">ABCDEFG</string>
    </m:sayHello>
    =================================
    Here is my web-services.xml file:
    =================================
    <?xml version="1.0" encoding="UTF-8" ?>
    - <web-services>
    - <web-service useSOAP12="false" targetNamespace="http://www.bea.com/servers/wls/samples/examples/webservices/basic/javaclass3" name="HelloWorld" style="rpc" uri="/HelloWorld">
    - <security>
    - <user>
    <name>ivory</name>
    <password>itfloats</password>
    </user>
    - <encryptionKey>
    <name>s1as</name>
    <password>changeit</password>
    </encryptionKey>
    - <spec:SecuritySpec xmlns:spec="http://www.openuri.org/2002/11/wsse/spec" spec:Namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" spec:Id="default-spec">
    <spec:UsernameTokenSpec PasswordType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" />
    <spec:BinarySecurityTokenSpec EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" />
    <spec:EncryptionSpec spec:EncryptBody="true" spec:EncryptionMethod="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" spec:KeyWrappingMethod="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
    </spec:SecuritySpec>
    <spec:SecuritySpec xmlns:spec="http://www.openuri.org/2002/11/wsse/spec" spec:Namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" spec:Id="nothingburger-spec" />
    </security>
    - <components>
    <java-class name="jcComp0" class-name="examples.webservices.basic.javaclass3.HelloWorld" />
    </components>
    - <operations>
    - <operation name="sayHello" method="sayHello(int,java.lang.String)" component="jcComp0" in-security-spec="default-spec" out-security-spec="nothingburger-spec">
    - <params>
    <param style="in" xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:int" location="body" name="intVal" class-name="int" />
    <param style="in" xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string" location="body" name="string" class-name="java.lang.String" />
    <return-param xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string" location="body" name="result" class-name="java.lang.String" />
    </params>
    </operation>
    </operations>
    </web-service>
    </web-services>

    Hi Stefan,
    I am partially able to add prefix to the XML.
    Here what I did for Module Configuration:
    1. Added Module  AF_Modules/XMLAnonymizerBean after std module in Soap Receiver Adapter
    2. Parameter Name: anonymizer.acceptNamespaces
        Parameter Value : http://xyz/mdm ns0
    Below is the reponse xml with namespace prefix only in the root tag,  no prefix for child tags.
    <?xml version='1.0' encoding='utf-8'?>
    <ns0:getUpdateListResp xmlns:ns0='http://xyz/mdm'>
    <item>46246</item>
    <item>46247</item>
    <item>46248</item>
    </ns0:getUpdateListResp>
    How do I get the namespace prefix to all the tags in the XML?
    Thanks,
    Laxman

  • Adding NameSpace as Attribute of Element

    Hi all,
    I have an element called Batch which has the attributes BatchID="" NoOfEntries="" and what I have to do is add another attribute but this attribute needs to be:
    xmlns="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0"
    It doesnt seem to be adding this extra attribute, even if I add another simpler attribute such as Names="john" it wont add any more....
    Is there a limit to the number of attributes you can add to an element using the following code:
    elm.setAttribute("Name", "John");If there is no limit would I be able to add the above (xmlns) as an attribute as I know it has some strange characters in there?

    Hi thanks for the help but I am slightly confused on this matter now,
    Basically what I have is an element in an XML as in the following:
    <bat:Batch Name=xyz" Age="123"
    xmlns="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0"
    xmlns:bat="urn:x-commerceone:document:btsox:Batch.sox$1.0"
    xmlns:sro="urn:x-commerceone:document:telcoapisox:ServiceRequestOrder.sox$1.0"
    xmlns:dsl="urn:x-commerceone:document:btsox:DSL.sox$1.0"> I guess all these are definitions of namespaces. I cannot set the element name to bat:Batch as I think the colon isnt allowed and hance the use of the NSpace. The NSpace are as above,
    I have located the element that I want to add the above definition to, this is the element elm.
    Then using elm.setAttribute("", ""); I am adding the Name and Age attributes, but am having probs adding the namespace stuff and hence using the colon bat:Batch too,
    Please could you explain a bit further on this, I am looking around in the forums but not getting anywhere fast. Basically I need to have the above attributes as my header in the XML,
    Thanks again,

  • Adding namespace as prefix to existing trasport object contents

    Hi there,
    I'm dealing with the following situation:
    I've written a program, so it's already finished. Now the Idea is, unfortunately this Idea came to my mind a little late, to generate and use a namespace for all the transport objects included in the transport package, since this program will be deployed on different customer systems and I want to avoid inconsistency regarding the Y- / Z-Objects.
    I've already reserved a namespace and added it via SE03 >> Administration: Display/Change Namespaces to my system.
    Now my question:
    Is there any function or possibility to set this new namespace as prefix for all already existing objects in my transport package, or has this to be done manually for every single object?
    Any help and/or ideas in this matter will be kindly appreciated.
    Best Regards,
    Marc

    Hi Matt,
    thanks for your reply. I guess you're right, too bad
    Best regards,
    Marc

  • Adding namespace to the source file

    Hi,
    We are sending xml file data from MDM to XI.
    How can we add the interface namspace to the root node of the message?
    Any inputs on the same would be helpful because without adding the namespace the data is not getting picked from MDM.
    Regards,
    Sampada

    Hi!
    The examples that ship with the book have been developed for BPEL Process Manager 2.x. In version 10.x the XPath expressions have to include namespaces in the steps. For example, when checking the flight ticket price, instead of:
    <case condition="bpws:getVariableData('FlightResponseAA',
    'confirmationData','/confirmationData/Price')
    &lt;= bpws:getVariableData('FlightResponseDA',
    'confirmationData','/confirmationData/Price')">
    we have to write:
    <case condition="bpws:getVariableData('FlightResponseAA',
    'confirmationData','/confirmationData/aln:Price')
    &lt;= bpws:getVariableData('FlightResponseDA',
    'confirmationData','/confirmationData/aln:Price')">

Maybe you are looking for

  • MDX Query using BottomCount to limit Median calculation returns null

    I'm building a new cube that includes some person age values that aren't useful when summed, but are useful when the median is determined. The measure group that contains the measure for the age has a 1-1 relationship with a dimension in the cube bec

  • Using iTunes Plus to upgrade and restore music

    I had a bad computer crash a few months ago, lost all purchased music, then found said purchased music for upgrade in iTunes Plus. Purchased the upgrades, but they are nowhere to be found on my iTunes. Do I need to re-purchase the songs, or can I fin

  • FAST Search for SharePoint 2010 Installation Issues

    Warning Errors in Crawl Log After New FAST Search Server document processor installation. Message: The FAST Search backend reported warnings when processing the item. ( Customer-supplied command failed: ) Message: The Content Plugin received a "Proce

  • How to print contacts email, phone, etc

    How do I print a list of contacts with email address, phone and notes on a MacBook Air with OS X?

  • Design issues

    Hello there, I have 4 classes. 1. User 2. Client 3. UserManager 4. ClientManager User is an abstract class and Client inherits from User. Therefore, a Client is a User. UserManager is solely responsible for User objects management. It handles adding,