cancel
Showing results for 
Search instead for 
Did you mean: 

SneakPreview 2004s SP7 CAF External Services - Web Services Problem

Former Member
0 Kudos

I would like to use our web services in our CAF (Composite Application Services) Project. So I selected External Services and in the popup menu selected Import.

After filling WSDL location und clicking on Finish Button. I got following Message:

Cannot load WebService WSDL from URI:

http://..

Invalid wsdl.

WSDL is ok and I have already used it in the Web Dynpro Project SneakPreview SP15. If I copy the show this Link in the Internet Browser, I see the WSDL.

Can anybody help???

Accepted Solutions (1)

Accepted Solutions (1)

jan_rauscher
Advisor
Advisor
0 Kudos

Hi,

Did you check if then NWDS cannot accept in general any WSDLs or is it just with that WSDL? Do you think it's possible to publish the WSDL here?

Perhaps it helps to check the SAP note 844836, it describes CAF's restrictions working with WebServices.

Regards,

Jan

Former Member
0 Kudos

Thanks Jan, for your response.

I still cannot import my WSDL.

I have just tried my example with the same result

<?xml version="1.0" encoding="UTF-8" ?>

<wsdl:definitions

name="T1"

targetNamespace="http://tempuri.org/T1/wsdl/"

xmlns:wsdlns="http://tempuri.org/T1/wsdl/"

xmlns:typens="http://tempuri.org/T1/type/"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:stk="http://schemas.microsoft.com/soap-toolkit/wsdl-extension"

xmlns:dime="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"

xmlns:ref="http://schemas.xmlsoap.org/ws/2002/04/reference/"

xmlns:content="http://schemas.xmlsoap.org/ws/2002/04/content-type/"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns="http://schemas.xmlsoap.org/wsdl/">

<wsdl:types>

<xs:schema

targetNamespace="http://tempuri.org/T1/type/"

xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

elementFormDefault="qualified">

<xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

<xs:import namespace="http://schemas.xmlsoap.org/wsdl/"/>

<xs:import namespace="http://schemas.xmlsoap.org/ws/2002/04/reference/"/>

<xs:import namespace="http://schemas.xmlsoap.org/ws/2002/04/content-type/"/>

</xs:schema>

</wsdl:types>

<wsdl:message name="clsMain.HalloWorld">

</wsdl:message>

<wsdl:message name="clsMain.HalloWorldResponse">

</wsdl:message>

<wsdl:portType name="clsMainSoapPort">

<wsdl:operation name="HalloWorld">

<wsdl:input message="wsdlns:clsMain.HalloWorld"/>

<wsdl:output message="wsdlns:clsMain.HalloWorldResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="clsMainSoapBinding" type="wsdlns:clsMainSoapPort" >

<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="HalloWorld">

<soap:operation soapAction="http://tempuri.org/T1/action/clsMain.HalloWorld"/>

<wsdl:input>

<soap:body

use="Literal"

namespace="http://tempuri.org/T1/message/"/>

</wsdl:input>

<wsdl:output>

<soap:body

use="Literal"

namespace="http://tempuri.org/T1/message/"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="T1" >

<wsdl:port name="clsMainSoapPort" binding="wsdlns:clsMainSoapBinding" >

<soap:address location="http://DOLEZAL/FEST_WEBS/T1.WSDL"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Message was edited by: Ladislav dolezal

Answers (0)