on 03-02-2011 11:55 AM
Hi,
how to create soap xsd structure with eb name prefix.when ia m trying to crate the xsd the name space prefix is coming as ns0 only.
-
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
<SOAP-ENV:Header>
<eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
SOAP-ENV:mustUnderstand="1" eb:id="20030222133003285">
<eb:From>
<eb:PartyId>FI9859292720000267</eb:PartyId>
<eb:Role>Sender</eb:Role>
</eb:From>
<eb:From>
<eb:PartyId>NDEAFIHH</eb:PartyId>
<eb:Role>Intermediator</eb:Role>
</eb:From>
<eb:To>
<eb:PartyId>FI3329501800008512</eb:PartyId>
<eb:Role>Receiver</eb:Role>
</eb:To>
<eb:To>
<eb:PartyId>NDEAFIHH</eb:PartyId>
<eb:Role>Intermediator</eb:Role>
</eb:To>
<eb:CPAId>yoursandmycpa</eb:CPAId>
<eb:ConversationId>nnnnn</eb:ConversationId>
<eb:Service>Routing</eb:Service>
<eb:Action>ProcessInvoice</eb:Action>
<eb:MessageData>
<eb:MessageId>1</eb:MessageId>
<eb:Timestamp>2003-01-22T11:12:12+02</eb:Timestamp>
<eb:RefToMessageId/>
</eb:MessageData>
</eb:MessageHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<eb:Manifest eb:id="Manifest" eb:version="2.0">
<eb:Reference eb:id="Finvoice" xlink:href="20020209-133003">
<eb:schema eb:location="http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
</eb:Reference>
</eb:Manifest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Regards,
H
>> how to create soap xsd structure with eb name prefix.when ia m trying to crate the xsd the name space prefix is coming as ns0 only.
I see namespace prefix only eb in your xsd. I dont see nso...
You specified as
eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" and
so you are getting eb as namespace prefix in the message.
What is your question? Please elaborate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I see namespace prefix only eb in your xsd. I dont see nso...
Namespace prefixes in xsd are not related to namespace prefixes in xml.
In fact prefixes can be choosen randomly.
PI uses always ns0, ns1, ns2 ...
You cannot influence this behaviour (which is correct according to namespace definition)
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.