on 11-18-2014 10:06 AM
Hi Experts,
I am unable to upload WSDL file(attached) into the External Definitions of NWDS(Enterprise Service Repository Prespective). Can you please help me with the steps how it can be done ?
Though, I have been able to upload the same file successfully into the Swing Client(ESR) of PI.
WSDL file format:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.webserviceX.NET" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
<s:element name="GetWeather">
<s:complexType>
<s:sequence>
............................................
</wsdl:service>
</wsdl:definitions>
PS:Please remove the .txt extension of the attached file.
Thanks,
Sudhansu
Hi Sudhansukumar,
I think the problem is the two different SOAP namespaces. Try to set xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap" instead of xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
AFAIK, the final payload is not changed with this change.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iñaki,
Thanks for your suggestion!
This is the original WSDL from the provider. Is there a way to use the WSDL file without tweaking it as it gets uploaded successfully using the Swing Client. Also i have been able to do a test to the end point using the SOAP UI client successfully.
As per you suggestion i have made changes in the WSDL and following is the issue i receive during the upload of the WSDL file.
I am using the following way to upload the WSDL file from my local system (desktop).
Importing Data Types - Creating Design Objects using SAP NetWeaver Developer Studio - SAP Library
Thanks,
Sudhansu
Hi Suman,
Suman Saha wrote:
Change the highlighted area to soap:address location
Suman
I have tried changing as you have suggested, NWDS gives the same error while uploading.
Kindly note:
Both soap and soap12 are valid. Please find the Soap Header information and i have highlighted both the xmlns.
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.webserviceX.NET" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
Thanks,
Sudhansu
After making slight modificationi was able to upload the WSDL using NWDS.
Please find the attached updated wsdl.
Importing Data Types - Creating Design Objects using SAP NetWeaver Developer Studio - SAP Library
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.