cancel
Showing results for 
Search instead for 
Did you mean: 

Errors by creating new logical Port

Former Member
0 Kudos

Hy experts,

i have a Problem with creating a logical port for an SAP standard Web- service.

We need to use a web- service in our Projekt.

Because this, i try to create a test-system, using webservice.

The real webservice, i have to use, is still under construction. So i use first an standard- service from SAP.

I use an ERP R3 Release 700 sp18 for the consumer, an a CRM Release 701 sp3 as the service provider.

The crm provides a service called calculator_in.

I create a Client Proxi called ZCO_CALCULATOR_IN in ERP. Then i start the Soamanager, picked the service and try to create a logical port.

new service name : zco_calculator_in

name logical port : LP_ZCO_CALCULATOR_IN

Port ist standard

1. Error:

WSDL-Zugriffseinstellungen: via http with an URL

--> SRT Framework Ausnahme. Fehler bei WSDL-Zugriff: Ausnahme in Kommunikationsframework aufgetreten:Fehler in HTTP-Framework:401Unauthorizedhttp://"<<ip-Address>>":8080/sap/bc/srt/wsdl/sdef_CALCULATOR_IN/wsdl11/ws_policy/document?s

The url works, i tried it with my explorer.

2. Error

WSDL-Zugriffseinstellungen: via local file

--> SRT Framework Ausnahme. Uninstanziertes Objekt "subject sidl service" in Methode IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D der Klasse CL_SRT_WSP_CONFIG_SIDL.

Can anyone tell me, what i can do?

Are theire 'Hinweise', that can solve the Problem?

I hope for an fast answer, because this is critical for our projekt.

Regards

Torsten

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Thorsten,

This has come up quite a few times in the forums. It leading cause is that there is something wrong with the WSDL being used. In this case it sounds like it might be missing and endpoint. So the endpoint config in the provider system wasn't done. It seems like the only logical explanation because it's SAP to SAP.

Also check:

[;

Regards, Trevor

Answers (1)

Answers (1)

Former Member
0 Kudos

Hy experts,

know i have another error.

I create a new wsdl-file with the Soamanager in CRM and use this to create the logical port.

Error:

SXML Reader/Writer Exception

Die Abbruchart war: RABAX_STATE

Die ABAP-Aufrufhierarchie war:

Method: IF_SXMLP_FRAGMENT~SET_UNPARSED_FRAGMENT of program CL_SXMLP_FRAGMENT=============CP

Method: DOM_TO_PART of program CL_SXMLP_UTILS================CP

Method: ALTTO_FRAGMENTS of program CL_SIDL_DESERIALIZER==========CP

Method: ALTERNATIVESTO_FRAGMENTS of program CL_SIDL_DESERIALIZER==========CP

Method: DESERIALIZE_CONFIG_DEFINITION of program CL_SIDL_DESERIALIZER==========CP

Method: DESERIALIZE_WSDL11 of program CL_SIDL_DESERIALIZER==========CP

Method: IF_SIDL_DESERIALIZER~DESERIALIZE of program CL_SIDL_DESERIALIZER==========CP

The Dump is:

Error in 'CX_SXMLP'.

'CL_SXMLP_FRAGMENT=============CP'

'CL_SXMLP_FRAGMENT=============CP'

I hope for more help.

Torsten

Former Member
0 Kudos

Hi Torsten,

For a RABAX_STATE error you can find more info using TCode = ST22

A couple of other things you could check:

- Check that the WSDL URL that you are using is correct. Is it the endpoint binding URL from the provider? Also as a quick test, open the URL in a browser & see if the WSDL opens fine.

- Is the URL https? If it is, then check if if your consumer ECC has https communication enabled using TCode SMICM & check services. If https is not configured then ask basis to assist with config.

- Lastly, depending on whether the URL is http or https, your logical port config (in the transport settings tab) must match this.

Regards, Trevor