ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » facing namespace issue

Post new topic  Reply to topic
 facing namespace issue « View previous topic :: View next topic » 
Author Message
SANTYP
PostPosted: Wed Oct 08, 2008 3:27 am    Post subject: facing namespace issue Reply with quote

Centurion

Joined: 27 Mar 2007
Posts: 142

Hi all,
I am working with xmlnsc domin, my outputs are based on one schema, in which that schema is calling another schema...
i am creating my out put based on the schema structure.....
but in the output i am geeting NS1, which is for main schema...

like....

<NS1:Msg xmlns:NS1="http://Account.lruc.tfl.gov.uk" xmlns:Vehicle="http://Vehicle.lruc.tfl.gov.uk" xmlns:VRM="http://VRM.lruc.tfl.gov.uk" xmlns:Common="http://Common.lruc.tfl.gov.uk" xmlns:Payment="http://Payment.lruc.tfl.gov.uk" xmlns:CustomerCommunication="http://CustomerCommunication.lruc.tfl.gov.uk" xmlns:Discount="http://Discount.lruc.tfl.gov.uk">
<NS1:Header>
<Common:dateTimeSent>2008-09-26T12:16:51Z</Common:dateTimeSent>
<Common:correlationId>0</Common:correlationId>
<Common:feedback/>
<Common:Format>String</Common:Format>
<Common:interfaceVersion/>
<Common:isPersistent>false</Common:isPersistent>
<Common:messageId/>
<Common:messageLifetime/>
<Common:priority/>
<Common:returnAddress/>
<Common:schemaVersion/>
<Common:segmentingInformation/>
<Common:senderApplication/>
<Common:messageSignature>MA==</Common:messageSignature>
</NS1:Header>
<NS1:GetAccountBatchResult>
<NS1:Account>
<CustomerAccount>
<NS1:SMS>
<NS1:prefToPayForAnyVehicle>true</NS1:prefToPayForAnyVehicle>
<NS1:SMSPaymentActivated>true</NS1:SMSPaymentActivated>
<NS1:defaultVRM>
<VRM:VRM>DEFAULTVRM</VRM:VRM>
<VRM:countryCode>IN</VRM:countryCode>
</NS1:defaultVRM>
<NS1:defaultProductType>1001</NS1:defaultProductType>
<NS1:mobileTelNumber>10011001</NS1:mobileTelNumber>
<NS1:primaryCustomerPaymentSourceRef>1001</NS1:primaryCustomerPaymentSourceRef>
<NS1:secondaryCustomerPaymentSourceRef>1001</NS1:secondaryCustomerPaymentSourceRef>
<NS1:accountStatus>Accepted</NS1:accountStatus>
<NS1:dateActivated>2006-01-01T12:12:12.000+05:30</NS1:dateActivated>
<NS1:closureDate>2009-01-01T12:12:12</NS1:closureDate>
</NS1:SMS>
<NS1:CustomerPaymentAccount>
<Payment:vehicleLimit>2</Payment:vehicleLimit>
<Payment:TopUpAmount>
<Common:Currency>GBP</Common:Currency>
<Common:grossAmount>0</Common:grossAmount>
<Common:VAT>Exempt</Common:VAT>
</Payment:TopUpAmount>
<Payment:channelPrefForTopupNotification></Payment:channelPrefForTopupNotification>
<Payment:isManual>true</Payment:isManual>
<Payment:providerPaymentAccountId>
<Common:provider>PROVIDER1</Common:provider>
<Common:providerId>1001</Common:providerId>


somthing.. like this... if observe the above one .. the main element is contains NS1.. i should not get that for oout put what i need to do ple suggest me.....


thanks in advance...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 08, 2008 3:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

NS1 is defined: <NS1:Msg xmlns:NS1="http://Account.lruc.tfl.gov.uk".....>
Remember the name is of little importance
NS1 or Account etc... It just needs to be defined.
XML was meant to be more machine readable than for you and me
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
SANTYP
PostPosted: Wed Oct 08, 2008 4:39 am    Post subject: Reply with quote

Centurion

Joined: 27 Mar 2007
Posts: 142

fjb_saper wrote:
NS1 is defined: <NS1:Msg xmlns:NS1="http://Account.lruc.tfl.gov.uk".....>
Remember the name is of little importance
NS1 or Account etc... It just needs to be defined.
XML was meant to be more machine readable than for you and me


u said correct thing but as per my requirement my message should be like <Msg xmlns="http://Account.lruc.tfl.gov.uk".....>

any I resovled this thanks for ur support...
Back to top
View user's profile Send private message
hopsala
PostPosted: Wed Oct 08, 2008 11:53 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

SANTYP, could you post how you solved your problem? Future generations may be wiser for it..

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » facing namespace issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.