BPEL or OSB consume external webservices

Hello all ,
After I look over documentation and - Getting Started With Oracle SOA Suite 11g R1: A Hands-On Tutorial: Fast-Track Your SOA Adoption: Build a Service-Oriented Composite Application in Just Hours - still is not clear how can I consume a web-service hosted on other system - for example Websphere or SharePoint .
I had a example one web service register
<service name="DonateBeanService">
<port binding="tns:DonateBeanPortBinding" name="DonateBeanPort">
<soap:address location="http://localhost:8888/TestTopDown/services/DonateBeanPort"/>
</port>
</service>
on my WAS CEE server .
When I tried to made a business service in OSB - I imported the wsdl - create a new business service -add monitor capabilities but the call is not made to the service endpoint .
Also inside BPEL how can I invoke a external webservice .
Can anyone help me please with some points or advices ? What is wrong in the approach ? In the end OSB capabilities should allow me to integrate with other systems very easy .
Many thanks in advance for all .
And a HAPPY NEW YEAR .
Best regards,
Stefan

how can invoke from inside a BPEL the same service ? or in the BPEL is better to have only local web-services BPEL can also invoke the same service. To know more about BPEL, please refer -
http://www.oracle.com/technetwork/middleware/bpel/overview/index-088867.html
Post BPEL related questions in BPEL forum -
BPEL
And the last one - if I need to read information from a file and send parameters to this webservice - how I will do it on the OSB ?Create a messaging type/Any XML proxy service in OSB with FILE/FTP transport (as per your requirement). In message flow of proxy service you may use XQuery/XSLT/MFL to transform the content of the pulled file into the XML required for calling web-service. Use communication actions to call business service from proxy service message flow. You may like to refer -
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/toc.htm
Regards,
Anuj

