Async proxy to soap messages to be processed like EOIO

Hi,
I have a proxy to soap interface. What I want is to route these message these message through one queue in IE level so that, these would be sent to the receiver in order. Also doing this confirm that at the AE level, they would be delivered in order?
I looked at the tuning parameter for eo_outbound_parallel with the reveiver id, but it is routing all the messages to the receiver system in one queue. but I want this only for one interface.
any ideas?
thanks.
Sri

This is what I have observed -
Asynchronous interfaces.
Maintain Order at Runtime checked in the interface determination.
It is an enhanced interface determination producing at the most 3 messages.
When the mapping produced just one message -
In RWB when I checked for the messages processed under integration engine, I found Quality of Service - EO.
At the adapter engine level also the quality of service is - EO
The converstion ID in this case is blank
When the mapping produced more than one message -
In RWB when I checked for the messages processed under integration engine, I found Quality of Service - EO.
At the adapter engine level also the quality of service is - EOIO
The converstion ID in this case is non blank. (this is different at different times. But all of the message generated at the same mapping split have the same value)
So what I understood is, only when there are multiple messages getting generated from the split mapping, only then the AE takes care that only these messages (generated at that instance) would be delivered in order.
Any other observations are welcome.
VJ

Similar Messages

  • Help in forming SOAP message for Bpel process

    Hi,
    I have a following schema file - UnpackMessage.xsd
    <?xml version="1.0" encoding="windows-1252"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    xmlns:tns="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    elementFormDefault="qualified">
    <complexType name="PackHandlerProcessRequestType">
    <sequence>
    <element name="instanceId" type="string"/>
    <element name="activityName" type="string"/>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    <element name="PackHandlerProcessRequest" type="tns:PackHandlerProcessRequestType"/>
    </schema>
    and the following wsdl file for a bpel process
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions name="PackManagerWSDL"
    targetNamespace="http://xmlns.oracle.com/PackManager"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:client="http://xmlns.oracle.com/PackManager"
    xmlns:tns="http://xmlns.oracle.com/PackManager"
    xmlns:ns2="urn:UnpackHandler"
    xmlns:ns3="http://www.w3.org/2001/XMLSchema/UnpackMessage">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/PackManager"
    xmlns="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://www.w3.org/2001/XMLSchema/UnpackMessage" schemaLocation="UnpackMessage.xsd"/>
    <element name="PackManagerProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="PackManagerRequestMessage">
    <part name="payload" type="ns3:PackHandlerProcessRequestType"/>
    </message>
    <message name="PackManagerResponseMessage">
    <part name="payload" element="client:PackManagerProcessResponse"/>
    </message>
    <portType name="PackManager">
    <operation name="initiate">
    <input message="client:PackManagerRequestMessage"/>
    </operation>
    </portType>
    <portType name="PackManagerCallback">
    <operation name="onResult">
    <input message="client:PackManagerResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="PackManager">
    <plnk:role name="PackManagerProvider">
    <plnk:portType name="client:PackManager"/>
    </plnk:role>
    <plnk:role name="PackManagerRequester">
    <plnk:portType name="client:PackManagerCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    The receive activity in bpel process expects input message "PackManagerRequestMessage" of type "PackHandlerProcessRequestType"
    Now on invoking the Bpel process directly by using the console ... the default input to the process looks like this -
    <payload xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="def:PackHandlerProcessRequestType">
    <instanceId xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">600</instanceId>
    <activityName xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">receive</activityName>
    <result xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">ok</result>
    </payload>
    and the receive activity gets the following as input (as taken from Flow in bpel console)
    <ReceiveInput_initiate_InputVariable>
         <part name="payload" >
              <payload xsi:type="def:PackHandlerProcessRequestType" >
                   <instanceId>800</instanceId>
                   <activityName>receive</activityName>
                   <result/>
              </payload>
         </part>
    </ReceiveInput_initiate_InputVariable>
    But when i invoke the same process using a SOAP message which looks like
    <?xml version = "1.0" encoding = "UTF-8"?>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.w3.org/2001/XMLSchema/UnpackMessage" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP:Body>
    <payload xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:PackHandlerProcessRequestType">
    <ns2:instanceId>600</ns2:instanceId>
    <ns2:activityName>receive</ns2:activityName>
    <ns2:result>OK</ns2:result>
    </payload>
    </SOAP:Body>
    </SOAP:Envelope>
    the receive activity now gets the following as input (taken from Flow in bpel console)
    <ReceiveInput_initiate_InputVariable>
    <part name="payload">
    <ns1:instanceId>600</ns1:instanceId>
    </part>
    </ReceiveInput_initiate_InputVariable>
    So i am losing input data. Can someone help me form appropriate SOAP message for this ?
    Thanks,
    Srini

    Thanks Marc,
    The SoapUI is really useful. The SOAP request as generated by the SoapUI for above case is
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:pack="http://xmlns.oracle.com/PackManager" xmlns:unp="http://www.w3.org/2001/XMLSchema/UnpackMessage">
    <soapenv:Body>
    <pack:initiate>
    <payload>
    <unp:instanceId>800</unp:instanceId>
    <unp:activityName>receive</unp:activityName>
    <unp:result/>
    </payload>
    </pack:initiate>
    </soapenv:Body>
    </soapenv:Envelope>
    and the input received at BPEL was as expected.
    Thanks a lot.
    Srini.

  • Synchronous Proxy to Soap  "MESSAGE" GENERAL /

    Hi,
    I try to use the SOAP HTTP (Axis)  Adapter in a PI 7.1 EHP 1 to consume a web service (soap version 1.2). Itu2019s a third-party web service. when I initiate the request  Iu2019m getting the following error.
    <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: The SOAP action specified on the message, '', does not match the HTTP SOAP Action, ' https://webservices.123456.com/Services/Versions1/DocServ/SearchDoc'.</SAP:AdditionalText>
    If I test the web service with soapUI, I use the WS-A parameters u201EActionu201C and u201ETou201C and add the WS-A header to the request and it works.
    Excerpt from soapUI:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ver="https://webservices.123456.com/Services/Versions1/" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
       <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:Action soap:mustUnderstand="1">https://webservices.123456.com/Services/Versions1/DocServ/SearchDoc</wsa:Action><wsa:To soap:mustUnderstand="1">https://webservices.123456.com/Services/Versions1/DocServ.svc</wsa:To></soap:Header>
    u2026.
    But without these header informations, I get the same error message like the PI-error.
    My question is, what do I have to do in the PI to make it work?
    Iu2019m setting the parameter SOAP Action in the PI with the same value as soapUI. The Target URL in the PI is https://webservices.123456.com/Services/Versions1/DocServ.svc.
    Can you help me please?
    Thank you.
    Beatrice

    ErrorCode:104 - updatePerson operation failed: Failed to create context: LDAP: error code 32 - No Such Object</
    It seems that you are trying to call an updatePerson operation through the WSDL and the call is failing at this stage.
    Can you check if the request send by PI is correct in structure and that the WSDL is not facing any issue (check with the end system developer).

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

  • Save soap message in database

    Hi, i'm new in webservice and xml. I want to save the returned SOAP Message by webservice in the database (xmltype).
    String inputLine;
    String xmlDoc = "";
    URL xml = new URL("http://sph001000-020:7777/i3sWebServices-FireWebService-context-root/FireWebService?invoke=lov_fritmtp");
    InputStream input = xml.openStream();
    BufferedReader in = new BufferedReader(new InputStreamReader(input));
    int cnt = 1;
    while ((inputLine = in.readLine()) != null)
    if (cnt == 1){
    xmlDoc = xmlDoc + inputLine;
    cnt = 0;
    else cnt = 0;
    System.out.println("xml " + xmlDoc);
    in.close();
    here is where i got stuck, can anyone help me save the string xmlDoc in database(xmlType)?
    Thanks in advance!
    Regards,
    Hardy

    Hi,
    I had a similar need to save a SOAP message for later processing, using NetBeans. I used a routine saveSOAPMessage (shown below) to write the SOAP message to a file as XML, and then processed the saved XML file. You might be able to do something like this to save the message in your database.
    Good luck.
    gordonwj
    private boolean saveSOAPMessage(String path, SOAPMessage message)
    boolean isValid = true;
    try
    FileOutputStream foutStr = new FileOutputStream(path);
    message.writeTo(foutStr);
    foutStr.close();
    catch (Exception e)
    String s = e.getMessage();
    errorMessage = "Error writing SOAP message to file " + path;
    isValid = false;
    return(isValid);
    }

  • Adding CDATA into SOAP Message

    I am a student in Hollland en need some help.
    I want te add CDATA into a SOAP Message whit JAVA.
    Like:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP-ENV:Body>
              <m:getPremieInfo xmlns:m="http://tempuri.org/message/">
                   <docIn><![CDATA[<?xml version="1.0"?>
    <MIC_CONTRACT><MIC_VIEW><![CDATA[&lt;?xml version="1.0"?&gt;
    &lt;Contractdocument&gt;&lt;UN&gt;&lt;UN_ZENDER&gt;I094329000012258&lt;/UN_ZENDER&gt;&lt;UN_ONTVAN&gt;I094330000070695&lt;/UN_ONTVAN&gt;&lt;UN_DATPRE&gt;020314&lt;/UN_DATPRE&gt;&lt;UN_TIMPRE&gt;0917&lt;/UN_TIMPRE&gt;&lt;UN_INTREF/&gt;&lt;UN_MSGREF&gt;03140917094680&lt;/UN_MSGREF&gt;&lt;UN_LOGNAM&gt;INSLBW001000IN&lt;/UN_LOGNAM&gt;&lt;/UN&gt;&lt;AL&gt;&lt;AL_VRWRKCD&gt;0&lt;/AL_VRWRKCD&gt;&lt;AL_VIEWCOD&gt;04027&lt;/AL_VIEWCOD&gt;&lt;AL_VERSIEV&gt;007&lt;/AL_VERSIEV&gt;&lt;AL_FUNCTIE&gt;08&lt;/AL_FUNCTIE&gt;&lt;RI_RIJVAAR&gt;N&lt;/RI_RIJVAAR&gt;&lt;RI_BMVERKL&gt;A&lt;/RI_BMVERKL&gt;&lt;RI_SCHDVRY&gt;30&lt;/RI_SCHDVRY&gt;&lt;/RI&gt;&lt;/PP&gt;&lt;/Contractdocument&gt;
    ]]></MIC_VIEW></MIC_CONTRACT>
    ]]></docIn>          
              </m:getPremieInfo>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Can anyone tell me how to do that in JAVA ? Please help me !
    Birol
    [email protected]

    I found this Sample from the Axis's sample ---axis\samples\message.
    package samples.message;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.message.SOAPBodyElement;
    import org.apache.axis.utils.Options;
    import org.apache.axis.utils.XMLUtils;
    import org.w3c.dom.CDATASection;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import java.net.URL;
    import java.util.Vector;
    * Simple test driver for our message service.
    public class TestMsg {
    public String doit(String[] args) throws Exception {
    Options opts = new Options(args);
    opts.setDefaultURL("http://localhost:8080/axis/services/MessageService");
    Service service = new Service();
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress( new URL(opts.getURL()) );
    SOAPBodyElement[] input = new SOAPBodyElement[3];
    input[0] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo",
    "e1", "Hello"));
    input[1] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo",
    "e1", "World"));
    DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
    Document doc = builder.newDocument();
    Element cdataElem = doc.createElementNS("urn:foo", "e3");
    CDATASection cdata = doc.createCDATASection("Text with\n\tImportant <b> whitespace </b> and tags! ");
    cdataElem.appendChild(cdata);
    input[2] = new SOAPBodyElement(cdataElem);
    Vector elems = (Vector) call.invoke( input );
    SOAPBodyElement elem = null ;
    Element e = null ;
    elem = (SOAPBodyElement) elems.get(0);
    e = elem.getAsDOM();
    String str = "Res elem[0]=" + XMLUtils.ElementToString(e);
    elem = (SOAPBodyElement) elems.get(1);
    e = elem.getAsDOM();
    str = str + "Res elem[1]=" + XMLUtils.ElementToString(e);
    elem = (SOAPBodyElement) elems.get(2);
    e = elem.getAsDOM();
    str = str + "Res elem[2]=" + XMLUtils.ElementToString(e);
    return( str );
    public static void main(String[] args) throws Exception {
    String res = (new TestMsg()).doit(args);
    System.out.println(res);

  • Accepting a SOAP message that contains fault elements

    Hi,
    I am trying to create a webservice that will accept a valid soap messages that
    contains faults. Actual functionality required is to accept a valid soap message
    with or without faults. For this, I created separate methods in my java class
    (one for normal flow and one that will handle fault elements) that implements
    my web service. I need to manipulate the soap message for both cases. Hence, I
    created separate handlers to do this task. I created two handler chains in my
    web-services.xml one for handling soap messages that contains faults and one for
    handling soap messages that doesn't contain faults. The web services was successfully
    deployed and works fine for soap messages that doesn't contain fault. But, if
    I send a soap message with faults the client (that calls my webservice) is not
    even hitting my web service. It gets a HTTP
    500. Can anybody help me on this ?
    Thanks,
    Ganesh Balachandran

    Hi Ganesh,
    Which version of weblogic server you are using? Can you turn on verbose in
    client side? You can give a "-Dweblogic.webservice.verbose=true" to client
    side JVM. We need to see what your soap message with fault looks like.
    Thanks,
    -Neal
    "Ganesh" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi,
    I am trying to create a webservice that will accept a valid soap messagesthat
    contains faults. Actual functionality required is to accept a valid soapmessage
    with or without faults. For this, I created separate methods in my javaclass
    (one for normal flow and one that will handle fault elements) thatimplements
    my web service. I need to manipulate the soap message for both cases.Hence, I
    created separate handlers to do this task. I created two handler chains inmy
    web-services.xml one for handling soap messages that contains faults andone for
    handling soap messages that doesn't contain faults. The web services wassuccessfully
    deployed and works fine for soap messages that doesn't contain fault. But,if
    I send a soap message with faults the client (that calls my webservice) isnot
    even hitting my web service. It gets a HTTP
    500. Can anybody help me on this ?
    Thanks,
    Ganesh Balachandran

  • Proxy to soap : async

    Hi
    Wanted to understand if we have a async comm : proxy to soap and suppose the target system goes down while we transmit proxy data. If it is an async scenario ,it will error out in moni and an alert can be generated but this interface has to be again triggered from the source system ,SAP to send proxy data again ? is my understanding correct ?
    wanted to understand in async scenario how can this be automated ? suppose target is down async scenario needs to be triggered again.
    Thnx

    aync proxy to SOAP -> if the target system is down, the message will come into PI and will be persisted.
    By default the adapter engine tries to redeliver the message to the target 3 times. if after these default times it is unsuccessful it will go to error and will be persisted in PI. At any point when the target is up you can go to rwb and manually reprocess the message.
    you can also control the redlivery - /people/shabarish.vijayakumar/blog/2010/03/31/did-you-know--delivery-attempts-customizable-per-communication-channel

  • Message not received in Proxy to SOAP scenario

    Hi All
    I have a proxy to SOAP scenario. It is not working from past few days.
    When a message is sent, there is a checkered flag in SXMB_MONI.
    In component monitoring of RWB, i see that the status is 'Success' and description is 'Message status set to DLVD'.
    But, it is not reaching its destination. Can you tell me where else i have to check, to find out the problem?
    Thanks in Advance
    Chandra Sekhar

    hi, just do it
    this kind of error is related with an authentification problem against WS. to check it do it:
    1 take the inbound message from Moni, do a test mapping.
    2 download XML Spy (altova) and create a new SOAP request.
    put the WS URL and select the proper soap action.
    3 paste the test mapping result XML and send the soap request.
    4 put user and pass.
    5 if the interface is async, XML Spy will retrn you an empty response else if the scenario is sync it will return you the proper response.
    thanks
    Rodrigo

  • Processing of soap message

    some help is required on the SOAP processing
    <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <getPricedAvailability xmlns="http://www.openuri.org/" xmlns:tget="http://www.ba.com/schema/tGetPricedAvailabilityV1">
    <tget:GetPricedAvailabilityRequest>
    <Name>ian</Name>
    ....i need to add a tag name[in between the two tags] <asl>US </asl>
    <age>1234</age>
    </tget:GetPricedAvailabilityRequest>
    </getPricedAvailability>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope
    Can any one suggest or send me the piece of code which does this..
    i tried to add the tag by using the below code but in vain it didn't happen ...it is not adding in between the 2 tags.
    it is adding after <age>.... Can any one help me in this...Is there is any other way of parsing the SOAP message is possible
    SOAPMessageContext smc = (SOAPMessageContext)mc;
    SOAPMessage sm = smc.getMessage();
    SOAPEnvelope env = sm.getSOAPPart().getEnvelope();
    SOAPBody body = env.getBody();
    javax.xml.soap.Name sName;
    System.out.println(" Entering callEndTag #########################################");
    System.out.println("body"+body +" "+"env"+env);
    if ( body != null ){
    java.util.Iterator childElems = body.getChildElements();
    SOAPElement child;
    int i=0;
    // iterate through child elements
    while (childElems.hasNext())
    System.out.println("childElems" +childElems);
    Object elem = childElems.next();
    System.out.println("elem" +elem);
    if(elem instanceof SOAPElement )
    // get child element and its name
    child = (SOAPElement) elem;
    sName = child.getElementName();
    if (sName.getLocalName().equals("getPricedAvailability"))
    childElems = child.getChildElements();
    while (childElems.hasNext())
    // get next child element
    elem = childElems.next();
    if(elem instanceof SOAPElement )
    child = (SOAPElement) elem;
    sName = child.getElementName();
    if (sName.getLocalName().equals("GetPricedAvailabilityRequest"))
    {childElems = child.getChildElements();
                                                   sName = child.getElementName();
                                                   System.out.println("SNAME inSIDE IF  LOOP" +sName);
                                                   System.out.println("If Elem is a) instance ====After");
                                                   if (childElems.hasNext())
                                                      // get next child element
                                                       elem = childElems.next();
                                                       System.out.println("If Elem is a) instance  == before");
                                                      if(elem instanceof SOAPElement )
                                                          System.out.println("If Elem is a) instance ====After");
                                                          System.out.println("before type cast" );  
                                                          child = (SOAPElement) elem;
                                                          sName = child.getElementName();
                                                          System.out.println("Start adding process added end date" +sName);
                                                          SOAPElement fResponse12 =  child.addChildElement(env.createName("EndDate-- ==child ")); 
                                                          fResponse12.addAttribute(env.createName("xmlns"),   
                                                          fResponse12.addTextNode(strEndDate );
    ((SOAPMessageContext)mc).setMessage(sm);

    Hi Experts,
    I'm trying to protect a web service deployed in jcaps 5.1.1, using SAML assertions against an Access Manager 7/7.1, the web services clients are both, web and standalone applications, I also have read netbeans tutorials, that expose how to implement identity webservices using AppServer 9.1 + AccessManager 7.1 using the SAML Holder of key and other security mechanisms, but this implementation requiere modifications to the server.policy file to add support to SOAP message security providers and HttpServlet message security providers, the addition of a library called amwebservicesprovider.jar to the classpath suffix (this library implements the jsr-196 java Authentication Service Provider Interface for Containers) and aditional configuration required in the AM side that is not detailed in the tutorials.
    Could someone guide me on how to protect the acces to a web services deployed in the jcaps logicalhost based on AM roles assigned to users?
    Any help is aprecciated
    Juan

  • [OSB] SOAP Message Body Deleted in Routing Process

    Hello Folks,
    I'm using Oracle Services Bus 11g and I have the following scenario:
    A Business Services that is a client of a WebService. This WebService has an operation that return in its Soap Message a field with special characters (an encripted password).
    So, I've created an Proxy Service that route the request message to above business service, but when the message returned by Business service is routing back to Proxy Service the body of the message is deleted.
    Checking out the trace of the call, it says "Body was deleted" ! And so the message is returned by Proxy service without body !
    I suspected that problem is something about encoding !
    Someone could help me resolve this problem ?
    Thanks in advanced!

    Hi,
    I am facing some similar issues with OSB 10gR3 where the Message body gets deleted and i get empty soap body as response when i make continuous calls to a business service without any time delay between the calls.
    Though surprisingly i get the correct response from the business service for the first time but only on consecutive calls without any time delay between two calls i get empty soap body. Later if i try to call the business service leaving a gap of 15 sec after my first call, i get the correct response.
    I initially thought it might be a problem with the business service itself but when i try to make continuous calls to the Business service without any timedelay directly from SOAPUI , I am getting correct response everytime.
    Hence this seems to be a problem only when i invoke the business service via the OSB proxy and thsi deletes the response body wehn i make continuous calls.Not sure whether this is a bug with OSB or encoding issues.
    Pls help me to know if this has anything to do with the caching or any setting in OSB server.
    Thank you
    Preetha
    Edited by: 893969 on 31-Oct-2011 06:25
    Edited by: 893969 on 31-Oct-2011 06:27

  • I am having issues deactivating my version of CS4. I receive an error message stating unable to connect or that my firewall or proxy settings are interfering with the process. I do not want to uninstall until i can deactivate as i wish to use a copy on an

    am having issues deactivating my version of CS4. I receive an error message stating unable to connect or that my firewall or proxy settings are interfering with the process. I do not want to uninstall until i can deactivate as i wish to use a copy on another laptop

    Hi K8tym,
    Please refer to below article.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    Thanks

  • Logging soap messages invoked by BPEL process

    Hi,
    Is there any way to log the SOAP messages sent from an invoke? A receive?
    Also, is there a way to capture which variable is throwing an uninitializedVariable exception?
    J

    You can use the logging and tracing functionality to write log statements anywhere in BPEL. refer http://wiki.open-esb.java.net/Wiki.jsp?page=LoggingFromWSBPELActivityInABusinessProcess . But you should keep in mind these are not soap messages that you log. They will be abstract WSDL message instances. If you want to log specifically the soap messages you need the support in HTTP-BC.
    If you turn on logging you should see the line number of BPEL where it fails. That should give you some indication. I am not 100% sure, but in the logs, we should be logging the variable which was not initialized. I can't think of any other way to find out which variable caused this exception.
    -Kiran Bhumana

  • PROXY to SOAP ; HTTP403 error in PI 7.1

    Hi team,
    it was proxy to HTTP scenario. Receiver : webportal . We have chnged it to Proxy to SOAP ,due to HTTP does not support multi message generation . I have checked Do NOT USE SOAP Envelope in SOAP rcv channel. Pls find the config details.
    Adapter Type: SOAP
    Trans.protocal: HTTP
    Mess.Protocal: SOAP1.1
    Do not use SOAP envelope : Checked
    Now Im getting error in RWB .
    "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Access denied"
    I checked with the basis people- they confirmed - some request hitting the site. but unable to read the content . they specified HTTP header should contain the content type : text/xml . If I checked "Do not use SOAP envelope " , I guess the content type is application/xml etc.
    so how can I change the HTTP content type to text/xml. OR any other reason tfor this error.
    thnaks
    Drumi.

    Hello,
    I checked with the basis people- they confirmed - some request hitting the site. but unable to read the content . they specified HTTP header should contain the content type : text/xml . If I checked "Do not use SOAP envelope " , I guess the content type is application/xml etc.
    so how can I change the HTTP content type to text/xml. OR any other reason tfor this error.
    The content type when Do Not Use SOAP Envelope is checked defaults to application/xml. To change it to the correct content type, use the MessageTransformBean for your requirement.
    ProcessingSequence                         ModuleName           Type     ModuleKey
    1          localejbs/AF_Modules/MessageTransformBean            LEB      0
    2          sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean LEB      soap
    Module Configuration
    ModuleKey                ParameterName                ParameterValue
    0                      Transform.ContentType          text/xml
    For more info, see http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm
    Check also if you are passing credentials in your Receiver.
    Hope this helps
    Mark

  • ABAP-Proxy to SOAP: Error in SOAP Adapter

    Hi!
    I would like to implement ABAP-Proxy to SOAP scenario.
    Unfortunately my SOAP receiver channnel has the following error:
    SOAP: call failed: java.io.IOException: No SOAP Envelope but 1 definitions; HTTP 200 OK
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: No SOAP Envelope but 1 definitions; HTTP 200 OK: java.io.IOException: No SOAP Envelope but 1 definitions; HTTP 200 OK
    Furthermore the call of  /sap/bc/soap/rfc of business system B is erroneous
    http://<server system B>:8000/sap/bc/soap/rfc
    Here I get the error: HTTP 500 Internal Server error
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    Hi,
    Are you using the webservice exposed by SAP or it is third party webservice. Can you explain your complete scenario? What is the url you have given in your receiver SOAP Channel? Was that no configured earlier?
    If at all you are using the SAP webservice, the wsdl link should be.
    http://<server>:<http port>/sap/bc/soap/wsdl11?services=BAPI_MATERIAL_EXISTENCECHECK&sap-client=200
    The target url you will be able to see in the wsdl itself also
    amit

Maybe you are looking for

  • Trouble opening .inx files in CS3 - links randomly replaced with foo.jpg

    I have to move a lot of CS4 InDesign files to CS3, and I often run into a bizarre problem. After opening an .inx file in InDesign CS3, sometimes perfectly normal PDF, JPG, EPS and AI files will mysteriously be replaced with a linked file called "foo.

  • DisplayTag - got the table but the view is simple! how to get  ITS mode?

    Hi guys, I have (semi) successfully implemented a nice table using the DisplayTag (From: http://displaytag.homeip.net/displaytag-examples-1.1/example-styles.jsp?class=its) The thing is that I can see the table but it's in a simple mode! Meaning there

  • Only distince rows in target data store

    Hi I have an interface in which the joins in the source tables will generate duplicate rows but , I want to load only distinct rows in target datastore . How do I achieve that in ODI ? Thanks

  • DEBUG ANY PROCEDURE

    Oracle 9.2.0.6, soon to be 11.1.0.7... Please double-check my understanding of the documentation. We have at least one developer who likes to use the PL/SQL Debugger functionality, which requires DEBUG ANY PROCEDURE (http://docs.oracle.com/cd/B10501_

  • Why won't my songs play in numerical tracks order?

    I have an album with about 30 songs on it, and some of those songs came from different sources. I changed all of the items on "Get Info" so that they would match, (album title, artist, album artist, composer, track number, disc number, compilation, e