cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while consuming external webservice

Former Member
0 Kudos

Hi,

I tried consuming webservice through se80->Enterprise Service->Service consumer.

For SAP webservices i am able to consume it. It is creating proper proxies.

But I tries it using with external WSDL url. It is saying error as

'Incorrect value: Unknown namespace http://www.w3.org/2001/XMLSchema'

Please help

Regards,

Dhana

Accepted Solutions (1)

Accepted Solutions (1)

MarkusPeter
Explorer
0 Kudos

Hi Dhana and Martin,

when looking at the "Weather Service" WSDL speficialy, I guess the issue lies with the "HtttpGet" and "HttpPut" services defined at the end of the WSDL, and with the corresponding binding, port and portType definitions. The "http" bindings aren't really SOAP.

Since you don't need these services/bindings to call the weather service from an ABAP system, simply remove them from the WSDL and generate the ABAP client proxy based on the modified WSDL.

At least, this worked on my ABAP 7.01SR3 trial system.

Hth,

Markus

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Have you checked http proxy settings of your system or company network to perform http calls on internet as webservice you accessing is external.

Thanks,

Murthy.

Former Member
0 Kudos

can u pls send the first few lines of the WSDL? need to see the namespace tag.

Former Member
0 Kudos

Hi,

I have given this URL 'http://ws.cdyne.com/WeatherWS/Weather.asmx?WSDL'.

Now it is showing the following error

Exception occured in library handler.Not implemented.

Exception of class CX_SIDL_INTERNAL_ERROR

Please have a look into it

Regards,

Dhana

Former Member
0 Kudos

I used the WSDL you provided for creating a client proxy, and that worked without any problem !

I'm on an ERP 6.0...

When you say you try to do "Enterprise Service -> Service Consumer", I assume it is a client proxy you try to create ... or do you try something else ?

SureshR
Associate
Associate
0 Kudos

Hi

I too faced the same issue in a ERP 6.0 system using NW SP15 ( I guess it should have started with SP14). If I run the proxy generation in SP13 or lower, it is fine. It only seem to be an issue in the higher Support Packs.

OSS Notes search did not get any useful fixes. I am checking with SAP dev and would let you know if i get a response.

Regards

Suresh

Former Member
0 Kudos

Have you solved the problem ? I am facing with the same thing ..

Former Member
0 Kudos

i think it is the <wsdl:documentation> tag that is not supported in SAP's WAS ABAP SOAP implementation.

anton

Former Member
0 Kudos

Can you please tell me which version of SAP r u using and what is the patch level .It seems like some part of your WSDL is not compatible with SAP provided version.Either you need to rectify the WSDL manually or raise an OSS to SAP to release some patches to resolve this issue.

Regard

Snehasish

Edited by: Snehasish Das on Nov 17, 2008 3:51 PM

Former Member
0 Kudos

I'm Facing the same problem,anybody who can Help??

Best Regards

Martin Xie