OSB: When does invokation from http Business Service result into an error

Hi,
I want to know when does invokation from http Business Service in OSB result into an error.
I have a http based business service which is calling an external service on http url.
I want to know when this business service is invoke/tested, what are the cases in which the invokation will result into an error.
What does OSB read to cause the invokation an error.
I am aware that it reads the http-response-code. If its not 200 or 0, it will result into an error.
Want to validate this understanding and also want to know what are the other case that will cause this happen. Is it by any way dependent on body content?
Please help. Please share any good links for the topics related to this.
TIA.
Regards,
Ashish

Hi,
Some info here...
http://svgonugu.wordpress.com/2011/06/15/fault-handling-in-osb/
Cheers,
Vlad

Similar Messages

  • Invoke External HTTPS Web Service from OSB 11G

    Hi,
    We have a requirement to invoke a HTTPS web service hosted by third-party and we have to send HTTP basic authentication detials also.
    Third party given us the HTTP basic authentication details and only certificate nothing else.
    After some research service account can be used for basic authentication and service key provider for https requirement.
    But before service key provider creation there are steps to import the certificate into weblogic server and do some config steps (PKI cred mapping and all )I have gone through the forums but i am new to OSB and SSL i could not understand.
    Can some one help with detailed steps.
    Thanks in Advance
    Srikanth

    You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
    http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
    http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
    Hope this helps.
    -Wasil

  • Receive another item or alternate item when doing Receive from Production

    Hi ,
    Is there any way to receive  another item or alternate item when doing Receive from Production in Production Module.
    The scenario is that  . . at production the return item may differ from the original item planned.
    Thanks
    Ashish Ranjan

    Dear , i want to say that, i will receive the Item from Receive from Prod Form which is planned . . !
    Then
    I will Issue the Same Item using Goods Issue using a transit Account
    Then
    will receive the desired item using Goods Receipt using that particular transit Account
    Now please suggest is it ok or not !
    Regards
    -Ashish

  • It is possible to execute a batch file from a business service

    Hi,
    I am developing on inbound batch interface. The interface will be trigged by a batch file and I want to invoke that batch file from within Siebel. To this I've written a business service that uses the Clib.System() method to launch the batch file but I don’t know how don’t send row id as an input with that.
    Please correct me below script is correct or not,
    var ret = Clib.system(“C:\\SEA752\\siebsrvr\\Batch\\CreditCard.exe \I “ + sRowId);
    Regards,
    Sankar.P

    Hi,
    You might want to post this in [Siebel Forum|http://forums.oracle.com/forums/category.jspa?categoryID=151]
    -Arun

  • Scrip Error when Action invoked from Bridge Image Processor

    I am running Photoshop CC and while I can create a new simple Action and execute it successfully, if the same Action is invoked from the Image processor in Bridge, the Action fails witha script error and messaeg "Sorry, I could not proecess the following file: xxxxxxxxxxxx"  In CS6 this used to be related to History entry size  but it is not the same in CC.  I can execute other actions but NOT the one I just created, no matter how simple it is.  Help! 

    After renew settings in preferences the basic set from PS is active. Go trough it and look around what you can use, explore it.
    Most important is scratch disk setting, ammount of RAM and I find it useful to change the cursor setting to the last checkboxes.
    Read the manual that came with your copy and or try one of the thousands tutorials that are available either free or for sale. There are very good DVD's that shows you the screen from the teacher on your own screen and so you can see what he or she does. Total Training is a good start but there are others.
    start here and find your way: http://www.adobe.com/training/

  • OSB 10.3: proxy based on business service

    Hello there,
    the functionality to build a proxy based on a business service with Workshop10.3 seems to have "dissapeared" from ALSB 10 to OSB 10.3
    Is it a bug or feature? (Or is it one of the "things will be different at Oracle now.")
    As far as I can see it is nowhere documented.
    thanks,
    Barossa

    This is still not documented and very confusing since the old docs are distributed with the downloads of the current OSB AND the "Definitive Guide to OSB" by Davies also tells you to do it with the Wizard. ;-)
    Please document! But for this posting I would still be dazed and confused!!

  • How to make message transfer to a topic from a business service synchrouns?

    hi,
    I am posting a message to a JMS queue using a business service (say A) and then I am fetching that message from that queue and using a proxy service (B) and a business service (C) for transferring that message to a topic, now I want that my business service A gets the same message that it initially posted as a response back from the topic to make the whole message transfer synchronous, but the problem is that as I select topic on my JMS transport configuration page of business service the text box where I need to specify the URI for the topic gets blocked,hence I am unable to get a response from the topic, can anybody help me out with this as I really want to make this synchronous.
    Edited by: user12826319 on Jul 21, 2010 4:36 AM

    yes u got it correct...v require a synchronous message transfer to happen i believe d alternative can be that i send the message to topic directly using a business service and expect a response from the topic itself in the form of the message i initially posted, that thing I would manage but the real problem is to get a response to the business service when i use topic, because as i select topic on JMS transport configuration page of business service the end point URI textbox gets blocked...

  • When we have to use business service?

    hi,
    In real time at what circumstance we will use business service instead of business systems?
    one more thing really we will come across this kind of scenario often or very rare case.
    kindly explain me with some real time situation with business landscape.
    regards
    Ruban
    Message was edited by:
            ruban R

    A Business service represents an abstract unit for addressing message senders and message receivers. You can use a business service to group interfaces.
    It is useful to use business services when configuring cross-company processes. Usually, the interface descriptions of the business partners involved are made publicly available. The system landscape is only partly known, however.
    Configuring Cross-Company Processes
    http://help.sap.com/saphelp_nw04/helpdata/en/da/7a2f41b239a831e10000000a1550b0/content.htm

  • Osb 11 : How to configure tuxedo business services in a clustered domain.

    Hi,
    We have a platform with a clustered domain Osb ( 1 admin server and 2 managed servers dispatch on several physical servers) and two Tuxedo instances offering the same service exported in 2 different gateways on each Tuxedo instance.
    How to configure a business service with tuxedo transport working on this platform with failover and load balancing ?

    Thanks for the answer but it doesn't work.
    The fact is that we work on OSB 11, not directly in WebLogic.
    And Osb always modify the WTC configuration even if we modify it before in weblogic.
    To define a business service with multiple remote access points and apply a load balancing algorythm, Osb need an URI for each remote access point (not for each imported service).

  • Payload Structure when composite invoked from java

    Can any one please let me know how the payload structure should be when composite is invoked from java program.
    Any sample would be of great help
    thanks
    Naga

    you need to construct the payload - according to your wsdl structure ..
    that is the part name of the <input> message will be the key passed into the NM payload - and the element that is referred from that part will be the value of the map .. e.g.
    your message might have a part named "payload" and refers to an element called "employeeRequest" - in the namespace urn:blah
    so you would set into the payload map ( "payload", "<employeeRequest xmlns=\"urn:blah\"/>")
    hth clemens

  • OSB: Checking content type of a Business Service response

    Hi,
    I have a Proxy Service <-> Business Service configured as a pass-through only. (including http headers)
    The situation is: Sometimes, the service which my BS access send a fault response as a HTML instead of a fault soap envelop or something related with the provided xsd.
    My PS receives this and send back to the caller, but my customer needs a fault message. The service provider will not modify this behavior, so i need a way to check the content of the response to see if it's is an html and raise an exception.
    It's possible to do this ?

    Wow.
    First of all, ty for your really fast reply.
    Seconde: A valid fault response message is something like this:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="my.foo.namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" >
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>Unknown processing error.</faultstring>
    <detail>
    <ImsException version="6.0" >
    <exception>
    <name>exception.NotAuthorizedException</name>
    <code>700</code>
    <description>
    <![CDATA[Foo is not authorized to perform task.]]></description>
    </exception>
    </ImsException>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    I need to validate the <detail> tag agains my xsd. To do this, how to build the xquery to select this tag ? I need to apply some function on the content to transform the detail string into a structured xml ? It's something like:
    soapenv:Envelope/soapenv:Body/soapenv:Fault/detail
    If you have some links with examples i will appreciate.
    Ty for your help.
    Edited by: GSanches on 10/06/2010 06:27

  • Different when BPEL invoked from Console & from a JSP

    Hi All,
    I have a very Simple BPEL Process which, which when invoked from the BPEL Console is working fine, but when invoked from the JSP, throws a "SelectionFailure" Fault in the Assign activity.
    Can anyone help?
    Thanks
    Chandra

    In the audit trail, under the "receiveInput" activity, I'm able to see the values that I passed as the Input, but in the next "assignActivity", it throws this selectionFailure Fault saying the variable value is empty.
    My input is only 1 value and the XML is pretty straight forward.

  • ConnectionManager::invoke::Failed to find service connection url. Error

    When I try to download something from app store I write my email and my password , but when i click on accept, appears this error: ConnectionManager::invoke::Failed to find service connection url.
    How can i solve this problem? Thanks!

    I had exact same error.....
    Rebooting - Failed
    Logging in to iTunes - Failed
    Logging into itunes Store - Failed
    Logging into iTunes Genius - SUCCESS    I woulnd't have thought it would make a difference but it does Then just log into the 'other' services with iTunes.
    Good luck!

  • Business service EJB Transport configuration error

    Hi,
    When configuring Business service to work on ejb protocol, on EJB Transport Configuration tab, I get error message saying
    Generate: Error during generation of the WSDL: Cannot run program "null/modules/org.apache.ant_1.7.1/bin/ant.bat": CreateProcess error=2, The system cannot find the file specified
    BEA_HOME, MIDDLEWARE_HOME, ANT_HOME tried to set, not helped.
    JrockIt 4.0.0.,Weblogic 10.3.3, OEPE 11.1.1.6.
    What could be the problem?
    Thanks in advance.

    Hi,
    haven't found product.properties file in directory. Here is eclipse.ini file
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v20100503
    -showsplash
    org.eclipse.platform
    --launcher.defaultAction
    openFile
    -vmargs
    -Xms256m
    -Xmx768m
    -XX:MaxPermSize=512m
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dweblogic.home=D:\middleware\wlserver_10.3
    -Dharvester.home=D:\middleware\oracle_osb1\harvester
    -Dosb.home=D:\middleware\oracle_osb1
    -Dosgi.bundlefile.limit=500
    -Dosgi.nl=en_US
    So only OSB and Weblogic homes are set.
    I tried with/without setting additional homes (such as BEA_HOME etc.) just because this line :
    Cannot run program "null/modules/org.apache.ant_1.7.1/bin/ant.bat" confused me. It's like path to middleware installation isn't set, that's why it's NULL here.
    Any ideas?
    Thanks in advance.
    Edited by: frf on 20/8/2010 5:22

  • Converting string data from a web service respons into XML structure of XI

    Hi,
    We receive a string structure from a web service.
    The string structure has an xml type format, that is all the tags and its content are in one line .
    The WSDL file of the webservice defines its response structure as a string type.
    How do i convert this string into proper XML structure (predefined by me in Integration repository).
    OR how do i make XI understand this string as an XML structure for further processing.
    Later i have to map this XML message type into IDoc.
    Himani

    Hi Himani,
    Please find the code for ur requirement -
    String need to parse -<response_webservice><from_date>20080101</from_date><to_date>20080202</to_date></response_webservice>
    Below mentioned code will convert it to -<MT_DATA><FROMDATE>20080202</FROMDATE><TODATE>20080101</TODATE></MT_DATA>
    Create a Message type and map it like this using java mapping ( no need to use Graphical mapping).
    Use MT_DATA as source and map it to your target structure .
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.StringReader;
    import java.util.HashMap;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.TransformerFactoryConfigurationError;
    import org.w3c.dom.DOMException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Text;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    public class XMLParser {
         private Map param = null;
         public static void main(String[] args) {
              try {
                   XMLParser wdb = new XMLParser();
                   wdb.parse();
              } catch (Exception e) {
                   e.printStackTrace();
         public void setParameter(Map param) {
              this.param = param;
              if (param == null) {
                   this.param = new HashMap();
         public void parse() {
              String document = "<response_webservice><from_date>20080101</from_date><to_date>20080202</to_date></response_webservice>";
              try {
                   Document sdoc;
                   DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
                   // Using factory get an instance of document builder
                   DocumentBuilder db = dbf.newDocumentBuilder();
                   // parse using builder to get DOM representation of the XML file
                   sdoc = db.parse(new InputSource(new StringReader(document)));
                   Element docEle = sdoc.getDocumentElement();
                   NodeList nl = docEle.getElementsByTagName("from_date");
                   Element lstElmnt = (Element) nl.item(0);
                   NodeList nl1 = docEle.getElementsByTagName("to_date");
                   Element fstElmnt = (Element) nl1.item(0);
                   System.out.println(fstElmnt.getFirstChild().getNodeValue());
                   System.out.println(lstElmnt.getFirstChild().getNodeValue());
                   Document tdoc = db.newDocument();
                   Element structure = createElement("MT_DATA", null, tdoc);
                   tdoc.appendChild(structure);
                   Element statement = createElement("FROMDATE", fstElmnt.getFirstChild().getNodeValue(), tdoc);
                   structure.appendChild(statement);
                   Element statement2 = createElement("TODATE", lstElmnt.getFirstChild().getNodeValue(), tdoc);
                   structure.appendChild(statement2);
                   System.out.println("Struct is :::"+tdoc.getDocumentElement().toString());               
              } catch (DOMException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              }  catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (FactoryConfigurationError e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (ParserConfigurationException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (SAXException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (TransformerFactoryConfigurationError e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         static Element createElement(String elementName, String content,
                   Document document) {
              Element returnElement;
              returnElement = document.createElement(elementName);
              if (content != null) {
                   Text T = document.createTextNode(content);
                   returnElement.appendChild(T);
              return returnElement;
         static Element createElement(String elementName, String content,
                   String attributeName, String attributeValue, Document document) {
              Element returnElement = createElement(elementName, content, document);
              returnElement.setAttribute(attributeName, attributeValue);
              return returnElement;
    Regards,
    Kishore

Maybe you are looking for

  • Nokia c5-03 is having really bad features. Can any...

    Hi, My nokia mobile c5-03 is not supporting the following features and i bought this mobile on 2nd April 2011 from nokia priority shop in Bangalore, Karnataka: 1) No marking option available for selecting several things for selected ones. 2) No Sendi

  • Checkbox renderer problem

    Hi all, I have a checkbox renderer in datagrid .The dataprovider does not have the selected property of the checkbox. how do i retain the selection of the checkbox,when i scroll the datagrid? please help. Thanks

  • Function Module for VLSP

    Hello Everybody, I am trying to find a Function Module that will allow me to split already packed delivery by Handling Unit numbers. That functionality exists in transaction VLSP.... I would appreciate suggestions, Thanks you in advance, Felix

  • [SOLVED] Cannot install skype on Arch x86_64 system

    Hello i am a newbie here and i am looking for you help ... here what i got after " sudo pacman -S skype" 1st attempt ============ sudo pacman -S skype resolving dependencies... warning: cannot resolve "lib32-alsa-lib", a dependency of "bin32-skype-st

  • Hi. Does anyone know if the new nano Ipod Radio will work with wireless headphones? Thanx Mz Molly

    I'm aware the headphone cord works as the atenna for using the radio function in an Ipod. Now that the 7th generation is bluetooth and can be used with wireless headphones, I'm wondering if will the radio function will work without the cord??????????