on 09-19-2012 12:23 PM
Hello Experts,
I have created 2 external defnitions the same i have used in Inbound and outbound Message Interfaces .In PI every thing is fine object is activated
I am facing following the error when using SPROXY in ECC to generate a proxy based on an XSD schema:
Proxy generation terminated: WSDL error (<union> not supported).
Please through some light on the issue any help is highly appreciated.
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
I have imported XSD in to the external defnition in the WSDL tab i am able to see the union as below
<xsd:simpleType name="integer-or-empty">
<xsd:union xmlns=http:/nXYZ.xxxxxx.XYZu memberTypes="xsd:integer empty-string" />
</xsd:simpleType>
How can i overcome this issue if this is not supported by PI.Is it also depends on the version of PI ? iam using PI7.0
Regards
Praveen
Hi Praveen,
You can obtain the expected goal using a regular expression.
Check this:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="target">
<xs:complexType>
<xs:sequence>
<xs:element name="Example">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\N?"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
With "/N" you point all numbers.
With "?" you allow the empty string.
Regards.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.