Creating client proxy in ABAP failed

Hello,
I tried to create a client proxy for a WebService and got the same error like in this thread: [Error when create client proxy in ABAP; "Exception occured in library handler".
I've got only a little of knowledge about SOAP that's why I cannot edit the WSDL File. But I think there is no mistake in the WSDL. I used one in Visual C# and it works.
Is it possible to change settings of the proxy generator to ignor non-SOAP bindings?
Thanks for your help.
Frank
Edited by: Frank Staudte on Jan 20, 2009 9:17 AM

Hi,
Search in SDN you can find many links.
Client Proxy -
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Regards,
Phani

Similar Messages

  • Error when create client proxy in ABAP

    hi all
        when I tried to create a client proxy through wsdl: http://www.webservicex.net/geoipservice.asmx?wsdl , I got and error message "Exception occurred in library handler", what's the really matter with this error ?
    thanks very much!

    You need to copy the WSDL file to a local file and edit it.  The WSDL file contains non-SOAP bindings and that's what the generator is choking on.  Use the 'Local file' option to generate the proxy class after editing the file.

  • Need some help in creating client proxy to call webservice

    Hi experts,
    I am new to ABAP so couldnt understand the SAP ABAP jargons.
    On of my colleague has written one search help exit function and i need to use that and have to write client proxy to establish connection to webservice.
    I never worked on proxy or webservice so, struggling to understand the concept and steps.
    I am following second part i.e Release 640 part of /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap weblog.
    I couldnt find "To get the process started, we turn to our old friend SE80. <b>From the Enterprise Services Tab, we are going to select Client Proxy and then hit create"</b>
    when i go to transaction se80 ObjectNavigator, i could see two dropdown lists after some tabs.
    in first list, I have selected, "Application Hierarchy", and in second I am selecting "Package".
    Not sure whether its correct or not.
    Once i do this i could see long list of <b>Object name and its description.</b>
    Now, what should i do ? where should i go for "Enterprise Services Tab" to create my proxy.
    Any help would be appreciated.
    Please send me PDF, having detailed steps to create client proxy.
    Thanks,
    Pranav

    Right click on the package and select Proxy object. In the Wizard select Service Consumer.
    then give the url of the WSDL file you want to access or path if u have a local file.
    then give the package for client proxy.
    then complete the wizard. the  client proxy will be create in that package.
    Next step will be creating a Logical Port using the transaction "lpconfig". Give the proxy name of the service interface created under client proxy. and set the configuration as follows.
    1. Make as a default port.
    2. in the URL, give the url of the webservice (.asmx)
    3. select "State Enabled" and "Message ID"
    and after creating a logical port,  set the proxy settings as in your webbrowser.
    (Http proxy server and port).
    then simply execute your webservice from SE80.

  • Error while creating Client Proxy from SE80

    Hi all,
    I am trying to create Client Proxy with WSDL through SE80. There is no involvement of XI to create the Proxy.
    I am using the option 'Local file' and uploading the wsdl file.
    But I am getting the following errors.
    "Proxy-Generierung: Fehler aufgetreten"
    "Exception occurred in library handler"
    "Illegal syntax: Element header has invalid enhancement attribute
    http://schemas.xmlsoap.org/wsdl/:required"
    If any one could understand them and worked in a similar scenario, pls help me out.
    regards,
    teja.

    hi,
    you might want to post the WSDL in question for us to have a look at.
    but actually, the error message tells a lot:
    http://schemas.xmlsoap.org/wsdl/:required
    the second colon(, the one between wsdl/ and required, makes this expression an illegal one in any kind of a URI-like meaning (namespace, ref-URL, ...)
    anton

  • 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

  • Advice on client proxy generation (ABAP and SAP PI)

    Hi,
    I've set up an ABAP client proxy using the wizard in transaction SE80 in the backend system, released it using transaction SOAMANAGER and tested that it works.
    I now want to compare this technical approach against the same scenario using a proxy generated from a SAP PI outbound synchronous message interface.
    I have hit the following issues:
    1) When I upload the WSDL file (saved from the test web service I exposed from one of our SAP systems) into the Integration Repository, I receive the following error:
    "Check Result for Object GetDOB_WSDL Document check found errors  Cause: Unable to recognize the loaded document as valid WSDL  Tag Policy is not permitted at position portType".
    I can remove this error by deleting the tag policy but don't have an answer why this is not supported and whether this is the right approach - this error occurs regardless of which option I choose when saving the WSDL (i.e. portType or binding) or which upload option I select.
    2) When I create the proxy in the backend system based on the message interface the objects are all created successfully and generate/activate correctly.  As I don't need the PI runtime (no mapping, queuing etc) I go to create the logical port in transaction SOAMANAGER and I receive the error:
    SRT Framework exception: The WSDL document is not compatible with proxy class "ZPROXCO_ZFUNC_UPDATE_ADDRESSHI": "Operation(s) Missing ZFuncUpdateAddresshistory"
    even though the external operation does exist and is called ZFuncUpdateAddresshistory.
    I have no clues as to why this doesn't work other than the generated WSDL file in the ABAP client proxy has the same name for the portType and operation (ZFuncUpdateAddresshistory).
    3) Can someone please explain the value at design time over creating the client proxy in SAP PI versus using simply the wizard in the backend ABAP system - is it simply that the interfaces can be held centrally in the IR if desired or the WSDL might already be there and could be used to quickly generate a message interface?
    Thanks,
    Alan

    Hi,
      As far as I know, we follow the top down approach in proxy scenarios.
    meaning, we first create the interfaces in XI IR and then go to the back end to implement them.
    So, you should create a message interface (Probably Manually rather than importing the wsdl from R/3)
    in IR and then go to the ERP backend to implement the proxy using the SPROXY transaction.
    Coming to your 3rd question, In PI 7.1 you might be knowung that we have something called ESR(Enterprise Service Repository), which has all the services in a single place.This gives us an option of collating all the different enterprise services scattered all over different systems to be in a common repository.
    Regards,
    Ravi Kanth Talagana

  • Problem Calling a Client Proxy from ABAP which is based on an extension

    I'm trying to create an Asset in Salesforce from SAP using ABAP.
    I have exported the enterprise WSDL from Salesforce, generated a client proxy and have coded the login call and passed the session id to the create call.
    The problem I am having is the create method references sobject however asset is an extension of this.
                <complexType name="Asset">
                    <complexContent>
                        <extension base="ens:sObject">
                            <sequence>
                            <element name="Account" nillable="true" minOccurs="0" type="ens:Account"/>
                            <element name="AccountId" nillable="true" minOccurs="0" type="tns:ID"/>
                            <-- many more fields here -->
                            </sequence>
                        </extension>
                    </complexContent>
                </complexType>
    I need to pass something like this (tested and working using SOAPUI)
             <urn:sObjects xsi:type="urn:Asset"
                       xmlns:ns3="urn:sobject.enterprise.soap.sforce.com">  
                   <urn:AccountId>001A000000HoyKZ</urn:AccountId>
                   <urn:Name>JWSOAPTEST Asset3</urn:Name>    
                            <-- many more fields here -->
            </urn:sObjects>
    I tried modifying the WSDL so sobject referrs to Asset
                <!-- Create Message Types -->
                <element name="create">
                    <complexType>
                        <sequence>
                            <!-- element name="sObjects" type="ens:sObject" minOccurs="0" maxOccurs="unbounded" -->
                           <element name="sObjects" type="ens:Asset" minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
                    </complexType>
                </element>
                <element name="createResponse">
                    <complexType>
                        <sequence>
                            <element name="result" type="tns:SaveResult" minOccurs="0" maxOccurs="unbounded"/>
                        </sequence>
                    </complexType>
                </element>
    However other types it referred to weren't populated.
    The other approache may be to manually populate the xml similar to what I had to do in the header (this link gives a good overview on this Consume web service in ABAP proxy with SOAP header )
    Any recommendations or advice would be appreciated.
      Ideally some sample code if someone has done this or a recommendation on how to modify the WSDL.
    Regards,
    John

    Hi John,
    Calling SFDC.com from PI, is detailed out here. probably will give some tips:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50a76cfa-4966-2d10-aba7-da496d9b5bcf
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f8d03-9282-2d10-52b4-f9446e077099
    Regards, Moorthy

  • Initial settings to create client proxy on CRM in SE80

    Hi Experts,
    I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80.
    When I tried creating this, the proxy creation halted at a point, stating that the HTTP not found. When I checked the info, it stated that the initial settings in the transaction SICF must be done.
    Please let me know what are all the settings that needs to be done in this regard.
    TIA. Points shall be awarded.
    Regards,
    Kris.

    I worked with my basis team, seems it is not because of internet proxy or firewall issue, might be a bug with abap proxy generation program.
    I tested with wsdl referencing to local xsd, and seems it worked fine, unfortunately, my xsd files are in a complicated structure, at this point my only option probably is to download all xsd files to local and modify them.
    thanks for all help.

  • Can't create client proxy classes from WebLogic-generated WSDL file

    We have a web service that we used to generated a WSDL file. We then used clientgen
    to try and create the client proxy classes from the WSDL. This failed. Doesn't
    it seem reasonable that if WebLogic creates a WSDL that WebLogic should also be
    able to consume that WSDL?

    Can you please post the wsdl?
    Regards,
    -manoj
    http://manojc.com
    "Robert" <[email protected]> wrote in message
    news:40db0bc0@mktnews1...
    >
    We have a web service that we used to generated a WSDL file. We then usedclientgen
    to try and create the client proxy classes from the WSDL. This failed.Doesn't
    it seem reasonable that if WebLogic creates a WSDL that WebLogic shouldalso be
    able to consume that WSDL?

  • Create a proxy from abap with 3 messages parts

    Hi,
    I am trying to create a proxy from a WSDL file with 3 messages parts:
    <wsdl:message name="executeSoapIn">
        <wsdl:part name="farmName" type="s:string"></wsdl:part>
        <wsdl:part name="requestXML" type="s:string"></wsdl:part>
        <wsdl:part name="farmProps" type="s0:Map"></wsdl:part>
      </wsdl:message>
    This is not possible because it is not fulfilling the SOAP 1.1 standard, so when I try to create the proxy I am getting an error, so no proxy is created.
    My question is: Is is possible to create a ABAP proxy manually so the proxy would have the 3 parameters of the messages part?
    Thanks in advance.
    Eduardo.
    Message was edited by:
            Eduardo Martí

    Hi,
    The problem is that i need to create a proxy with 3 parameters in one of its methods, that is, the method SOAPEXECUTEIN will need the parameters (farmName, requestXML, farmProps), as shown in the piece of code of the WSDL file. I can not do it because the system did not allow me, it allows just one parameter.
    Is it possible to create the proxy in some way that allows me the method with the three params?
    Thanks Aamir.
    Cheers.

  • Client proxy in ABAP

    Hi all,
    Can u explain me the client proxy.
    Thanks

    Hi,
    Search in SDN you can find many links.
    Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Regards,
    Phani

  • Creating client proxy for calling web service

    Hello,
    I like to call a WebServce from our vendor. The vendor provides me no WSDL document.
    Question: Is it possible to create a client proxy without WSDL? I have just the SOAP Request/Response.
    SAP ECC 6.0
    SAP_BASIS     700     0010
    Thank you very much in advance for any helpful answer.
    Kind regards
    Axel

    Hi Axel,
               I am working on a program to connect to a external web-service from SAP (R/3 enterprise 4.7) and while searching all the available stuff for this I got this method.
    But, I am still facing some other issues and hence doesn't have the whole solution. You have to probably try it out from your side once and see if it helps.
    Please refer the following blog.
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/847. [original link is broken] [original link is broken] [original link is broken]
    it describes a method which is not at all using any WSDL file. Instead it uses the CL_HTTP_CLIENT class to pass a SOAP request to the web-service and then get the response.
    Regards
    Barada

  • Create Client Proxy error

    All,
    I am tryiing to create a client proxy with a URL. The connectivity tests between the systems are ok and i can access the URL in the consumer server.
    But when i try to generate it from se80 it needs too much time to import the WSDL, it is showing the message read / analyze WSDL and it resets the transaction.
    Does anybody know why is this happening?
    Regards
    Jon

    Hi Maria,
    As I said the WSDL was wrong and yes my client proxy prefix started with z*.
    Kind Regards
    Jon

  • Create Client Proxy Java

    hi
    my scenario is JSP => SOAP => XI => RFC => SAP.
    i developed all the things which required ,and this scenario is working fine, when i m using XMLSPY Tools and create / send SOAP Request through this tools  i will got response properly,
    but i want to create SOAP request in JAva and used in Java / JSP,
    please, Any one tell me how to do this ?
    B'se when i m creating java client i will got Exception, or Authentication level problem,
    please any one knwon solution please help me,
    regards
    Bhaumik

    Steps to create Java client proxy :
    1. Right click on your Sender Message Interface and select "Java Proxy Generation".
    2. This will generate the EJB skeleton code which you need to import in NDS and then call the EJB code from your JSP / Java code. Note that calling from JSP would be an easy task as you they both could be a part of the same Enterprise app. but creating standalone java client code could be a tricky situation.
    These 2 PDFs should help you.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9">Java Proxies and SAP XI - The Inside Story, Part 1 By Sudhir Porumamilla</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d">Java Proxies and SAP XI - The Inside Story, Part 2 By Sudhir Porumamilla</a>
    Regards,
    Amol

  • Unknown Namespace when creating Client Proxy

    Hi,
    I'm trying to generate a client proxy using Local File.
    It gives error
    Incorrect value: Unknown Namespace urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
    The wsdl file does not give any error.
    This error seems to be coming from XSD file  named UBL-CommonAggregateComponents-2.0.xsd
    Below is part of this XSD file.
    Can you tell me what is the problem here.
    <!-- ===== xsd:schema Element With Namespaces Declarations ===== --><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
                xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
                xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
                xmlns:ccts="urn:un:unece:uncefact:documentation:2"
                xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
                targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
                elementFormDefault="qualified"
                attributeFormDefault="unqualified"
                version="2.0"><!-- ===== Imports ===== --><xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
                   schemaLocation="UBL-CommonBasicComponents-2.0.xsd"/>
       <xsd:import namespace="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
                   schemaLocation="UnqualifiedDataTypeSchemaModule-2.0.xsd"/>
       <xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
                   schemaLocation="UBL-QualifiedDatatypes-2.0.xsd"/>
    Thanks
    Girishkumar

    Hi ,
    Make sure no restriction from firewall on proxy settings.
    Namespace you are using for client proxy may not be available for consumption/not published.
    Also , Try to check connection.
    OSS note 944029 will give you SAP restrictions on name space.
    Regards
    Nagaraju

