cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with "choice" element in WSDL

Former Member
0 Kudos

Hi,

I just wanted to create a client proxy using a wsdl file, but it failed due to the elements "choice " and "extension" which are not supported by SAP.

Are there any way to overcome this issue?

thanks in advance

Yy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Mr. yang,

There is another easy way .u can directly access from internet Explorer.

http://<host-name or IP address of XI server>:<java Port number)>/rep/start/index.jsp

for eg:

http://SERVERXI:50000/rep/start/index.jsp

Just do one thing first u try to open from SXMB_IFR.then u note down the URL.u can directly use the URL and use it .No need to log into XI system to access IR ID ,SLD and RWB

Regrads

BILL

<b>****Please close the Thread !!!</b>

Answers (1)

Answers (1)

Former Member
0 Kudos

yang,

can u be more specific.

regards

BILL

Former Member
0 Kudos

Hi bill

I wanna consume a webservice. and someone gave me the corresponding wsdl file containing the following syntax :

<xsd:complexType name="AusprgByZpParam">

<xsd:choice maxOccurs="1" minOccurs="1">

<xsd:element name="ZpNr" type="xsd:string" />

<xsd:element name="InstanceNr" type="xsd:string" />

</xsd:choice>

</xsd:complexType>

I just wanna create a proxy client using this , but it did not work.

The error was : the <choice > element is not supported in SAP

The "extension " element suffered from the same problem.

Thanks

Yy

Former Member
0 Kudos

Sorry yang,

i don't know the solution for that.U can have a look at these threads..possiblly u can get something...

Regard

BILL

Former Member
0 Kudos

any way, the two threads are very relevant

Thanks

Yy

Former Member
0 Kudos

We had the same problem I don't know of any workaround.

We resolved the problem by upgrading to PI7.0 - SP 12.

With SP 12 "choice " and "extension" XSD language elements are supported.

Thanks

Satish

Former Member
0 Kudos

Thanks,

one stupid question.

How can I see, whether I have PI7.0 - SP 12?

Yy

Former Member
0 Kudos

1) In SAP GUI and check System -->Status -->SAP system Data -->Component information

For SP version check

2) In ID or IR

Help --> Information

Thanks

Satish

Former Member
0 Kudos

Please note if you are in XI3.0 you don't have to upgrade to PI7.0. You have to find the equivalent SP which is I think SPS 20 for XI3.0.

Satish

Former Member
0 Kudos

Hi Satish

I m not sure, if I find the correct one .

What I have is (I guess, that is it)

PI_BASIS, 2005_1_700, 0012, SAPKIPYJ7C, PI_BASIS 2005_1_700

Is it the PI 7.0 SP 12 you mentioned?

Thanks again!

Yy

Former Member
0 Kudos

Hi Yang

Yes you using PI7.0 SP 12.

I rechecked at my end as well. Java proxy generation is failing when we use imported XSD with 'choice' elements.

Actually we had problems when we generated WSDL out of External definitions that used 'choice' elements(WSDL generated through Integration Directory). With SP12 this issue was resolved and we were able to generate WSDL files from external definitions that used CHOICE elements.

My suggestion would be the same for you, Make use of WSDL generation utility in integration directory to generate WSDL for your external definition and use that WSDL to call your webservice.

Hope this helps

Thanks

Satish

Former Member
0 Kudos

I will ask the guy who generated the wsdl!

Maybe he did not use this.

Thanks

Yy

Former Member
0 Kudos

Hi Satish,

I have three very stupid questions, because I m a newbie in SAP

Where is the Integration directory?

Where is the Integration Builder?

Where is the Integration Repository?

I can not find any information about them

Thanks

Yy

Former Member
0 Kudos

Hi yang,

It seems u r very new in XI.

ok let me tell about above things in a very simple way.

XI is a middleware.See here what is Exchange infrastructure

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

XI is connected into 4 main parts.

1)Integartion Builder

2)Integration Engine

3)SLD

4)Runtime Workbench

<b>Where is the Integration directory?

Where is the Integration Builder?

Where is the Integration Repository?</b>

Integration Builder = Integration Repository+Integration Directory.

In Intgration Repository we only design our interfaces.

In Intgration Directory we configure the objects that we have designed in IR.

In Integration Engine all ur objects gets execueted

In RWB u can monitor ur messages at different level.

SLD contains Technical system,Business system etc.

check here what is SLD

http://help.sap.com/saphelp_nw04/helpdata/en/31/f0ff69551e4f259fdad799a229363e/content.htm

One more thing...

Please follow SDN rules.Dont post multiple question in one thread

Regards

BILL

Former Member
0 Kudos

Hello Bill,

1. thanks for your reply

2. sorry for the multiple question .

I 'm wondering how i can get the integration builder , I mean which transaction code I need to use? There isn't any hint about this in the SAP online library.

At least this is hardly to find out.

Best wishes

Yy

Former Member
0 Kudos

Tcode: SXMB_IFR

Satish

Former Member
0 Kudos

Hi yang,

u login to ur XI system.use tranaction SXMB_IFR.there u can login to IR ,ID ,SLD and RWB.

regards

BILL