cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.3 AEX-Single stack Java-XSLT & XSD map support

former_member183906
Active Contributor
0 Kudos

hi,

i am developing a scenario in PI 7.3 single stack.

there is 1 external XSD and java,XSLT mapping both are there.

This is a BPM scenario . My query is :

(1) Can i use the external XSD which i have imported in ESR, as its giving error ?

(2) Can i use XSLT mapping ?

regards

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi,

(1) Can i use the external XSD which i have imported in ESR, as its giving error ?

Yes, you can create an external definition depending on an imported xml schema. When do you get an error? What is the error message?

(2) Can i use XSLT mapping ?

Yes

/Udo

former_member183906
Active Contributor
0 Kudos

the error when i used XSD from ESR i got this -

The error is :

ParseError at [row,col]:[1,212]
Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#EmptyPrefixedAttName?prefix="xmlns",localpart="ns1",rawname="xmlns:ns1"

Did you mean not to use XSD from ESR,better to create XSD in NWDS itself ?

udo_martens
Active Contributor
0 Kudos

Hi,

sorry, i missed "this is a BPM scenario".

Did you import a xsd from ESR? Did you create the data type there (or did you use an external definition)? Is the namespace of the message type may be empty?

You can execute operation mappings in BPM (SP > 1). http://scn.sap.com/community/process-orchestration/blog/2012/06/11/using-netweaver-pi-s-mapping-in-n...

-> Therefore you can use as well xsl mappings.

/Udo

former_member183906
Active Contributor
0 Kudos

hi,

thanks for reply,

XSD is imported from ESR.

XSD named test is showing namespace in ESR. It is used in message mapping which is also having namespace.

But when i imported Service interface in NWDS ,this XSD also came in NWDS. But the namespace is empty of it. I can't edit the namespace in NWDS for this XSD even.

What solution can be for it ?

udo_martens
Active Contributor
0 Kudos

Hi,

what about the field "XML Namespace" of the message type in ESR?

/Udo

former_member183906
Active Contributor
0 Kudos

Thanks 4 reply.

We have not used message type for this XSD.

This XSD is directly called in message mapping in ESR. In message mapping, namespace is present in ESR.

udo_martens
Active Contributor
0 Kudos

Hi,

so you imported a xml Schema as external definition to PI?

/Udo

former_member183906
Active Contributor
0 Kudos

yes i imported XSD as external definition in PI.

and when it comes to NWDS ,its coming in Data type section with empty namespace.

udo_martens
Active Contributor
0 Kudos

Hi,

Hard to say why NWDS doesn't accept the external definition. It might be possible to manipulate the xsd so that it s working, but i don't see a standard way for this. It is may be easier if you create a PI data type/ message type, which u use for BPM and map at PI to the external def.

/Udo

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Hello,

Did you got this resolved? I'm getting the same error. Let me know how did you resolved it.

Justin.