Maybe you are looking for

  • Experiencing a series of display problems.

    Okay, I've got a slight problem. I'm hoping someone can help me. The other day, a glass of Pinot Grigio spilled onto my keyboard. Also ahem some small shards of glass. It's all cleaned up now. A minor, stupid mishap. But I turned my Mac off after thi

  • How to set field alignment in a table in jdev 11.1.2.3?

    hi, How to set field alignment in a table in jdev 11.1.2.3? eg: to diplay a number field in a table as right aligned. I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00 and jspx as flowing, but it doesnot work. Thanks. b

  • How to copy contents of folder into new folder with Automator?

    What is the simplest, fastest Automator workflow to copy the contents of a folder into a new folder? And without using 3rd party actions. I have a template folder structure called .ProjectFolder (to keep it invisible) so I need to copy the contents o

  • About Material Cost Estimatite Valuation Strategy

    Material PPC001 have three purchase info record, it's price is 4.27/CNY,3.68/CNYand 2.56/CNY. Price 4.27/CNY and 2.56/CNY have invalid. Material of moving average price is 3.14/CNY. When I create the material cost estimate,in the material valuation,

  • Getting counts from detail tables

    I have multiple record bock that displaye a list of cell ids and their attributes; each record also displays record counts of its 3 detail tables. Originally, the POST-QUERY trigger select the counts (3 detail tables) as part of the data block for ea