Skip to Content
avatar image
Former Member

ABAP proxy Creation error

Hi All,

I'm trying to create a synchronous ABAP proxy out of my outbound interface. When I do that I get an error saying that

<b>Cannot generate proxy (object <attributename="type"> missing in WSDL, see long text)</b>

Now when I remove the reponse message from the interface and make it asynchronous, I'm able to create it without any trouble. So the trouble lies in the reponse message which is a XSD file imported as an external definition. Request message is also an external definition.

The reponse WSDL is as follows:

<?xml version="1.0" encoding="ISO-8859-1"?>

http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:ebay:api:PayPalAPI">

<wsdl:types>

http://www.w3.org/2001/XMLSchema" xmlns="urn:ebay:api:PayPalAPI" targetNamespace="urn:ebay:api:PayPalAPI" elementFormDefault="qualified">

http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="DoDirectResponse.xsd" />

http://schemas.xmlsoap.org/ws/2002/12/secext" schemaLocation="wsse.xsd" />

http://www.w3.org/1999/XMLSchema-instance" schemaLocation="xsi.xsd" />

<xsd:import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="ebl.xsd" />

http://www.w3.org/1999/XMLSchema-instance" name="RequesterCredentials">

<xsd:complexType>

<xsd:sequence>

<xsd:element ref="ebl:Credentials" />

</xsd:sequence>

<xsd:attribute ref="xsi:type" use="required" />

</xsd:complexType>

</xsd:element>

http://www.w3.org/1999/XMLSchema-instance" name="DoDirectPaymentResponse">

<xsd:complexType>

<xsd:sequence>

<xsd:element ref="ebl:Timestamp" />

<xsd:element ref="ebl:Ack" />

<xsd:element ref="ebl:Version" />

<xsd:element ref="ebl:Build" />

<xsd:element ref="Amount" />

<xsd:element ref="AVSCode" />

<xsd:element ref="CVV2Code" />

<xsd:element ref="TransactionID" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

http://www.w3.org/1999/XMLSchema-instance" name="Amount">

<xsd:complexType>

<xsd:simpleContent>

<xsd:extension base="xsd:decimal">

<xsd:attribute name="currencyID" type="xsd:NCName" use="required" />

<xsd:attribute ref="xsi:type" use="required" />

</xsd:extension>

</xsd:simpleContent>

</xsd:complexType>

</xsd:element>

http://www.w3.org/1999/XMLSchema-instance" name="AVSCode">

<xsd:complexType>

<xsd:simpleContent>

<xsd:extension base="xsd:NCName">

<xsd:attribute ref="xsi:type" use="required" />

</xsd:extension>

</xsd:simpleContent>

</xsd:complexType>

</xsd:element>

http://www.w3.org/1999/XMLSchema-instance" name="CVV2Code">

<xsd:complexType>

<xsd:simpleContent>

<xsd:extension base="xsd:NCName">

<xsd:attribute ref="xsi:type" use="required" />

</xsd:extension>

</xsd:simpleContent>

</xsd:complexType>

</xsd:element>

http://www.w3.org/1999/XMLSchema-instance" name="TransactionID" type="xsd:NMTOKEN" />

</xsd:schema>

</wsdl:types>

<wsdl:message name="RequesterCredentials">

<wsdl:part xmlns:generateduniqueprefix15="urn:ebay:api:PayPalAPI" name="RequesterCredentials" element="generateduniqueprefix15:RequesterCredentials" />

</wsdl:message>

<wsdl:message name="DoDirectPaymentResponse">

<wsdl:part xmlns:generateduniqueprefix16="urn:ebay:api:PayPalAPI" name="DoDirectPaymentResponse" element="generateduniqueprefix16:DoDirectPaymentResponse" />

</wsdl:message>

<wsdl:message name="Amount">

<wsdl:part xmlns:generateduniqueprefix17="urn:ebay:api:PayPalAPI" name="Amount" element="generateduniqueprefix17:Amount" />

</wsdl:message>

<wsdl:message name="AVSCode">

<wsdl:part xmlns:generateduniqueprefix18="urn:ebay:api:PayPalAPI" name="AVSCode" element="generateduniqueprefix18:AVSCode" />

</wsdl:message>

<wsdl:message name="CVV2Code">

<wsdl:part xmlns:generateduniqueprefix19="urn:ebay:api:PayPalAPI" name="CVV2Code" element="generateduniqueprefix19:CVV2Code" />

</wsdl:message>

<wsdl:message name="TransactionID">

<wsdl:part xmlns:generateduniqueprefix20="urn:ebay:api:PayPalAPI" name="TransactionID" element="generateduniqueprefix20:TransactionID" />

</wsdl:message>

</wsdl:definitions>

I would be really grateful if I could get a resolution as I'm badly stuck because of this issue.

Thanks

Arvind

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 16, 2007 at 02:36 PM

    Prateek,

    Thanks for your pointers. I still don't understand what would be a work around for this problem. If ABAp rpoxy doesn't support name and type then how do we modify the same to create the proxy out of it.

    It would be really great if you could explain me the solution as the thread which you sent me says that it doesn't support but it doesn't tlak about the work around.

    Thanks

    Arvind

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2007 at 04:20 AM

    Hi Arvind,

    Check the following,

    1. The tag <part name="" type=""> is not supported with ABAP Proxies.

    Cannot generate proxy

    2. Check for recursion - Cannot generate ABAP proxy

    3. keep in mind tht ur application system is based on 6.40 or higher versions.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 14, 2007 at 07:18 AM

    HI,

    The created ABAP proxy is supporing the synchronous communication?? Check

    the below links to get an idea..

    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

    /people/vanita.thareja2/blog/2006/05/23/bpm-sending-message-asynchronously-and-getting-the-response-from-synchronous-system-using-abap-proxies

    Regards

    Chilla

    Add comment
    10|10000 characters needed characters exceeded