cancel
Showing results for 
Search instead for 
Did you mean: 

Web service client - consumption problem

Former Member
0 Kudos

Hi,

I`m trying to consume web service but there are troubles at the beginning.

In SE80 i go: "Edit Object" ->"Enterprise Services" -> "Client Proxy" -> "Create" -> "URL/HTTP Destination" and in URL put:

https://test-bramka.edeklaracje.gov.pl/uslugi/dokumenty?wsdl

after this I get error:

HTTP error (return code 110, message "")

detailed: Message no. SPRX090

How to manage with these difficulties?

Probably I have to create new entry in SM59 / LPCONFIG but don`t know exactly how with HTTPS connection.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Have you managed to develop the tool to send the eDeklaracje to MF? If yes, please get in touch.

Former Member
0 Kudos

are you try something like importing ssl certificates to cacerts in JDK?

http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=25AA75A4-45A6-2844-7CA3EECD842DB576

i had a same problem but for me worked:

http://loptohopto.wordpress.com/2011/04/26/ako-pridat-ssl-certifikat-do-javy/

Former Member
0 Kudos

Hello,

Thank you for your answer but I think these links are not for me...

Former Member
0 Kudos

Hi Bezanik,

If I can make a suggestion. Open the WSDL (URL) in your internet browser. Save the wsdl file as a .wsdl file locally on your PC. Then try and create a consumer proxy using this local file instead of a URL & then check if it still throws an error.

If it still does, run transaction code SE38 & execute report RSSIDL_DESERIALIZE_DEMO. Use the local WSDL file as input & check what happens. If it complains then you need to start checking what's supported by SAP in terms of WSDL compliance & what's contained in the WSDL you're trying to work with.

Regards, Trevor

Former Member
0 Kudos

Hi,

I managed to create Client Proxy using wsdl and xsd from local files.

While creating new program I used drag&drop this client proxy and selected one method. My output-STATUS is always 0 and received numbers should be between 100 and 400 so I think there is problem with communication to this web service server. I think there should be "LOGICAL_PORT_NAME" uncommented but I don`t know how to create this port having HTTPS address.

Is there any way to check if it is problem with no "LOGICAL_PORT_NAME" or something different?

P.S.

I do not have RSSIDL_DESERIALIZE_DEMO report.

jitendra_it
Active Contributor
0 Kudos

Hi Bezanik,

Please check below thead.

Thanks

jitu188

Former Member
0 Kudos

This thread is about problem during proxy client generation in SE80. I managed to create it with local WSDL but I see that after creating program which is using this proxy it is not connecting with server.

While drag&drop this proxy there is option with logical port. Is it necessary to create it? If so how to do it with address:

" https://test-bramka.edeklaracje.gov.pl/uslugi/dokumenty?wsdl "

?

Former Member
0 Kudos

Hi,

There is additional configuration that needs to be done for "https" type communication. You would definitely need to configure a Logical Port using TCode SOAMANAGER from the client that you generated the consumer proxy and indicate there the type of security required (e.g SSL or X.509 certs. etc.)

You will also need to establish what the provider requirements are in terms of security & certificates.

Once you establish this, there are some guides here on SDN to assist you. This is a starting point:

[http://help.sap.com/saphelp_nw72/helpdata/en/c0/f59f6163bd4164814602b8465d4d40/content.htm]

Regards, Trevor

Former Member
0 Kudos

Should I use WSCONFIG, WSADMIN or LPCONFIG if there is no SOAMANAGER transaction?

Former Member
0 Kudos

Okay, so you're back there still version wise. Use LPCONFIG although I don't know how useful I'll be security wise, it's been a very log time since I worked with LPCONFIG & I can't remember much there...

Regards, Trevor

Former Member
0 Kudos

Before configuring logical port under LPCONFIG I tried to create RFC Destination under SM59 in order to use it in LPCONFIG.

In SM59 I tried:

Connection Type: G

Target Host: https://test-bramka.edeklaracje.gov.pl/uslugi/dokumenty/

Service No.: 443

No Logon

SSL Active - DEFAULT SSL Client

Next I used this RFC destination in LPCONFIG:

Proxy Class: as my webservice proxy client name

default port: yes

Call Parameters:

HTTP Destination: name from previously RFC destination

Under Operations there are all methods defined

...but under SE80 in my program I still get output-STATUS = 0. Correct response should be between 100 and 400. This time I have:

"EXPORTING

LOGICAL_PORT_NAME = 'ZCO_GATE_SERVICE_LPORT_TYPE'

"

enabled

How can I test if RFC connection or logical port under LPCONFIG are defined correctly?