The main reason is messagesize; the example above is only a small part of the message my webservice is going to send. It can have up to thousands of SupplyLines. With every SupplyLine having an own namespace the messagesize will grow big time.
I've been searching this forum, MSDN and Google for a solution but nothing seems to solve my problem so far. Can you help me?
ThaYoung1!
Member
339 Points
91 Posts
Webservice response using namespace prefix
Apr 17, 2008 08:38 AM|LINK
Hi,
I'm developing a webservice right now. This webservice sends the following response;
<SupplyResponse xmlns="http://dummy.com">
<Body xmlns="urn:fec:messages:data:final:AStandardMessage:1_0">
<Supply>
<SellerParty>
<PrimaryID xmlns="urn:un:unece:uncefact:data:draft:ReusableAggregateBusinessInformationEntity:2">12312312321</PrimaryID>
</SellerParty>
<SupplyLine>
<LineDetails>
<ID>ANID01</ID>
<Status>true</Status>
<LineDateTime>2008-04-17T08:58:11</LineDateTime>
<Characteristics>
<ClassCode xmlns="urn:un:unece:uncefact:data:draft:ReusableAggregateBusinessInformationEntity:2">L11</ClassCode>
<ValueCode xmlns="urn:un:unece:uncefact:data:draft:ReusableAggregateBusinessInformationEntity:2">010</ValueCode>
</Characteristics>
</LineDetails>
</SupplyLine>
</Supply>
</Body>
</SupplyResponse>
webservice 2.0 namespaces prefix .NET
ThaYoung1!