Skip to Content

Error in WSDL parsing: Exception occurred in library handler

Hi,

EDIT: System Information ECC 6.0 EHP4 SP 51 STack 11

first of all, sorry in advance in case this issue doesn't belong in this subforum; but this forum was the closest sounding one I found concerning my problem.

I'm trying to create a logical port in Transaction SOAMANAGER by means of a WSDL. However, the following error is thrown:

Error in WSDL parsing: Exception occurred in library handler

There's no further explanation from the system, no long text, nothing. Debugging didn't help either.

I've searched through SCN, google in general, SAPxSearch and SapNote Library. I found many open threads describing the same problem but not a single solution for this.... I tried consuming this Webservice outside of SAP via the Program SoapUI (in case anybody knows this...) and it works perfectly fine. The problem resides in SAP, not with the Service/WSDL.

Can anybody help here? This is direly frustrating...

EDIT: after debugging into about 50 billion levels in the callstack, I found the root cause of this misery. Maybe somebody with more expertise in WSDL/Webservices/SOAP than me (shouldn't be hard 😭) can explain WHY this is going wrong or why this error is "genuine"...:

CL_SLIB_GENERIC_URI===========CP / CL_SLIB_GENERIC_URI===========CM001

METHOD / CONSTRUCTOR

...* base uri
   if me->is_relative_uri_ref( ) eq abap_true and m_base_obj is initial.
     m_err_msg = 'Relative URI &1 erfordert Angabe einer absoluten Base-URI'(e01).
     l_uri = me->compose_components( ).
     replace first occurrence of '&1' in m_err_msg with l_uri.
     raise exception type cx_slib_generic_uri
           exporting textid  = cx_slib_generic_uri=>base_uri_error
                     message = m_err_msg.
   endif....


That's the target namespace from my WSDL:

<s0:definitions targetNamespace="de.bahn.mep.bahndirekt.publicservices.b2bretrieval" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="java:de.bahn.mep.bahndirekt.auftrag.b2bretrieval" xmlns:s2="de.bahn.mep.bahndirekt.publicservices.b2bretrieval" xmlns:s3="http://schemas.xmlsoap.org/wsdl/soap/">

Cheers, Lukas

Message was edited by: Lukas Weigelt

Message was edited by: Lukas Weigelt

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Sep 12, 2012 at 10:06 AM

    bump...

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 05, 2012 at 04:35 PM

    Hi Lucas,

    I think the Service-Oriented Architecture (SOA) and SAP forum is the best location for this query. I have moved the thread to this forum and hopefully you will get a better response here.

    Regards

    Moderator

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 28, 2013 at 07:33 PM

    Lukas,

    Refer to the "Error handling in proxy generation" section of the following link:

    http://wiki.scn.sap.com/wiki/display/Java/Consume+SOAP+WebService+by+SAP+and+add+custom+Header

    Depending on your WSDL type, you may need to make an entry in table SPROXSET via SM30.

    Regards,

    Chad

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Lukas,

      I am also facing the same issue. Could you please update the steps which you have followed to resolve this?

      Thanks and Regards,

      Peet.