Problem Creating an ABAP Proxy based on a WSDL which uses extensions.

Hi all,
I'm trying to create an Asset in Salesforce using ABAP.
I can generate the ABAP Proxy OK, (from the SalesForce Enterprise WSDL I created)  but the Asset definition does not exist.
I think my issue stems from the fact that the SalesForce WSDL uses extension elements for the definition of Asset.
I found the following notes on the extension element
516072 - XI Proxy Generation (not really for abap)
1386239 - Extention of complex type containing xsd:any (this is close but we are on  SAP BASIS Release 70 701 not 702
Threads which talks about extension element not supported.
Proxy generation terminated: WSDL error ( EXTENSION not supported)
WSDL Error: Element 'extension' not
Threads  which talks about how to modify the WSDL
Creating ABAP proxy from WSDL fails when <extension> present
Creating ABAP proxy from WSDL fails when <extension> present (but this is using xmlspy which I don't have and the instructions aren't clear to me)
What I'm really looking for is
1) Any Notes which I could apply in a basis 701 environment to enable creating abap proxies from wsdl with extension elements
2) Any tips on how to modify my WSDL to remove the extension elements yet still offer the same functionality (i.e. I need to use the create function with a sobject of Asset (which is currently defined via an extension.
3) Anyone who has integrated with SalesForce to create SalesForce objects (Accounts, Assets, etc) either tips on how to modify the WSDL or sample ABAP code as to how you got around the missing extension elements.
Regards,
John

Hi John,
couldn´t you post a section from your wsdl file which includes the type definition with an extension?
I think you could remove the extension an copy all elements from the type definition which is extended into the new type definition. 
Here an example that you get the idea:
<xsd:complexType name="PERSON">
        <xsd:sequence>
           <xsd:element name="firstName" type="xsd:string"></xsd:element>
           <xsd:element name="lastName" type="xsd:string"></xsd:element>
           <xsd:element name="ageInYears" type="xsd:int"></xsd:element>
           <xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
           <xsd:element name="heightInInches" type="xsd:float"></xsd:element>
        </xsd:sequence>
     </xsd:complexType>
     <xsd:complexType name="femalePerson">
        <xsd:complexContent>
           <xsd:extension base="typens:PERSON" >
           <xsd:element name="favoriteLipstick" type="xsd:string"></xsd:element>
           </xsd:extension>
        </xsd:complexContent>
     </xsd:complexType>
is going to be ->
<xsd:complexType name="PERSON">
        <xsd:sequence>
           <xsd:element name="firstName" type="xsd:string"></xsd:element>
           <xsd:element name="lastName" type="xsd:string"></xsd:element>
           <xsd:element name="ageInYears" type="xsd:int"></xsd:element>
           <xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
           <xsd:element name="heightInInches" type="xsd:float"></xsd:element>
        </xsd:sequence>
     </xsd:complexType>
     <xsd:complexType name="femalePerson">
           <xsd:element name="firstName" type="xsd:string"></xsd:element>
           <xsd:element name="lastName" type="xsd:string"></xsd:element>
           <xsd:element name="ageInYears" type="xsd:int"></xsd:element>
           <xsd:element name="weightInLbs" type="xsd:float"></xsd:element>
           <xsd:element name="heightInInches" type="xsd:float"></xsd:element>
           <xsd:element name="favoriteLipstick" type="xsd:string"></xsd:element>
     </xsd:complexType>
Save your changes to a local file and use this to generate your proxy.
Bye Richard

Similar Messages

  • Problem receiving acknowledgement: abap proxy == file adapter

    Hi experts,
    I am developing an asynchrone interface using PI 7.0. The scenario is: SAP ==> FILE.
    In SAP I have created an abap proxy in wich I requested an acknowledgement when calling from the abap code. In PI I have created an Integration Process with a receive step, and a send step. In de send step I am asking for a transport acknowledgement.
    When I test the interface and I look in the SXMB_MONI in PI, I see the acknowledgement given back to the IP, but in the SAP backend system I don't receive anything in the abap proxy which had send the original message. In de SXMB_MONI from SAP I see a "?" Still awaiting  acknowledgement.
    Can anyone help me with this scenario? I really need an acknowledgement from the file adapter in the calling abap proxy.
    Regards, Jeroen

    You need to crate a REceiver Agreement for this sender...
    The Integration Server sends an acknowledgment message back to the sender (CENTRAL_BACK). It uses the name of the sender system for logical and technical backward routing.
    If the sender is addressed using an ABAP proxy, you must define a corresponding receiver agreement for this sender.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
    -SM

  • Problem with sender ABAP proxy

    Hi All,
       I have created sender ABAP proxy (Async). I am testing the proxy from SPROXY transaction it selft .. when i provide the data and execute the proxy it is showing <b>"Services Processed Without Error"</b> , but i am not getting any error , i am not able to see any message in SXMB_MONI or RWB .. how to check where the message is failing ??

    Hi,
    You said you are sending message from proxy....its very easy to debug in this case. You can set a breakpoint directly in your proxy caling program. Just check if you are calling commit work after calling proxy.
    Also you can do it using the abap system command '/H' or the code 'BREAK-POINT' for/in the report program triggering the iterface.
    Check out this thread...
    How to Debug proxies
    Hope this will help you.
    Ni;esh

  • How to create a abap proxy in sproxy netweaver 7.01

    sproxy of nw 7.01 is completely different from previous version.For example in prev. versions there is message interface (inbound) (outbound) ...
    but in 7.01 , i cannot find how to create an abap proxy class , there is only display proxy in context menu in all segments.(like service interface)
    how can i create proxy ?
    thanks a lot

    In help sap.con says that
    Expand the Service Interfaces node.
    Select the outbound service interface.
    Open the context menu and choose Create.
    but there is no outbound service interface under service interface node
    what can i do?
    thanks a lot..

  • Error no. SPRX084 when create a ABAP proxy class

    Hy Guys,
    I create a Web Services on Axis and Tomcat machine, it's in document/literal Style format.
    When I try to import WSDL to create an ABAP proxy class, Proxy class generator, returm me an error number SPRX084 having said me that the message, in part TAG on element Attribute, uses a wrong or inexistent element.
    I've the same case from "http://www.thomas-bayer.com/axis2/services/BLZService?wsdl".
    There's a solution?
    Best Regards,
    Antonello

    i tried with this wsdl (http://www.thomas-bayer.com/axis2/services/BLZService?wsdl) and dont get the error you are mentioning.

  • Create an AP Invoice based on a Purchase Order using SDK

    Hi,
    What are the steps to create an AP Invoice based on a Purchase Order using DI API?
    Which methods of which objects to use and what parameters to pass?
    Thanks.

    Hi Rajesh,
    Here is a sample to create an Invoice based on a Sales Order. The same way you can change as per your requirement:
    SAPbobsCOM.Documents oInvoice = default(SAPbobsCOM.Documents);
                oInvoice = (SAPbobsCOM.Documents)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices);
                oInvoice.CardCode = "C000003";
                oInvoice.DocDueDate = DateAndTime.Now;
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
               oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
               oInvoice.Lines.BaseLine = 1;
                oInvoice.Lines.Quantity = 3;
                oInvoice.Lines.Add();
                oInvoice.Lines.BaseType = Convert.ToInt32(SAPbobsCOM.BoObjectTypes.oOrders);
                oInvoice.Lines.BaseEntry = Convert.ToInt32(3616);
                oInvoice.Lines.BaseLine = 2;
                int kth = 0;
                kth = oInvoice.Add();
                if (kth != 0)
                    int irrcode;
                    string errmsg;
                    SBO_Company.GetLastError(out irrcode, out errmsg);
                    Program.oMainSAPDI.ShowMessage(errmsg, BoStatusBarMessageType.smt_Error);
    The main thing to remember is Base Type, Based Entry and Base Line.
    Hope it helps.
    Thanks & Regards
    Ankit Chauhan

  • How to create Web Service Proxy with help of WSDL.

    Hi ,
    How to create Web Service Proxy with help of WSDL .
    Please help me .
    Thanks in advacne for reply .

    check out this article. It has all the details
    http://www.oracle.com/technology/products/jdev/howtos/1013/wsadf/adfcomplexwstypes.html

  • Problem Mapping to ABAP Proxy

    Hello,
    I Have a very strange error.
    So i send a Message from Java Proxy ->to-> ABAP Proxy.
    The Mapping is a XSLT Mapping.
    The Mapping everthings fine but the ABAP Proxy get and error like:
    Error during XML => ABAP conversion (; error ID: ; ( ))
    ....CREATE_TRANSACTIONS(1)IT_TRANSACTION(1)item(1)OPERATORQUAL(9) Error Text: Data loss occurred when converting 9134408  Kernel ErrorId: CONVT_DATA_LOSS))
    Ok the error is normally not so strange, but in my XML Message the tag OPERATORQUAL is empty. The 9134408 ist the last filled tag for the OPERATORQUAL.
    Why the ABAP Proxy think there is something in ?
    I checked the XML and there is nothing.
    But when the proxy think there is something like 9134408 that the error is normal, because the field has only except only 1 Char Values.
    Any Idea whats going wrong?
    Regards,
    Robin

    Hi Udo whats up ? ,
    Mappings all works fine.
    Problem was that blanks was there in the XML Tag that you can't see in the XML view.
    This blanks came already from Database.
    Know i kill all blanks in XSLT Mapping and it Works !
    see you soon and regard from zagreb,
    Robin

  • Problem with Synchronous abap proxy time out

    Hi there.
    I have the following scenario:
                      sync                   sync
    3rd party <-->  PI    <--
    >  ERP
                       http                    abap proxy
    In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
    The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
    Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and  the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
    Kind Regards,
    Roberto.

    Hi Roberto.
    There are a lot of time out configures in PI .
    Follow the link that explain about this:
    How to Investigate Timeouts In Synchronous XI PI Scenarios
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
    I hope to help you.
    If you still keep this problem, you can ask me more about it.
    Regards..
    Bruno.

  • Problem is triggering ABAP proxy

    Hi All,
            My scenario is to create a sales order in R/3 system using ABAP proxy and to get the Sales Order number as the response from the synchornous BAPI.
    While triggering the proxy, I'm gettin the error as follows,
    Please help me out in clearing this issue.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area<b>="ABAP">SERIALIZE_APPLICATION_DATA</b></SAP:Code>
      <SAP:P1>Response Message</SAP:P1>
      <SAP:P2>CX_XSLT_RUNTIME_ERROR</SAP:P2>
      <SAP:P3>: 0000000000</SAP:P3>
      <SAP:P4>Error Text: No valid XSLT program supplied Kernel ErrorId: CX_XSLT_RUNTIME_ERROR</SAP:P4>
      <SAP:AdditionalText>Error when handling Response Message; XSLT error: CX_XSLT_RUNTIME_ERROR: XSLT program and source line: : 0000000000; Error Text: No valid XSLT program supplied Kernel ErrorId: CX_XSLT_RUNTIME_ERROR</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,
    Dhana

    Hi
    Go thru SAP Note:<b>546048</b>
    It says that application data is incorrect tht's why can't post the message.
    So plz chk ur ABAP Server Proxy code.
    Regards
    Arpit Seth

  • Problem  with Inbound Abap Proxy

    Hi Experts,
    I have an Inbound ABAP proxy scenario that insert data into a ztable. The whole process from XI to R/3 works fine, except it does not update my ztable.
    The only time the ztable gets updated is when i debug it. I used this report "SPRX_TEST_INBOUND" to debug
    Anyone who's had a similar problem.
    Thank you in Advance,
    Danny

    Hi,
    did you use the same XML from SXMB_MONI that gets posted during message flow?
    you can check inside your inbound proxy if the values are not empty etc
    and then raise an exception to see what's going on
    you can also do an endless loop and get inside it to see the real values
    that get passed into the proxy
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • ABAP proxy based on XSD with specific requirement for NAMESPACE

    Hi
    I'm using PI 7.11
    My scenario is an ABAP proxy from SAP backend to filereceiver. NO mapping.
    The SI is based on an XSD from our customer, which have a targetnamespace, so a namespace requirement of six chars namely "SBSFL1:nnn".
    When sending the message from our SAP backend - SAP ALWAYS ignore this targetnamespace SBSFL1 and replaces it with nr1:nnn. Why? When taken the same XSD into xmlspy and generating sample XML et works great all nodes/fields have a prefix of SBSFL1 ....
    Why is PI 7.11 ignoring this targetnamespace requirement. I was hoping this was possible to archive WITHOUT any XSLT mapping or other "tricks" in the MAPPING runtime (i want to avoid any mapping because of performance)
    Hope for som help, since this is a major issue
    Cheers and thx in advance

    > Why is PI 7.11 ignoring this targetnamespace requirement.
    Because there is no standard having a specific namespace prefix.
    It does not make any difference which namespace prefix is used.
    Unfortunatly some developers don't about the XML standards and expect a specific namespace prefix, like PIDX.
    Blame them
    Regards
    Stefan

  • Problem creating new ABAP Technical System in SLD

    I newly installed a ECC 5 IDES system (ABAP + JAVA) on my computer for ABAP and Webdynpro learning.
    I got problem when I try to create new ABAP Technical System in SLD.
    I put my steps of installation here so you know my full story.
    1. Install Central Instance (Non-unicode);
    2. Install Database Instance (Non-unicode);
    3. Install Java add-in on ABAP;
    4. Configure the HTTP connection parameters in J2EE Engine Visual Administrator
    All of the above steps are successful.
    Now my Webdynpro application need to access a Function Module, so I want to create a JCo connection in Webdynpro Content Administrator, but both application server and message server are not available, so I can't create any connection.
    I go back to SLD to register ABAP Technical System step by step below:
    1.      Choose Home ® Technical Systems.
    2.      Choose New Technical System.
    3.      Select the AS ABAP radio button.
    4.      Choose Next.
    5.      Enter system details (Installation number, host name).
    6.      Choose Next.
    7.      Enter message server and central application server details.
    8.      Choose Next.
    9.      Choose Next.
    10.    Add New Client 800, leave logical name blank, click Add.
    11.    Choose Next.
    12.    Here the system says 'No product available', the whole effort make no sense.
    I tried every possible settings, but at step 12 it keeps telling me 'No product available'.
    This is the problem I want to fix.
    Can anyone help me?
    Thanks a lot in advance.

    hi,
    use th following thread,
    No products installed while adding a Technical ABAP System in the SLD.
    Regards
    Jayapriya

  • Problems creating a client proxy for a WS

    I've tried creating a client proxy from a wsdl but I've had no luck getting it to work.
    First of all I created the client proxy in se80 with instructions from a teched lecture. The proxy seems to be generated as intended. When I create the default logical port for the proxy in lpconfig, it doesn't get any URL at all by default in the Call Parameters tab. Atleast in the teched demo the logical port got the default URL straight away.
    Therefore I opened the wsdl file with notepad and put the address that was specified in the soap:address element as the location attribute. After saving and activating both the logical port and the client proxy I tried testing the proxy. All the methods give the same following error message:
    Sap Fault Code 1:
    Found 0 operation definitions using keys...
    The WS works fine from the WS Navigator test page though. If I change the logical port URL I get an "Unsupported xstream found" error message. Thus I assume the URL that I took from the wsdl should be correct. Can I assume the wsdl is somehow broken? As I look closer at the wsdl, it seems to consist of several wsdl's that are imported to the main wsdl.

    Hi Evan,
    I don't think the wsdl is broken. I assume your webservice is deployed on WAS. Typically the SAP wsdl consist of 3 files, main wsdl file and 2 other files for binding and porttypes.
    When all three files are appropriately available then only the proxy gets generated.
    Since in your case the proxy is generated and you could activate it, means there is no problem in the wsdl.
    Are there any further details in your error?
    Does your service methods require any input and you are providing the input appropriately?
    Regards,
    Vandana.

  • ABAP proxy client sending to XI   by using the WEB Service

    Hi
    I have scenario where ABAP Proxy need to send the data by calling a web service middleware as SAP XI/PI,
    Can anyone please provide the details of the scenarion that ABAP Proxy calls the webservice to send the data and receive it back the response, (Synchronous communication)
    Thanks
    PR

    Hi PR
    My understanding of your requirement is like
    Proxy <-> XI <-> SOAP.
    Steps.
    1. Create Client proxy to send data to XI
    2. Import the WSDL provided by receiver system in XI
    3. Do IR steps
    4. ID - SA is not required
    5. Configure Receiver SOAP adapter using the URL and Soap Action from the WSDL you received.
    Thanks
    Gaurav

Maybe you are looking for

  • Free goods but want to freight cost updation upon GR

    Hi, Scenario: I have a PO with 20 line items and header freight cost. There are few more items in PO which are ticked as free goods. There is a stock of those materials with certain MAP. Freight condition has been configured as vendor GR so that it g

  • How can i find out if my mac has been accessed

    I suspect someone may secretly have tried to hack my mac, used it, and shut it back down - any way to tell when it was last used?

  • Mail deletes body content of mail

    I forwarded several messages to my MAC address from another computer. All content is visible in the MAC INBOX. After moving to a newly created mailbox, the email and the size of the email is displayed however the body content of the emails are no lon

  • HTC PDA deployment problem using Mobile Module

    Hi all, I am trying to connect my HTC PDA Kaiser (TyTN II) to a customized device using the miniUSB port. This PDA runs Windows Mobile 6, I am using Labview 8.6 (and I am using the Mobile Module - former PDA module) on Windows Vista. However, I am ha

  • Reposting Profit centre line items

    Dear All, Can someone please clarify if there is an option to repost the line items which were posted to wrong profit centre? We had posted some entries to wrong profit centre and we want to repost it to the correct profit centres. Please clarify if