on 06-05-2008 11:31 AM
Hi Experts,
we have used wsdl to generate a soure sturcture. In this code,
wsdl:part xmlns:generateduniqueprefix0=""
what does it means?
code:
<wsdl:message name="EmployeePhone">
<wsdl:part xmlns:generateduniqueprefix0="http://rapal.fi/optimaze/elisa" name="EmployeePhone" element="generateduniqueprefix0:EmployeePhone"/>
</wsdl:message>
Thanks
Balaprasad
Hey,
what does it means?
code:
<wsdl:message name="EmployeePhone">
<wsdl:part xmlns:generateduniqueprefix0="http://rapal.fi/optimaze/elisa" name="EmployeePhone" element="generateduniqueprefix0:EmployeePhone"/>
</wsdl:message>
once you load the wsdl into external definitions of XI,and try using this as your message type in message mapping..this will give you a popup, where employeename is there for selection(<wsdl:message name="EmployeePhone">). and when you select that there will be a node with ( <wsdl:message name="EmployeePhone">)
i.e. you can bind 2 different message types in a single wsdl.
Try loading this into your external definitions and you will understand what i said.
<?xml version="1.0" encoding="ISO-8859-1"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions">
<xsd:element name="_-BIC_-CQZPPCLAU00001000">
<xsd:complexType>
<xsd:all>
<xsd:element name="DATA">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item" type="_-BIC_-CQZPPCLAU00001000" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="_-BIC_-CQZPPCLAU00001000.Response">
<xsd:complexType>
<xsd:all />
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="date">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
<xsd:pattern value="....-..-.." />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="time">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="8" />
<xsd:pattern value="..:..:.." />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="_-BIC_-CQZPPCLAU00001000">
<xsd:sequence>
<xsd:element name="PM_ORDER" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="12" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="_-BIC_-ZARCOVRD" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
<xsd:pattern value="d" />*
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="_-BIC_-ZARCPSFL" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2" />
<xsd:pattern value="d" />*
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="_-BIC_-ZARCRULE" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
<xsd:pattern value="d" />*
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="DATE0" type="date" minOccurs="0" />
<xsd:element name="TIME" type="time" minOccurs="0" />
<xsd:element name="COMP_CODE" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="_-BIC_-ZPOSTPRD" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="_-BIC_-ZARCRLDS" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="35" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="_-BIC_-CQZPPCLAU00001000Input">
<wsdl:part xmlns:generateduniqueprefix0="urn:sap-com:document:sap:rfc:functions" name="parameters" element="generateduniqueprefix0:_-BIC_-CQZPPCLAU00001000" />
</wsdl:message>
<wsdl:message name="_-BIC_-CQZPPCLAU00001000Output">
<wsdl:part xmlns:generateduniqueprefix1="urn:sap-com:document:sap:rfc:functions" name="parameters" element="generateduniqueprefix1:_-BIC_-CQZPPCLAU00001000.Response" />
</wsdl:message>
</wsdl:definitions>
Thanks
Vijaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a namespace declaration.
The namespace http://rapal.fi/optimaze/elisa is attached to the element EmployeePhone
The namespace prefix generateduniqueprefix0 serves as link between the declaration and the object. Usually the prefix is not that long. In PI/XI ns0 or p0 is used.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.