Force MTOM/XOP response on OSB

hello,
How can I force a MOTOM Response although it is not neccessary because I have no binary data in the response.
The reason is follow. I have a foreign test client that sends the request with MTOM enabled and expected that the response is also using MTOM (I think this is a little bit stupid). The client is using AXIS.
In the request the client sends binary data using MTOM but in my response no binary data is available and so OSB won't enable the Mtom Feature for the response. The result is that the client don't accept my response...
Is there a workaround to force that MTOM is being enabled?

Sorry for the delay response. This is a known issue that MTOM is enabled only the binary data is at the top level in WLS 10.1.
But it has already support complex type MTOM encoded in WLS 10.3. Please download at [url http://commerce.bea.com/products/weblogicplatform/weblogic_prod_fam.jsp]here
Edited by jliao at 11/14/2007 5:46 AM

Similar Messages

  • MTOM/XOP behavior in WL 10

    Hi!
    I'm using BEA Workshop for WebLogic v. 10.1.
    I want to use MTOM/XOP for sending and receiving binary data, but it doesn't seem to work as I expect.
    I can only make it work if the binary data is at the top level in the request or response message.
    If I'm using binary data at a lower level it doesn't become an attachment.
    I haven't been able to find any documentation that can explain if is this is according to the standard,
    if it's a limitation in the WebLogic implementation or if it's related to my use of XmlBeans for binding.
    To clarify, I would like to define my types in e.g the following way:
    <complexType name="PDFFile">
         <sequence>
              <element name="filename" type="string"/>
              <element name="printDate" type="date"/>
              <element name="contents" type="base64Binary"
                   xmime:expectedContentTypes="application/pdf"/>
         </sequence>
    </complexType>
    <complexType name="BudgetPrint">
         <sequence>
              <element name="customerID" type="string"/>
              <element name="printID" type="string"/>
              <element name="print" type="tns:PDFFile"/>
         </sequence>
    </complexType>
    The in my JWS file I can have the following:
    package com.my.service;
    import ...
    import weblogic.jws.Policy;
    @WebService
    @Policy(uri="policy:Mtom.xml", attachToWsdl=true)
    public class BudgetService {
         @WebMethod
         public void saveBudgetPrint(BudgetPrint print) {
         @WebMethod
         public BudgetPrint getBudgetPrint(String customerID, String printID) {
    This results in the following in the generated WSDL file (the above types have been removed to shorten it):
    <?xml version='1.0' encoding='UTF-8'?>
    <s2:definitions name="BudgetServiceServiceDefinitions" targetNamespace="http://com/my/service" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:s2="http://schemas.xmlsoap.org/wsdl/" xmlns:s3="http://com/my/service" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
    <s0:Policy s1:Id="policy:Mtom">
    <wsoma:OptimizedMimeSerialization xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"/>
    </s0:Policy>
    <wsp:UsingPolicy s2:Required="true"/>
    <s2:types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://com/my/service" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://my.com/types"/>
    <xs:element name="saveBudgetPrint">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="print" type="typ:BudgetPrint" xmlns:typ="http://my.com/types"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="saveBudgetPrintResponse">
    <xs:complexType>
    <xs:sequence/>
    </xs:complexType>
    </xs:element>
    <xs:element name="getBudgetPrint">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="customerID" type="xs:string"/>
    <xs:element name="printID" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="getBudgetPrintResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="BudgetPrint" type="typ:BudgetPrint" xmlns:typ="http://my.com/types"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </s2:types>
    <s2:message name="saveBudgetPrint">
    <s2:part element="s3:saveBudgetPrint" name="parameters"/>
    </s2:message>
    <s2:message name="saveBudgetPrintResponse">
    <s2:part element="s3:saveBudgetPrintResponse" name="parameters"/>
    </s2:message>
    <s2:message name="getBudgetPrint">
    <s2:part element="s3:getBudgetPrint" name="parameters"/>
    </s2:message>
    <s2:message name="getBudgetPrintResponse">
    <s2:part element="s3:getBudgetPrintResponse" name="parameters"/>
    </s2:message>
    <s2:portType name="BudgetService">
    <s2:operation name="saveBudgetPrint" parameterOrder="parameters">
    <s2:input message="s3:saveBudgetPrint"/>
    <s2:output message="s3:saveBudgetPrintResponse"/>
    </s2:operation>
    <s2:operation name="getBudgetPrint" parameterOrder="parameters">
    <s2:input message="s3:getBudgetPrint"/>
    <s2:output message="s3:getBudgetPrintResponse"/>
    </s2:operation>
    </s2:portType>
    <s2:binding name="BudgetServiceServiceSoapBinding" type="s3:BudgetService">
    <s4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsp:Policy>
    <wsp:PolicyReference URI="#policy:Mtom"/>
    </wsp:Policy>
    <s2:operation name="saveBudgetPrint">
    <s4:operation soapAction="" style="document"/>
    <s2:input>
    <s4:body parts="parameters" use="literal"/>
    </s2:input>
    <s2:output>
    <s4:body use="literal"/>
    </s2:output>
    </s2:operation>
    <s2:operation name="getBudgetPrint">
    <s4:operation soapAction="" style="document"/>
    <s2:input>
    <s4:body parts="parameters" use="literal"/>
    </s2:input>
    <s2:output>
    <s4:body parts="parameters" use="literal"/>
    </s2:output>
    </s2:operation>
    </s2:binding>
    <s2:service name="BudgetServiceService">
    <s2:port binding="s3:BudgetServiceServiceSoapBinding" name="BudgetServiceSoapPort">
    <s4:address location="http://localhost:7001/MyService/BudgetService"/>
    </s2:port>
    </s2:service>
    </s2:definitions>
    When I monitor the HTTP requests I can observe that the binary data isn't attachments.
    If I instead define my web methods as follows:
         @WebMethod
         public void saveBudgetPrintContents(String customerID, String printID, String filename, Calendar printDate, byte[] contents) {
         @WebMethod
         public byte[] getBudgetPrintContents(String customerID, String printID) {
    it works as expected and the binary data is attachments.
    The WSDL file is now:
    <?xml version='1.0' encoding='UTF-8'?>
    <s2:definitions name="BudgetServiceServiceDefinitions" targetNamespace="http://com/my/service" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:s2="http://schemas.xmlsoap.org/wsdl/" xmlns:s3="http://com/my/service" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
    <s0:Policy s1:Id="policy:Mtom">
    <wsoma:OptimizedMimeSerialization xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"/>
    </s0:Policy>
    <wsp:UsingPolicy s2:Required="true"/>
    <s2:types>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="java:com.my.service" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="base64Binary_literal" type="xs:base64Binary"/>
    </xs:schema>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://com/my/service" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://my.com/types"/>
    <xs:element name="saveBudgetPrintContents">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="customerID" type="xs:string"/>
    <xs:element name="printID" type="xs:string"/>
    <xs:element name="filename" type="xs:string"/>
    <xs:element name="printDate" type="xs:dateTime"/>
    <xs:element name="contents" type="xs:base64Binary"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="saveBudgetPrintContentsResponse">
    <xs:complexType>
    <xs:sequence/>
    </xs:complexType>
    </xs:element>
    <xs:element name="getBudgetPrintContents">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="customerID" type="xs:string"/>
    <xs:element name="printID" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="getBudgetPrintContentsResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="return" type="xs:base64Binary"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </s2:types>
    <s2:message name="saveBudgetPrintContents">
    <s2:part element="s3:saveBudgetPrintContents" name="parameters"/>
    </s2:message>
    <s2:message name="saveBudgetPrintContentsResponse">
    <s2:part element="s3:saveBudgetPrintContentsResponse" name="parameters"/>
    </s2:message>
    <s2:message name="getBudgetPrintContents">
    <s2:part element="s3:getBudgetPrintContents" name="parameters"/>
    </s2:message>
    <s2:message name="getBudgetPrintContentsResponse">
    <s2:part element="s3:getBudgetPrintContentsResponse" name="parameters"/>
    </s2:message>
    <s2:portType name="BudgetService">
    <s2:operation name="saveBudgetPrintContents" parameterOrder="parameters">
    <s2:input message="s3:saveBudgetPrintContents"/>
    <s2:output message="s3:saveBudgetPrintContentsResponse"/>
    </s2:operation>
    <s2:operation name="getBudgetPrintContents" parameterOrder="parameters">
    <s2:input message="s3:getBudgetPrintContents"/>
    <s2:output message="s3:getBudgetPrintContentsResponse"/>
    </s2:operation>
    </s2:portType>
    <s2:binding name="BudgetServiceServiceSoapBinding" type="s3:BudgetService">
    <s4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsp:Policy>
    <wsp:PolicyReference URI="#policy:Mtom"/>
    </wsp:Policy>
    <s2:operation name="saveBudgetPrintContents">
    <s4:operation soapAction="" style="document"/>
    <s2:input>
    <s4:body parts="parameters" use="literal"/>
    </s2:input>
    <s2:output>
    <s4:body use="literal"/>
    </s2:output>
    </s2:operation>
    <s2:operation name="getBudgetPrintContents">
    <s4:operation soapAction="" style="document"/>
    <s2:input>
    <s4:body parts="parameters" use="literal"/>
    </s2:input>
    <s2:output>
    <s4:body parts="parameters" use="literal"/>
    </s2:output>
    </s2:operation>
    </s2:binding>
    <s2:service name="BudgetServiceService">
    <s2:port binding="s3:BudgetServiceServiceSoapBinding" name="BudgetServiceSoapPort">
    <s4:address location="http://localhost:7001/MyService/BudgetService"/>
    </s2:port>
    </s2:service>
    </s2:definitions>
    As you can see the binary data is now at the top level.
    Could somebody please enlighten me on this?
    Is it by the standard, a limitation in WL or is there another explanation?
    With the current behavior I'm tempted to just use good old attachments.
    /John.
    Edited by johnlindgreen at 10/24/2007 4:44 AM
    Edited by johnlindgreen at 10/24/2007 4:45 AM
    Edited by johnlindgreen at 10/24/2007 4:46 AM
    Edited by johnlindgreen at 10/24/2007 4:46 AM

    Sorry for the delay response. This is a known issue that MTOM is enabled only the binary data is at the top level in WLS 10.1.
    But it has already support complex type MTOM encoded in WLS 10.3. Please download at [url http://commerce.bea.com/products/weblogicplatform/weblogic_prod_fam.jsp]here
    Edited by jliao at 11/14/2007 5:46 AM

  • Oracle BPEL - MTOM/XOP support

    I'm testing integration between a JBoss Web service and Oracle BPEL. I created a web service using a stateless EJB with MTOM turned on in JBoss 5.0.1 and tested it using the OSB which worked and returned the MTOM message, but the BPEL is getting confused with the MTOM XOP include element.
    The error message from the BPEL is "exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PriviledgeActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: application/xop+xml; type="text/xml""
    The OSB says the returned XML in the MIME's XOP include element looks like the following
    "<xop:Include href="cid:[email protected]" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>"
    Something to note is that in java the datatype is defined as byte[] and that the WSDL generated with MTOM turned on is identical to the schema generated with MTOM turned off from JBoss.
    Also does BPEL support the 2004 08 xop standard?
    I have tried to find a example of MTOM/XOP being used on Oracles BPEL engine and I have been unable to find any useful information.
    I appreciate any help. Thank you.
    Shane

    So,
    11g BPEL / JDeveloper does not support MTOM?
    If I want to call an external web service as a reference from BPEL and the external web service supports MTOM what are my choices for passing attachments to the external web service, am I limited to inline content?
    Thanks,
    Joe

  • Is MTOM/XOP supported?

    We're interested in using MTOM/XOP for SOAP binary transfer. Does anyone know if this is supported in WebLogic 8.1SP4? If not, what version is?
    Thanks in advance,
    Kevin

    According to [https://en.wikipedia.org/wiki/Snapdragon_%28system_on_chip%29 Wikipedia it is a Snapdragon 2]. Which would make it a compatible device.
    If you search the Play Store for Firefox do you see a Firefox app to install?

  • How to handle multiRef responses in OSB 10.3???

    We are using OSB 10.3 version.
    I am getting difficulty to get the multiRef soap response in the Service Callout*:
    When I check the SBConsole Invocation Trace the whole response body is appearing in business service but returning part of the response.
    Its missing the multiRef as below:
    <ns4:getProductServiceRequestForUserResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="abc:ProductManagementService">
    <getProductServiceRequestForUserReturn href="#id0"/>
    </ns4:getProductServiceRequestForUserResponse>
    It should return
    <soapenv:Body>
    <ns4:getProductServiceRequestForUserResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="abc:ProductManagementService">
    <getProductServiceRequestForUserReturn href="#id0"/>
    </ns4:getProductServiceRequestForUserResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:ProductLinkRequest"
              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns5="http://ato.domain.services.abc.com">
    <id xsi:type="xsd:long">3068</id>
    <requestStatus href="#id1"/>
    <modifiedDate xsi:type="xsd:dateTime">2009-06-23T01:22:02.000Z</modifiedDate>
    <prd xsi:type="xsd:string">249249</prd>
    <serviceNo href="#id2"/>
    <statusReason xsi:type="xsd:string">Delivery completed</statusReason>
    </multiRef>
    </soapenv:Body>
    After Service Callout, I have tried to assign the reponse to valriable but it returns missing multiRef
    $body/multiRef
    Any suggestions??
    Thank you
    Edited by: user11310683 on Sep 1, 2011 5:20 AM
    Edited by: user11310683 on Sep 2, 2011 2:48 PM

    Getting difficulty to use Java Callout.
    I have written my java class to call webservice and kept all necessary jars in the lib with MANIFEST file.
    I kept all my jars in project/Resources/JAR/*.jar and included all dependency jar to my generated jar.
    But the Java Callout is thowing java.lang.NoClassDefFoundError: javax/wsdl/OperationType
         at org.apache.axis.description.OperationDesc.<clinit>(OperationDesc.java:59)
    Its working fine when I copied all jars in user_project/domains/proj_domain/lib.
    But I don't want to put all my jars at user_project/domains/proj_domain/lib.

  • OSB MTOM HTTP Streaming

    Hello everybody,
    I have just started using Service Bus 11gR1 and I run into a problem. I need to define a proxy service (web service) which accepts large files (hundreds of MB).
    I opted for using MTOM/XOP combined with HTTP streaming. To do this, I enabled in the "Message Handling Configuration" screen, the "XOP/MTOM Support" option and I set "Page Attachments to Disk" to true.
    Actually, when I try to send large messages, the memory usage does not increase because the binary sent is buffered into the disk. Now I noticed that, before the proxy server is called, the binary sent is saved in a temporary file. I was wondering whether or not we can define a limit on the Message Size to be checked*before* the file is buffered on the disk. I want OSB to start reading the HTTP streaming and, when the max size is reached, to reset the http connection with the client. If this is not possible, I think that this is an issue from a security point of view.
    Thank you in advance.
    Edited by: 837199 on Feb 16, 2011 6:23 AM

    I don't know the answer to your question. Sorry! But It sounds like you have more succes with mtom on OSB than me. So I have a question that I hope you can help me with. Is you service based on a WSDL? if it is, can I see how it looks because I have some problems, making a wsdlbased proxyservice with mtom and invoking it from soapui
    BR,
    Mads

  • OSB MTOM...

    Hello everybody,
    I am using Oracle Service Bus 10gR3. I need to define a proxy service (wsdl based web service) which accepts large files (attachments).
    I am supposed to use MTOM/XOP combined with HTTP and I need to pass this request attachment to the backend using a Business Service. After googling I came to know that for this I need to enable the "XOP/MTOM Support" in the configuration settings for the proxy service. Still I am not sure about how to go for it.
    Can anyone help me with a sample code for the same.
    Thanks in advance.

    I don't know the answer to your question. Sorry! But It sounds like you have more succes with mtom on OSB than me. So I have a question that I hope you can help me with. Is you service based on a WSDL? if it is, can I see how it looks because I have some problems, making a wsdlbased proxyservice with mtom and invoking it from soapui
    BR,
    Mads

  • OSB 10.3 MTOM problems.

    Guys,
    I am trying to get MTOM working in the osb. Elas, with a lot of problems.
    To make things easier, I started a small test project but also that I cannot get to work.
    I have an incoming message with a MTOM attachment. I need to get the binary from the request and save it to file.
    But I cannot get it to file. Changing my Business Service to http instead of file , I can get the message to TCPMON. There I see the request contains the right data.
    In my proxy I have MTOM, by reference turned on.
    Can u guys , give me a clue of how to do it? What other info can I give u?
    I have the following WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="XrayStorage" targetNamespace="http://mediStor.org/x-rays"
         xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://mediStor.org/x-rays"
         xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xsd1="http://mediStor.org/types/"
         xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <types>
              <schema targetNamespace="http://mediStor.org/types/" xmlns="http://www.w3.org/2001/XMLSchema">
                   <complexType name="xRayType">
                        <sequence>
                             <element name="patientName" type="xsd:string" />
                             <element name="patientNumber" type="xsd:int" />
                             <element name="imageData" type="xsd:base64Binary"
                                  xmime:expectedContentTypes="application/octet-stream" />
                        </sequence>
                   </complexType>
                   <element name="xRay" type="xsd1:xRayType" />
              </schema>
         </types>
         <message name="storRequest">
              <part name="record" element="xsd1:xRay" />
         </message>
         <message name="storResponse">
              <part name="success" type="xsd:boolean" />
         </message>
         <portType name="xRayStorage">
              <operation name="store">
                   <input message="tns:storRequest" name="storRequest" />
                   <output message="tns:storResponse" name="storResponse" />
              </operation>
         </portType>
         <binding name="xRayStorageSOAPBinding" type="tns:xRayStorage">
              <soap12:binding style="document"
                   transport="http://schemas.xmlsoap.org/soap/http" />
              <operation name="store">
                   <soap12:operation soapAction="" style="document" />
                   <input name="storRequest">
                        <soap12:body use="literal" />
                   </input>
                   <output name="storResponse">
                        <soap12:body use="literal" />
                   </output>
              </operation>
         </binding>
         <service name="xRayStorageService">
              <port binding="tns:xRayStorageSOAPBinding" name="xRayStoragePort">
                   <soap12:address location="http://localhost:8080/xRay-1/xRayStorage" />
              </port>
         </service>
    </definitions>

    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one. 
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear and again when you log in. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don’t do them all at once.
    Safe Mode - About
    Safe Mode - Yosemite

  • Wants to send html as inline message instead of attachment(without MTOM)

    Hi,
    We have reuirement want send html as inile message instead of attachemnt in OSB 11g with out MTOM.
    Any pointers on this regard will be of great help.
    Regards
    Venkata

    For example use WSDL like this:
    http://axis.apache.org/axis2/java/core/docs/mtom-guide.html#a251
    and don't forget to disable MTOM/XOP support for proxy and business service.
    You don't need anything but a base64binary element in your request or response message. That's all. When you turn MTOM/XOP support off, binary data will be inlined.
    If you will still face an issue, try to send your WSDL, describe input, output and your proxy flow.

  • Timeout from OSB to Intalio

    Hi
    In my project, Intalio calles services hosted on OSB. The read timeout set in Intalio is 6 minutes (360 seconds).
    OSB calls backend and sends response back to Intalio server within 10 seconds. We logged both request and response payloads in OSB and confirmed this.
    Strangely, most of the times Intalio does not receive the response at all! After waiting for 6 minutes, it throws read timeout error.
    Test run: We had a run of 21 requests from Intalio to OSB. All 21 processed inside OSB and logs show that responses was sent back for all 21 requests. But in Intalio we received only one response and all other instances threw timeout error.
    Whenever Intalio requests are invoked, they are passed to OSB immediately. There is no lag between requests passed from Intalio to OSB. But somehow we don't get any response from OSB even after 6 minutes.
    Any idea on this?
    Update: Flow is: Intalio--->LoadBalancer-->OSB
    T&R
    -S-K
    Edited by: Swapnil Kharwadkar on Dec 19, 2012 7:58 AM

    Hi I hit from SOAPUI to OSB directly and still got read timeout error. Settings in my proxy are:
    Proxy Service Configuration (ADNProcessing/proxyservices/PS_Processing)
    General Configuration     
    Service Type      Web Service - SOAP 1.1 (WSDL:Interfaces/proxyInterfaces/ProcessingProxyInterfaces/wsdl/ProxyA, port="canonicPort")
    Transport Configuration     
    Protocol      http
    Endpoint URI      /Processing/proxyservices/PS_Processing
    Get All Headers      Yes
    HTTP Transport Configuration     
    HTTPS required      No
    Authentication      None
    Operation Selection Configuration     
    Enforce WS-I Compliance      No
    Selection Algorithm      SOAP Body Type
    Message Handling Configuration     
    Transaction Required      Disabled
    Same Transaction For Response      Disabled
    Content Streaming      Disabled
    XOP/MTOM Support      Disabled
    Page Attachments to Disk      No

  • OSB JMS Proxy XA Transaction Rollback not occuring to queue

    Hi All
    We are dequeuing a message from JMS queue via an XA connection factory and then calling a web service. If any error occurs in the web service we catch the error handler, log and notify it and want to send this message back to the queue for retrial (The retry settings are defined at the Queue Level from weblogic console).
    Problem is rollback is not occurring, we have tried the below:
    1) There is no OSB reply with either success or failure in the error handler (This should have done the trick)
    2) We have also tried addiing an explicit Raise Error (Uncaught Error) to roll the message back, but its not working.
    This rollback is not occurring because JMS Resource is XA and web service call is NON XA, hence the entire message flow becomes NON XA. Is this understanding correct?
    How can we fix this? Please help

    Hi atheek1
    Thanks for the reply, it worked. Before I mark this question as answered, pls. answer the below queries (Thanks a lot!)
    1) Well, i just ticked transaction required and same transaction for response and it started working. I did not add routing options like you mentioned to QOS Exactly Once. Its working without it fine. So, my questions is what is the use of adding this QOS to exactly once. Is it mandatory?
    2) I have a couple of OSB services in which rollback is working automatically (XA JMS to JCA FTP Adapter) and (XA JMS to JCA DB adapter XA data source), here rollback works automatically. I dont have to tick transaction required. So my question is, when an XA based connection factory picks a message from the queue, a transaction is started at the container level. So why tick transaction required at the message flow level, when the weblogic has already initiated a transaction. Since you said that HTTP transport commits a transaction even if 500 or 404 occurs, it makes sense to tick is transaction required and same transaction for response in OSB proxy service. But the remaining scenarios work without these options. Hence will it be wise to say that these settings are only required for HTTP transport coz of the way it behaves (commits 404 and 500).
    Thanks

  • SOA-- Invoking OSB Service Getting Error :ORA-00084: global area must be PGA, SGA, or UGA

    Hello Friends,
    Really appreciate your help/inputs on the below Error Message encountered while running a Concurrent Program--using SOA:Same encountered in recently refreshed DEV instance, Can it be related to some Developement Instance Configuration related to SOA, as same working as expected in PROD.PLEASE ASSIST
    Need your inputs on the Error Message we are getting which Invoking OSB Service.
    "Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA "
    Can you please review and confirm if the same encountered before or assist on the same:
    XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
    -- Define the SOAP request according the the definition of the web service being called
    l_soap_request := 
                '<?xml version = "1.0" encoding = "UTF-8"?>'
            || '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prox="http://OmnicareFinance/ProxyInput/">'
             ||   '<soapenv:Header/>'
             ||     '<soapenv:Body>'
             ||       '<prox:InboundProcess>'
             ||     '<Source_system>'||g_source_instance||'</Source_system>'
             ||     '<Run_mode>'||g_run_mode||'</Run_mode>'
             ||     '<Batch_key>'||g_batch_key||'</Batch_key>'
             ||     '<Request_id>'||g_request_id||'</Request_id>'
             ||     '<Invoice_Header_File_name>'||g_file_name||'</Invoice_Header_File_name>'
             ||     '<Invoice_Line_File_name>'||NULL||'</Invoice_Line_File_name>'
             ||     '<File_location>'||g_file_location||'</File_location>'
             ||       '</prox:InboundProcess>'
             ||     '</soapenv:Body>'
             ||   '</soapenv:Envelope>';
    Oracle Apps Log File
    -->Entering XXFIN_AP_INVOICES_INT_IB_PKG.invoke_osb_service
    -->   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    -->Response> status_code: "200"
    -->Response> reason_phrase: "OK"
    -->Response> http_version: "HTTP/1.1"
    -->Response From OSB: <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:prox="http://OmnicareFinance/ProxyInput/"/><soapenv:Body xmlns:prox="http://OmnicareFinance/ProxyInput/"><prox:InboundProcessResponse><status>E</status></prox:InboundProcessResponse></soapenv:Body></soapenv:Envelope>
    -->OSB Response: E
    -->Error inside invoke_osb_service -> Error Code : -84Error Message :ORA-00084: global area must be PGA, SGA, or UGA
    -->   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    -->Entering XXFIN_AP_INVOICES_INT_IB_PKG.capture_error_info
    THANKS
    ANKUR

    Hi..
    >
    # symptom: ORA-00381: cannot use both new and old parameters for buffer cache size specification
    # cause: Both db_block_buffers and db_cache_size parameters are defined in the init.ora (instance parameter file). The db_block_buffers parameter has been deprecated and has been maintained only for backward compatibility. The db_cache_size parameter is one of the size parameters which defines the size of the cache for buffers. These parameters cannot be combined. Setting this along with the Dynamic SGA parameters errors out.
    >
    For sga_target refer to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams193.htm#REFRN10256]
    which quotes
    >
    SGA_TARGET specifies the total size of all SGA components. If SGA_TARGET is specified, then the following memory pools are automatically sized:
    *Buffer cache (DB_CACHE_SIZE)
    * Shared pool (SHARED_POOL_SIZE)
    * Large pool (LARGE_POOL_SIZE)
    * Java pool (JAVA_POOL_SIZE)
    * Streams pool (STREAMS_POOL_SIZE)
    If these automatically tuned memory pools are set to non-zero values, then those values are used as minimum levels by Automatic Shared Memory Management. You would set minimum values if an application component needs a minimum amount of memory to function properly.
    >
    So, the what ever the value are set for the parameter will act as minimum value when sga_target is set.
    HTH
    Anand

  • OSB Http Transport Custom Authenticatiion (X509 in Http header)

    Hello!
    I'm trying to solve this case. We have F5 Load balancer that terminates SSL Connections From client to the OSB. When terminating the SSL, the LB adds the clients certificate into headers of the Http request going to OSB.
    OSb proxy service is configured to use custom authentication with token type X509 (only choice in the OSB console).
    What happens when I send the request to OSB, is that I get http code 401 (unauthorized) this error on server log:
    ####<Sep 27, 2011 3:08:05 PM EEST> <Error> <WliSbTransports> <appserver02> <MANSERV02> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1317125285598> <BEA-381327> <Transport-level custom token identity assertion failed
    java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.security.cert.X509Certificate;
    The HTTP header sent to OSB is in the messages below.
    It has also been wihotu the BEGIN CERTIFICATE and END CERTIFICATE lines with same results.
    Can somebody help me in:
    a) Should the certificate be sent in what form from LB to OSB.
    b) How should the OSB/WLS be configured for this to work?
    OSB version is 10.3.1.
    Request to the server is:
    POST /prjTemplateService/ProxyServices/psvcHelloWolrdWSSSLInterface HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: "urn:#HelloWorldOperation"
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: <ip_here>
    Content-Length: 459
    SSLClientCertStatus: ok
    SSLClientCertb64: -----BEGIN CERTIFICATE-----
    MIICHDCCAYUCBE2sABcwDQYJKoZIhvcNAQEEBQAwVTELMAkGA1UEBhMCRkkxCzAJ
    BgNVBAgTAkZJMQ4wDAYDVQQHEwVFc3BvbzEMMAoGA1UEChMDRVpaMQswCQYDVQQL
    EwJUQzEOMAwGA1UEAxMFSnVzc2kwHhcNMTEwNDE4MDkxMDQ3WhcNMTEwNzI3MDkx
    MDQ3WjBVMQswCQYDVQQGEwJGSTELMAkGA1UECBMCRkkxDjAMBgNVBAcTBUVzcG9v
    MQwwCgYDVQQKEwNFWloxCzAJBgNVBAsTAlRDMQ4wDAYDVQQDEwVKdXNzaTCBnzAN
    BgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvEPjEn3tvG3YuXlsLZnE7ZOKUJIF0Foy
    c1hp+k7dyGUoHu3Phva7eVOO1cmHaGkFHkg+EnnK3+/Y58EMQAEwPOfQTj0/vSSk
    cEx2X/2p2W7ACldJlYMxx2ZdFa1qaKTXtoieLy23/kJI+ZTfIoB+nmZiPRE9Hq8p
    LTPlcMWVFnkCAwEAATANBgkqhkiG9w0BAQQFAAOBgQC3EZMQieOy4PFh+95R6W7/
    3xaaRm/BzmEU/Wf9JweEwrnttdSmRKsxx9vSkADnD0J7jGO+koym5CWvJHbox4Sk
    QMRPFaTOBRD4hzZeJMidds1LSzUm/QE9PXzjS/HLSjBBs5DmZfdR+uXPSFqTROkd
    87R5veuPX5KeKQHs8iesTw==
    -----END CERTIFICATE-----
    SSLClientCertSN: 4d:ac:00:17
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:Hello:client">
    <soapenv:Body>
    <urn:HelloWorldRequest>
    <urn:FirstName>Jolly</urn:FirstName>
    <urn:Surname>Roger</urn:Surname>
    </urn:HelloWorldRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    Response from OSB:
    HTTP/1.1 401 Unauthorized
    Connection: close
    Date: Fri, 30 Sep 2011 08:32:33 GMT
    Content-Length: 1518
    Content-Type: text/html
    X-Powered-By: Servlet/2.5 JSP/2.1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
    <HTML>
    <HEAD>
    <TITLE>Error 401--Unauthorized</TITLE>
    <META NAME="GENERATOR" CONTENT="WebLogic Server">
    </HEAD>
    <BODY bgcolor="white">
    <FONT FACE=Helvetica><BR CLEAR=all>
    <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
    <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2>
    </FONT></TD></TR>
    </TABLE>
    <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
    </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4>
    </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P>
    </FONT></TD></TR>
    </TABLE>
    </BODY>
    </HTML>

    >
    by using Client Cert authentication I have to set HTTPS required to true.
    >
    Yes.
    >
    When I try to invoke this service with http request, it redirects to https service.
    This actually just trashes the entire idea of terminating SSL in the load balancer.
    >
    Not necessarily. Although direct HTTP request to WebLogic is redirected to HTTPS enabled port, you can still use this settings with WebLogic plugin. I'm not aware of your deployment, but I use Apache plugin for WebLogic, terminate SSL on Apache and I'm still able to send requests authenticated by certificate from client through HTTPS.
    I don't know about F5, but I guess there should be similar feature as well.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/cluster/load_balancing.html

  • Soap attachment mapping problem, xop:include

    Hello experts,
    I am using PI 7.3
    I have a senario SOAP to IDOC which SOAP is a sender adapter.
    My Web Service receives attachment which includes MTOM, xop:include
    I read the attachment in the message mapping by User-Defined function.
    But I have another problem while message mapping.
    <SAP:Category>Application</SAP:Category>
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>Unexpected value <null> for node /ns0:TrainingAttachment/ns1:binary</SAP:P1>
    in attachment part of the web service is following,
    <urn1:attachment>
      <urn1:binary>
          <inc:Include href="cid:87732-65c0-665c" xmlns:inc"http://www.w3.org/2004/08/xop/include" />
      </urn1:binary>
    </urn1:attachment>
    I think my message mapping doesnt resolve the binary part
    I tried the Do Not Resolve XOP Includes checkbox, nothing changed
    Thanx for your help
    Hasan
    Edited by: ordu_hasan on Feb 23, 2012 4:12 PM

    Hi Hasan,
      Please, try to implement next xslt mapping before message mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:stylesheet version="1.0" xmlns:ns0="http://www.w3.org/1999/XSL/Transform" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:ns2="https://onlineservice.creditreform.de/webservice/0400-0005">
       <ns0:template match="node() | @*">
          <ns0:copy>
             <ns0:apply-templates select="node() | @*"/>
          </ns0:copy>
       </ns0:template>
       <ns0:template match="xop:Include"/>
    </ns0:stylesheet>
    Regards, Dzmitry

  • How to get the instance id of BPEL in OSB

    We have the process in OSB which will invoke the BPEL ansync process and returns success once the BPEL is invoked.
    Can we refer/get the BPEL instance id in OSB by anymeans?

    There is another option. You may set the unique instance name in BPEL process based on some value in the payload. From OSB you may query composite_instance table of SOAINFRA schema on the basis of instance name (title column) and/or composite name (composite_dn column) to get the value of instance id (ID column) and return it in response from OSB.
    Regards,
    Anuj

Maybe you are looking for

  • Mapping in idoc segment

    Hi I am using ARTMAS04 idoc from sender side in which i have segments and following fields     E1BPE1MATHEAD(Segment max occurence is 1)            MATERIAL     E1BPE1MARMRT(Segment max occurence is 999999)            MATERIAL            EAN_UPC Even

  • Approach for Inter Organisational BPM

    Hi All, I am doing Masters Dissertation in Collaborative BPM. My research topic is the evaluation of three approached for collaborating BPM across value chain. Explanation of these approaches: Centralise CBPM: Ownership of Collaborative System is wit

  • DB Triggers not firing from folders

    Hi All, I have a custom DB trigger on the ap_invoice_lines_all table which fires correctly as expected when I update some fields in the lines region. However, it does not fire when updating via a folder. Any ideas why it may not do so ? Thanks

  • Zen Micro "Player is Locked" will not appear after Updating to version 1.03.5 (Please He

    Hi Everyone, I just purchased a Zen Micro and seems to be in good working condition. I noticed that while runing the original firmware that when I locked the player a box saying "Player is locked" would appear if I tried to press another button. Howe

  • Can't uninstall itunes on windows xp.  Please help.

    I am running windows xp and cannot get itunes to uninstal using add/ remove programs. Please help. The error I am getting is.......The feature you are trying to use is on a network resource that is unavailable.  Enter an alternative path to a folder