cancel
Showing results for 
Search instead for 
Did you mean: 

Include-instruction inside of a WSDL to a XSD

Former Member
0 Kudos

Hi guys, i have a WebService which i want to use. Here is given an include to get further descriptions to the data etc. It looks like this:

<?xml version="1.0" encoding="ISO-8859-1"?>

<wsdl:definitions xmlns....>

<wsdl:types>

<xsd:schema targetNamespace="http://soap.**/hwa/">

<xsd:include schemaLocation="http://soapwart.**.xsd" /> <<------

</xsd:schema>

</wsdl:types>

<wsdl:message name="get**">

<wsdl:part element="tns:get**" name="body" />

</wsdl:message>

...

Is this possible and how to use in SAP XI?!

br

Accepted Solutions (0)

Answers (2)

Answers (2)

prateek
Active Contributor
0 Kudos

Yes its possible.

Just import both xsd and wsdl in external definition

Regards,

Prateek

Former Member
0 Kudos

Ok I'll try t use this. Next before i begin:

I have user&pw + certificate key for WebService. These data has to be send in WebService-Header. How to do this?! Never done before....

br

prateek
Active Contributor
0 Kudos

In the SOAP communication channel, use "Configure Certificate Authentication". Provide the details there and it will take care of the header information

Regards,

Prateek

Former Member
0 Kudos

Hi well i thought of this but as mentioned i only have a string which seems to represent a "certifcate", its like "abciuf213123" or sth. Therefore i guess using keystore is not appropriate.

So while checking the extern. XSD there is an element called credentials:

<xs:element name="credentials">

<xs:complexType>

<xs:all>

<xs:element name="name" type=" xs:string "/>

<xs:element name="pass" type=" xs:string "/>

<xs:element name="cert" type=" xs:string "/>

<xs:element name="version" type=" xs:int "/>

<xs:element name="lang" type=" xs:language "/>

</xs:all>

</xs:complexType>

</xs:element>

so i guess this has to show up in soap-header while invoking the WebService. How to solve this?!

br - i really appreciate ur help!!!

justin_santhanam
Active Contributor
0 Kudos

Carsten,

Do u have the XSD which u are referring to? If yes upload the same in External Definition.

raj.