Similar Messages

  • Consuming external webservice in SAP

    Hi All,
    Wjile Consuming external webservice that is .NET webservice in SAP I am getting the error "Proxy generation terminated: WSDL
    (<extension> not supported)". Please can anyoone tell me what would be the issue and how should I resolve it.
    Thanks in Advance,
    Meenu.

    The SAP version that we are using is ECC 5.0. And the URL that they have given me to consume has some .svc extension.
    http://ctnhgesappdev.corp.timken.com/GES_EDISService/EDISService.svc?wsdl
    So when I am trying to consume this in SAP I am getting the error "Proxy generation Terminated : WSDL error : (<extension> not supported)".

  • Adding authentication in header while consuming external webservice

    Hi,
    I am using oracle soa suite 11g, while consuming an external webservice i have to add authentication in header before sending request.
    I want my header in request to look like this:
    <soapenv:Header>
    <urn:Authentication>
    <urn:username>user1</urn:username>
    <urn:password>pass1</urn:password>
    </urn:Authentication>
    </soapenv:Header>
    if anyone has any idea then please share.
    Regards

    please look at this and see whether that helps you..
    Re: Creating a partnerlink  from a secure webservice

  • Consuming external webservice in webdynpro

    Hi colleagues
    I am trying to consume a webservice "BORM_API_A1S_GET_UPD_SW_VECTOR" in webdynpro, it is an external webservice
    i have followed the below steps and ended up with an error
    Steps:
    1) created a Adaptive web service model
    2) got the WSDL source from "Remotelocation/fileSystem"
    3) given the WSDL URL Acess as "e:///C:\Documents and Settings\Desktop\BORM_API_A1S_GET_UPD_SW_VECTOR.wsdl"
    4) created a service group
    5) then i have done the " model to controller" binding and "controller to view" binding
    6) in the INIT method of controller i have creted the instance of the model and binded it to the context element
    7) set some some values in the init methiod(for input parameters)
    8) designed a view to get the values that are set into the input parameters
    9) Configured the service group
    i am getting an error saying    
    "*java.io.IOException: Cannot connect to https://service.sap.com:443/sap/bc/bsp/spn/swdc/slm/accessctrl.do, used user to connect: S0004119795, message : Unable to connect to service.sap.com:443 - service.sap.com*"
    I think i am doing wrong service confuguration
    steps i have followed to Configure the service group are given below
    1) logged into http://ldcidwd.wdf.sap.corp:50000/nwa
    2) SOA management-->technical information --> system connections
       here i have selected the provider systems tab, and created a new provider system of system type "Java"
    Here i need to provide someother information which i am not sure about what to provide, Could any one let me know what to be provided for the other fields
    u2022     System Type: Java
    u2022     System Name: <System ID> ?( what is this)
    u2022     Host: <Host>?
    u2022     System Description: My Web Service System
    u2022     Username: <Administrator>?
    u2022     Password: <Password for Administrator>?
    u2022     Profile Name: SAP_DEFAULT_PROFILE
    u2022     Mode: Multiple Services
    u2022     Services Source: WSIL
    u2022     WSIL URL: ?(what should be provided here
    u2022     Socket Timeout: 60.000
    Please let me know what shall i fill in this fields
    Thanks & Regards
    Swetha

    Hi Gayathri,
    i have opened the WSDL file and i found there are two URLS
    1) "<soap:operation
                        soapAction="http://www.sap.com/BORM_API_A1S_GET_UPD_SW_VECTOR" />"
    2)<soap:address
                        location="http://pwdf4431.wdf.sap.corp:1080/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/bosf_swdc_slm/accessctrl.do" />
    i have tried pasting the address URL ina n other IE and i was asked for Authentication
    Thanks & Regards
    Swetha

  • Consuming external webservice in an automated activity

    hi,
    i am consuming a bapi based webservice in an automated activity. i have checked this in wsnavigator using WSDL, it is working fine. when i consume this in my process dc , it asks me to create aService group. i have created one and now deployed dc to server. it doesn't work and in log error it shows that thsi service group is not assigned to any physical system.
    now i tried to create a business scenario communication, for this i created provider systems (it was created and pinged sucessfully, showed all the web services lying in its service registry). when i was creating business scenario, under first step credentials of service group and provider systems are provided. unser second step when i tried to add the services it didn't showed the services which it showed me while i pinged.
    please tell me how to sucessfully consume an external web service (bapi based).This is lying on SR but when i tried to access it through single service administration, it was not there. please guide me how can i sucessfully consume this webservice (using service group or logical destination).
    Thanks In Advance.

    Hi Rohit,
    try with Application Communication Configuration instead of Business Scenario (should be easier for single service). Make sure you have entered the correct credentials for the backend system (both for metadata retrieval and for runtime invocation).
    Instead of Service Registry you can also try with WSIL when creating the provider system. The WSIL URL for the ABAP system should look like this: http://host:port/sap/bc/srt/wsil.
    Please also check the SOA config guide by Alexander Zubev:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40dabb46-dd66-2b10-1a9a-81aa620098b3
    Hope this helps,
    Christian
    Edited by: Christian Loos on Dec 29, 2009 10:28 AM

  • XML Parse problem consuming external webservice

    Hi all,
    I'm testing consuming an external webservice from a WAS 6.40 client. I generated an ABAP proxy for it .
    I managed to get the correct soap request out and receiving the response, but while parsing the SOAP XML response back into the output parameter, I'm running into a parse error :
    - <CX_XMS_SYSTEM_ERROR>
      <ID>PARSE_APPLICATION_DATA</ID>
      <P1>Response Message</P1>
      <P2>CX_ST_MATCH_TYPE</P2>
      <P3>/1SAI/TXS00000000000000000003</P3>
      <P4>XML Bytepos.: 354 XML Path: root(1)ns1:checkValidSerialNumbersResponse(1)checkValidSerialNumbersReturn(1) Error Text: System expected a value for the type g</P4>
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
      <RETRY>M</RETRY>
      </CX_XMS_SYSTEM_ERROR>
    - <CX_XMS_SYSERR_PROXY>
      <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
      </CX_XMS_SYSERR_PROXY>
      </cls:CX_XMS_SYSERR_PROXY>
    - <cls:CX_ST_MATCH_TYPE id="o163">
    The response parameter is defined as xsd:string ( and string in the generated ABAP structure ).
    IF the byteposition is correct there would be a problem
    with the '?' characeter being in  the response.
    What does the datatype 'g' mean ?
    see also in the error message :
      <ACTUAL_NAMESPACE />
      <ACTUAL_VALUE />
      </CX_ST_MATCH>
    - <CX_ST_MATCH_TYPE>
      <EXPECTED_TYPE>g</EXPECTED_TYPE>
      </CX_ST_MATCH_TYPE>
    Any ideas ? Using 2 other soap clients give no issue what soever...:(

    <wsdl:definitions targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
    u2212
    <wsdl:types>
    u2212
    <s:schema elementFormDefault="qualified" targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
    u2212
    <s:element name="processInputXML">
    u2212
    <s:complexType>
    u2212
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="InputXML" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    u2212
    <s:element name="processInputXMLResponse">
    u2212
    <s:complexType>
    u2212
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="processInputXMLResult" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    u2212
    <wsdl:message name="processInputXMLSoapIn">
    <wsdl:part name="parameters" element="tns:processInputXML"/>
    </wsdl:message>
    u2212
    <wsdl:message name="processInputXMLSoapOut">
    <wsdl:part name="parameters" element="tns:processInputXMLResponse"/>
    </wsdl:message>
    u2212
    <wsdl:portType name="NonLiveSchemaSoap">
    u2212
    <wsdl:operation name="processInputXML">
    <wsdl:input message="tns:processInputXMLSoapIn"/>
    <wsdl:output message="tns:processInputXMLSoapOut"/>
    </wsdl:operation>
    </wsdl:portType>
    u2212
    <wsdl:binding name="NonLiveSchemaSoap" type="tns:NonLiveSchemaSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    u2212
    <wsdl:operation name="processInputXML">
    <soap:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
    u2212
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    u2212
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    u2212
    <wsdl:binding name="NonLiveSchemaSoap12" type="tns:NonLiveSchemaSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    u2212
    <wsdl:operation name="processInputXML">
    <soap12:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
    u2212
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    u2212
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    u2212
    <wsdl:service name="NonLiveSchema">
    u2212
    <wsdl:port name="NonLiveSchemaSoap" binding="tns:NonLiveSchemaSoap">
    <soap:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
    </wsdl:port>
    u2212
    <wsdl:port name="NonLiveSchemaSoap12" binding="tns:NonLiveSchemaSoap12">
    <soap12:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I am facing same problem.
    This is WSDL. Could you please tell if anything is wrong in WSDL?
    I am not aware of WSDL files.

  • Consume external WebService inside BW

    Hi,
    does anybody know how to consume an external webservice inside BW ?
    Thanks,
    Max

    You have two options:
    1. Make use of XI.
    2. Use the XML interface in BW.
    refer:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21d8aa90-0201-0010-5e83-a3798b9a5ee0
    this document shows u to transfer XML data to BW.
    If you are on BI7 then create a RDA XML datasource and integrate your web service to that:
    /people/kamaljeet.kharbanda/blog/2006/11/13/real-time-data-acquisition-bi2004s

  • Error while consuming external webservice URL in SAP

    Hello every one,
    I am getting below error in sap while consuming external web service URL .
    HTTP error (return code 405, message "Method Not Allowed")
    Can any one help me on this.
    Thank You.
    Vijay

    Hi Vijay,
    Did you check if you are using full correct UURL. That happens with incorrect URL.
    Thanks,
    Ravi

  • Consume external webservice from ABAP

    Hello all,
      Can we consume external web service from ABAP??
      If yes please gimme a sample code to do that..
    Thanks in advance..
    Regards,
    Maya

    Can we consume external web service from ABAP in version 4.7??

  • Problem while consuming external webservice

    Hi,
    I tried consuming webservice through se80->Enterprise Service->Service consumer.
    For SAP webservices i am able to consume it. It is creating proper proxies.
    But I tries it using with external WSDL url. It is saying error as
    'Incorrect value: Unknown namespace http://www.w3.org/2001/XMLSchema'
    Please help
    Regards,
    Dhana

    Hi,
    I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.
    Now it is showing the following error
    Exception occured in library handler.Not implemented.
    Exception of class CX_SIDL_INTERNAL_ERROR
    Please have a look into it
    Regards,
    Dhana

  • No data retrieved while consuming external webservice in visual composer

    Hi all,
    I wrote a webservice, which returns some car data from a database.
    The returned data looks like:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ArrayOfCar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://IBM-W2003-EAI/GetCarList">
    - <Car>
      <CarID>B-276</CarID>
      <CarBrand>BMW</CarBrand>
      <CarModel>320i</CarModel>
      <Kw>125</Kw>
      <Ps>178</Ps>
      <Km>12000</Km>
      <Year>2001</Year>
      <Price>23000,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    - <Car>
      <CarID>B-984</CarID>
      <CarBrand>BMW</CarBrand>
      <CarModel>330d</CarModel>
      <Kw>125</Kw>
      <Ps>178</Ps>
      <Km>121000</Km>
      <Year>1997</Year>
      <Price>13520,0000</Price>
      <Url />
      <Status>Available</Status>
      </Car>
    Unfortunately the data is not received, or displayed at all.
    Are there any suggestions, how to solve this problem?
    Thank you for your help.
    Kind regards, Patrick.

    i found this link on SDN.  If you have see this, then ignore my post..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4094345f-341f-2b10-86a0-86a6309f1a0b

  • 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?

  • OSB - Response timer when business service call external webservice slowly.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • Consume a webservice developed in other than coldfusion  in WS-Security mode

    1. What are the prerequisites (any software installation, configuration) to be considered ?
    Requirement : To consume a Webservice developed in other than coldfusion in WS-Secuirty mode .
    Environment used : Windows 2003, IIS 6, Coldfusion 8, SQl server 2005
    2. While trying to consume a public webservice through coldfusion , We received unable to read WSDL file and Unknown host exception error.Can you please advise. why we are receiving this error and solution ?

    Thanks Dan Bracuk, for your reply.
    What I could understand from Sivakarthikeyan post is that
    Point 1)
    It is mentioned that they are going to consume external webservices for which he would like to know whether any software/configuration is required to implement WS-Security (In IIS or coldfusion administrator)?
    Point 2)
    It could be a correct URL that he is using, from his description (2nd step) he gets a error message as "Unable to read WSDL file". If it of incorrect URL then he would have received file not found or other error message.
    Can you please or anyone clarify?
    Thanks,
    Satheesh

