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

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

  • 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

  • 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

  • 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

  • BRM Webservice call from BPM as an automated activity in CE 7.2

    Dear All,
    A simple BRM ruleset is created and published as a webservice. The WSDL is available at NWA ->SOA Management-> Application and Scenario Communication-> Single Service Administration.
    The webservice test in WSNAVIGATOR provides the expected results.
    In the BPM process flow, an automated activity has been created for the webservice call. This activity contains the 'Service Interface' and 'Service Reference' of the imported WSDL.
    Issue:
    When the process is started, the BRM webservice call results in error. The error is not visible in the log but the process flow shows a green symbol on the automatic activity, thereby indicating that the webservice call does not end and the process remains in 'In progress' state.
    Can you please provide your inputs?
    Thanks,
    Pritish

    Dear All,
    The issue is resolved with the help of following document.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9009be68-1e9a-2c10-fd91-8f5fcb00474c.
    Regards,
    Pritish

  • Creating Boundary Events for Automated Activity consuming an RFC

    Hi All,
    Can somebody help me in creating the Boundary Events for an Automated activity which is consuming an RFC. I got the docs and few how to for WS Consuming Automated activity, but I couldnu2019t find anything which describes for RFC consuming Automated activity. Your help will be greatly appreciated.
    Regards,
    SrinivaS

    Hello,
    I am facing the same problem. Could you please explain the method you followed in order to solve this issue?
    Thanks in advance.

Maybe you are looking for

  • How to combine two PDF files without consolidating form fields

    I have two PDF documents with form fields in each. Someone else created the documents. Certain fields were untitled and thus were given names as "undefined" in each document. However, some of those fields contain different information in each documen

  • Can I connect my I pad to my hd tv?

    Can I watch a movie from I tunes on my I pad to my tv?

  • Bapi Names For Following Fields?

    Hi All, I Want BAPI names For Following Fields. 1.Personnel Area. 2.Personnel SubArea. 3.PERNER 4.OBJID. 5.LAND1 6.REGIO Thanks SubbaRao Chinta

  • How to create own Java launcher

    Hi, I need to create native launcher for Java in C, C++ or Objective-C. It doesn't matter, but C++ is preferred. I have Java application which access Keychain and I need to have my own process - not java or JavaStubApplication. I have this code: Java

  • Outline Agreement of FS Contarcts

    Dear experts, I'm struggling to try to understand how CRM Outline Agreements works. Basically I can see that the standard solution privides two kinds of OA: 1. Promo Agreement: trans type DP, item categ DPI 2. Master Agreement: trans type MA, item ca