cancel
Showing results for 
Search instead for 
Did you mean: 

Error in java proxy generation due to <xs:choice> tag

Former Member
0 Kudos

Hi all,

I'm trying to generate a java proxy in the SAP XI design.

The message interface I'm using is based on an external definition which i imported from an xsd file.

The problem is that XI doesn't allow me to generate the java proxy because in the xsd schema the tag <xs:choice> is present and XI cannot handle it (just in this case, because the external definition works fine).

Does anybody know how to solve the problem or manage to generate the javaproxy anyhow?

Thanks in advance,

Daniele

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

choice is not supported.

See here:

service.sap.com/xi -> Media Library -> Documentation: SAP XI 3.0 (SP11) – Supported XML Schema and WSDL (EN).

If your message strucure is not too complex, you should create the interface inside the IR. Otherwise you have to edit the XSD.

Regards

Stefan

Answers (2)

Answers (2)

Former Member
0 Kudos

Daniele

I guess couple of features of XML schemas is still not supported in XI. Most probably <xs:choice> is one of them.

Rgds,

Amol

Former Member
0 Kudos

Conca,

Can you just check whether it is <xs:choice> or <xsd:choice>.

--Satish

Former Member
0 Kudos

Replace <xs:choice> tag with <b><xsd:choice> tag </b>

that should solve the prob.

reg

Former Member
0 Kudos

> Replace <xs:choice> tag with <b><xsd:choice> tag

> </b>

> that should solve the prob.

I tried to change the tag (replacing also other <xs:...> tags in order to obtain a valid xsd) but the problem didnt change.

i'm almost convinced that tag is not supported in java proxy generation (but it is for external definitions...)