on 03-20-2007 7:34 AM
hi,
i want to import a new webservice into our XI, but it i am wasnt able to generate a proxy-class for the messageinterface.
i found the documentation that describes what xsd types are supported and what are not, and it seems that the list type defined in the wsdl file is not supported, but how can i implement the webservice now?
the error message was:
-
-
Bei dem Objekt
. Dies bedeutet, dass das Objekt oder eines seiner Elemente oder Attribute völlig untypisiert ist.
-
-
the type defnition in the wsdl file:
-
-
<s:simpleType name="PhoneType">
<s:list>
<s:simpleType>
<s:restriction base="s:string">
<s:enumeration value="None" />
<s:enumeration value="Basa" />
<s:enumeration value="Extern" />
<s:enumeration value="Mobil" />
</s:restriction>
</s:simpleType>
</s:list>
</s:simpleType>
-
-
i have no idea how i could redefine the datatype to make it compatible with the incomming data.
maybe i had to write a mapping file?
please help.
this schema works in XI
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://otr.ru/gba" targetNamespace="http://otr.ru/gba">
<xsd:complexType name="PhoneType">
<xsd:sequence>
<xsd:element name="list">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Basa" />
<xsd:enumeration value="Extern" />
<xsd:enumeration value="Mobil" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Message was edited by:
Mikhail Koshkin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for help.
i am sorry but i didnt found the time yet to test the code.
but is it really possible to import the data with the slightly modified wsdl-file?
maybe i had to map the incoming data to this format before process it further in the xi?
Message was edited by:
Grafl Ronald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.