Maybe you are looking for

  • How do I add a hard drive to the new Airport Time Capsule?

    I just bought a 2 TB Airpot Time Capsule and it has a USB port on the back. I can plug in my USB drive (stand alone, powered via USB), and have it mount fine, but when I try to copy files to it, it gets ejected and a warning pops up. So how do I use

  • Failed to load the FastBrowserSearchPlugin plugin.

    Failed to load the FastBrowserSearchPlugin plugin. * -[BrowserWindowController currentWebView]: unrecognized selector sent to instance 0x7bb760 Anyone know why I am getting this message, which then causes Safari to crash, and how I can re-install the

  • Photoshop Elements 10-From MAS or Adobe

    I want to upgrade from Elements 6 and not sure if I should upgrade fropm Adobe or use the MAS. I don't think(?) I need the Organizer and I see there are issues with getting the correct language. Any advice would be appreciated.

  • Where can I download the Market app?

    Does anyone know where I can download the Market application itself?  My market app crashed and after a whole bunch of troubleshooting, I deleted it but now I can not find out where to download it again. Anyone know who has it for download? As an alt

  • FCS administration rights issue

    Hi all, I'd like to create an admin user that would have less rights as the "big" administrator. For instance, that user would see the Administration panel but without the "Devices" or "Preferences" tabs. I cloned the admin group from the Permissions