<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Proxy Generation Error: SOAP:14 Unexpected element in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065083#M1176849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to create a connection in SM59 Type H. After this you need to put the RFC in HTTP Destination. See the example below ( the source code):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT my_proxy&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;logical_port_name = 'LP01'.&lt;/P&gt;&lt;P&gt;CATCH cx_ai_system_fault.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;input-airline_id = p_carrid.&lt;/P&gt;&lt;P&gt;input-connection_id = p_connid.&lt;/P&gt;&lt;P&gt;input-flight_date = p_fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD my_proxy-&amp;gt;flight_get_detail&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;input = input&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;output = output.&lt;/P&gt;&lt;P&gt;CATCH cx_ai_system_fault.&lt;/P&gt;&lt;P&gt;CATCH cx_ai_application_fault.&lt;/P&gt;&lt;P&gt;ENTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Feb 2009 11:09:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-06T11:09:35Z</dc:date>
    <item>
      <title>Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065082#M1176848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a local WSDL file , i create a Proxy object in ABAP, using a Local WSDL file. When i call the method SendEmailResponse from an ABAP Report i get the  error &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SOAP:14 Unexpected element -el=SendEmailResponse ns=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess there is ERROR in my Logical Port Connection, since i am using a Locally Downloaded WSDL file... only setting i have done is with CALL PARAMETERS as &lt;/P&gt;&lt;P&gt;Runtime - Web Service Infra&lt;/P&gt;&lt;P&gt;URL - &lt;A href="http://www.abysal.com/soap/soapmail.wdtp" target="test_blank"&gt;http://www.abysal.com/soap/soapmail.wdtp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The WSDL file read like...............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;service name="SendEmailService"&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;documentation xmlns="http://schemas.xmlsoap.org/wsdl/"&amp;gt;&lt;/P&gt;&lt;P&gt;            Abysal Systems Web Service demonstration example&lt;/P&gt;&lt;P&gt;        &amp;lt;/documentation&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;port binding="tns:SendEmailBinding" name="SendEmailPort"&amp;gt;&lt;/P&gt;&lt;P&gt;            &amp;lt;soap:address location="http://www.abysal.com/soap/soapmail.wdtp"/&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/port&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/service&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont understand whats going wrong. WSDL is correct &amp;amp; webservice call works when using Java WebDynpro. Any pointers would be help full&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 20:26:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065082#M1176848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T20:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065083#M1176849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to create a connection in SM59 Type H. After this you need to put the RFC in HTTP Destination. See the example below ( the source code):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE OBJECT my_proxy&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;logical_port_name = 'LP01'.&lt;/P&gt;&lt;P&gt;CATCH cx_ai_system_fault.&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;input-airline_id = p_carrid.&lt;/P&gt;&lt;P&gt;input-connection_id = p_connid.&lt;/P&gt;&lt;P&gt;input-flight_date = p_fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD my_proxy-&amp;gt;flight_get_detail&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;input = input&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;output = output.&lt;/P&gt;&lt;P&gt;CATCH cx_ai_system_fault.&lt;/P&gt;&lt;P&gt;CATCH cx_ai_application_fault.&lt;/P&gt;&lt;P&gt;ENTRY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 11:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065083#M1176849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T11:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065084#M1176850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check if you are following the below steps to consume the webservice in Proxy generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a Proxy Object in SE80 using the WSDL path...This will create the Proxy class and the methods based on the WSDL..&lt;/P&gt;&lt;P&gt;2) Save and Activate the Proxy.&lt;/P&gt;&lt;P&gt;3) Go to LPCONFIG transaction and the create a default port for the proxy object...(You might not be having access then in debugging change the access and create a default port)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you call the proxy in the program..Hope this solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 11:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065084#M1176850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T11:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065085#M1176851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1182392"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;check with this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;N.Neelima.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 12:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065085#M1176851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T12:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065086#M1176852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcelo Almeida ,&lt;/P&gt;&lt;P&gt;i Created a RFC destination in SM59 of type H  as  RFC_DEST_1 &amp;amp; used your coding now the error i recoeve is  &lt;STRONG&gt;SOAP:14 Unexpected element -el=root ns=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;while creating the Logical port, i specified  HTTP destination as my  RFC_DEST_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path Prefix is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entire WSDL that i use is downloadable from &lt;A href="http://www.abysal.com/soap/AbysalEmail.wsdl" target="test_blank"&gt;http://www.abysal.com/soap/AbysalEmail.wsdl&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea why error??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 13:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065086#M1176852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T13:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065087#M1176853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you test the connection in SM59?? Is OK??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 16:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065087#M1176853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T16:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065088#M1176854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the connection is OK, Try to get the WSDl again and use this code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: my_proxy TYPE REF TO zproxyco_send_email_port_type .&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;    CREATE OBJECT my_proxy&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    logical_port_name  = 'MY_PROXY'&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;  CATCH cx_ai_system_fault .&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;P&gt;DATA: output TYPE zproxysend_email_response .&lt;/P&gt;&lt;P&gt;DATA: input TYPE zproxysend_email_input .&lt;/P&gt;&lt;P&gt;TRY.&lt;/P&gt;&lt;P&gt;    CALL METHOD my_proxy-&amp;gt;send_email&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        input  = input&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        output = output.&lt;/P&gt;&lt;P&gt;  CATCH cx_ai_system_fault .&lt;/P&gt;&lt;P&gt;  CATCH cx_ai_application_fault .&lt;/P&gt;&lt;P&gt;ENDTRY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 16:38:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065088#M1176854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T16:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065089#M1176855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it still does not work &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i still get error SOAP:14 Unexpected element -el=root ns=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: sys_exception type ref to cx_ai_system_fault,
      sys_exception2 type ref to cx_ai_application_fault,
      client_proxy type ref to zco_myesa,
      lv_ret_code type int4,
      lv_input type zsend_email_input,
      lv_response type zsend_email_response.
data: lv_from type string,
      lv_from_address type string,
      lv_to type string,
      lv_to_address type string,
      lv_subject type string,
      lv_msg type string.




lv_input-from = 'MYSAPTEST'.
lv_input-from_address = 'DUMMYMAILADDRESS HERE'.
lv_input-to = 'Prashant'.
lv_input-to_address = 'MAILADDRESS APPEARS HERE'.
lv_input-subject = ' TEST'.
lv_input-msg_body = ' Hi this is wonderfull to see it work'.


 try.
 create object client_proxy
 exporting
 logical_port_name = 'BASIC'.

 call method client_proxy-&amp;gt;send_email
   exporting
     input  = lv_input
   importing
     output = lv_response    .
  catch cx_ai_system_fault  into sys_exception .
    data lv_err type string.
     lv_err = sys_exception-&amp;gt;if_message~get_text( ).
     write: / lv_err.

  catch cx_ai_application_fault into sys_exception2  .
     lv_err = sys_exception-&amp;gt;if_message~get_text( ).
     write: / lv_err.

 endtry.

 if lv_response is initial.
   write: /'Not Executed'.
 else.
   write: /'Did Execute'.
 endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 10:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065089#M1176855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T10:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy Generation Error: SOAP:14 Unexpected element</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065090#M1176856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Closed due to further posting requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 11:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/proxy-generation-error-soap-14-unexpected-element/m-p/5065090#M1176856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-17T11:33:27Z</dc:date>
    </item>
  </channel>
</rss>

