cancel
Showing results for 
Search instead for 
Did you mean: 

Error while accessing web service through logical port

Former Member
0 Kudos

Hi All,

We are trying to consume SOAP Service from an external source and expose it via odata service (SAP Gateway service).

I followed http://scn.sap.com/docs/DOC-49811#comment-559114 wich was very helpful.

But I am stuck with the logical port creation. After creating the logical port I am getting an error while trying to access the web service.

Following are the exact steps I following. I used http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL for testing purpose

Please help.

STEP 1: SE80->Package->$TMP->EnterpriseServices->contesxt menu->create

STEP 2: Enterprise services create dialog box

  • Object type                : service consumer
  • Generation source    : External wsdl/schema
  • wsdl/schema source : URL
  • URL                           : http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL
  • Port type                    : WeatherSoap
  • Transport                   : Local object,

         Prefix                           : ZMB_

STEP 3: Start SOA Manager

  • Configuration tab ->create->manual configuration
  • Tab1- Logical Port name
    • Logical port name : LP_MANUAL
    • Description            : Manually configured logical port for consuming WSDL
  • Tab2-Consumer Security
    • Did not change anything under this tab.

  • Tab3-HTTP Settings
    • Just added values of URL Access Path & Computer Name of Access URL field.

  • Tab4-SOAP Protocol
    • Did not change anything in this field.

  • Tab5-Identifiable Business Content
    • Checked the suppress sending of IBC identifier check box.

I am not sure what did I miss. Please help.

Thanks in advance

Regards,

Jhansi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jhansi,

I can give you hints, at least.

1. Possibly your Consumer Proxy works correctly and the Wheather API service provider just blocks pings. See note the note at http://solveissue.com/note?id=1947516. Did you test a service method call from SE80 already, using F8 on your Service Consumer object, then selecting your Consumer Proxy created in SOAMANAGER and one of the Webservice Methods? If that works, everything is fine.

2. If that does not work, I suggest that you create another Consumer Proxy in SOAMANAGER, this time not manually, but WSDL-based, using the URL from STEP 2 in your post. You can try to have SOAMANAGER download the WSDL file from that URL, or you could also download the WSDL from that URL manually and specify the path to the downloaded file in SOAMANAGER.

Best regards, hope it helps,

Ringo

Former Member
0 Kudos

Hi Ringo,

Thanks for the inputs.
I tried your suggestions already. Unfortunately in both the cases I am getting the same
"Method Not Allowed" error. Are there any pre-requisites that I should check?

Regards,
Jhansi.

Former Member
0 Kudos

Hi Jhansi,

you could try with another Demo Web Service.

I wanted to check whether the service works as expected when trying it with a client independent from the SAP system, such as SOAP UI (you don't need the Pro version, just the "normal" one without license):

http://www.soapui.org/

You create a new project and as Initial WSDL/WADL you enter the WSDL URL that you mentioned in your original post. Normally that works and you can send requests and see responses with all headers and details. However, the WSDL that you mentioned produces the error message: "Error loading http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL: XmlException: Unexpected element: TAG_END.

Former Member
0 Kudos

Hi Ringo,

Thank you for pointing the problem .

I was able to access the below web service through logical port successfully.

http://www.webservicex.com/globalweather.asmx?wsdl

Regards,

Jhansi.

Former Member
0 Kudos

My pleasure - it´s good to know that the final problem was just in the demo webservice.

0 Kudos

Hi Jhansi,

       Can u Please post the process (steps) how to configure this Services (http://www.webservicex.com/globalweather.asmx?wsdl) in soamanager (Detail of Consumer proxy)

Please help me as soon as possiable

Thanks & Regards

chitti babu

Answers (0)