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 » XML, Output Queue and MessageSets.. guidance needed

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 XML, Output Queue and MessageSets.. guidance needed « View previous topic :: View next topic » 
Author Message
Vitor
PostPosted: Tue Sep 10, 2013 5:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:
Seriously, if the OP does not even have access to a dev machine without involving admins then I have to wonder what sort of site he's working on.


Quite. As I've attempted to make clear, my comments do not extend to a dev environment (local or otherwise).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 10, 2013 5:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chirasukham wrote:
I was just yanking a chain..


Welcome to the forum; enjoy your stay.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
chirasukham
PostPosted: Tue Sep 10, 2013 5:58 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 19

Vitor wrote:
chirasukham wrote:
I was just yanking a chain..


Welcome to the forum; enjoy your stay.




Thanks.

(note to self : Add Hursley to Bucket List of Destinations to be visited.)

Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 10, 2013 6:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

chirasukham wrote:
(note to self : Add Hursley to Bucket List of Destinations to be visited.)


Be sure to see the museum & tell everyone I said hi.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
chirasukham
PostPosted: Wed Sep 11, 2013 4:06 pm    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 19

OK, I've resolved some issues and now I'm stuck with this issue.
I think once I get past this one, I should have a working flow.

I have the following xsd, and I'm trying to create a new message definition file ( .mxsd ? ) using this XSD.

Code:
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema
                                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                                elementFormDefault="unqualified"
                                attributeFormDefault="unqualified"
                                targetNamespace="http://xml.bcbsfl.com/providerservices/PIP2DMD"
                                xmlns:p2d="http://xml.bcbsfl.com/providerservices/PIP2DMD"
                                version="1.0" >

                <xs:annotation>
                                <xs:documentation>
                                                2013-08-27j: initial generation
                                </xs:documentation>
                </xs:annotation>

<xs:include schemaLocation="CommonTypes.xsd"/>

<xs:complexType name="ProvServiceType">
                <xs:sequence>
                                <xs:element maxOccurs="unbounded" name="MedicalProgram" type="p2d:MedicalProgramType"/>
                </xs:sequence>
</xs:complexType>

<xs:complexType name="MedicalProgramType">
                <xs:attribute name="MedProgCode" type="p2d:String12" use="optional"/>
                <xs:attribute name="SubProgCode" type="p2d:String12" use="optional"/>
                <xs:attribute name="BdtcPdfValue" type="p2d:String12" use="optional"/>
                <xs:attribute name="EffectiveDate" type="p2d:String12" use="optional"/>
                <xs:attribute name="TermDate" type="p2d:String12" use="optional"/>
</xs:complexType>

</xs:schema>


It's generating the following sets of errors.
No finagling on my part seems to get rid of the "Message Set Cannot contain two global element declarations" error.

Code:
A Message Set can not contain two global element declarations with the same name and namespace (target or chameleon): '#MedicalProgram'               ProvService.mxsd           pip_dmd_msg_set/PIP_DMD     line 44  Cached Message Set Core Validation Problem
A Message Set can not contain two global type definitions with the same name and namespace (target or chameleon): '#MedicalProgramType'                ProvService.mxsd           pip_dmd_msg_set/PIP_DMD     line 45  Cached Message Set Core Validation Problem
A Message Set can not contain two global type definitions with the same name and namespace (target or chameleon): '#ProvServiceType'         ProvService.mxsd           pip_dmd_msg_set/PIP_DMD     line 46  Cached Message Set Core Validation Problem
Duplicate XML name for global elements 'MedicalProgram', 'MedicalProgram'. Physical format: 'XML'.  ProvService.mxsd                pip_dmd_msg_set/PIP_DMD     line 47  Cached Message Set Core Validation Problem


How can I resolve this issue ? I followed some APAR instructions from the IBM site, to try and do "Source"-> "Cleanup Document" after importing it into the work space, but to no avail.

Please help!.
Thanks
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Sep 12, 2013 1:22 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Is this a completely different problem? If so, you should really open a new thread.

The key question for me is 'why are you creating a new message set that contains an XML physical format?'.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
chirasukham
PostPosted: Thu Sep 12, 2013 2:07 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 19

If I understand correctly, this is not a new message set. Its part of a message set. (Message flow definition ?). ALso, I am not sure where the XSD says that I am creating an XML physical format.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Sep 12, 2013 2:53 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

I think Kimbert was referring to this

Quote:

Duplicate XML name for global elements 'MedicalProgram', 'MedicalProgram'. Physical format: 'XML'. ProvService.mxsd pip_dmd_msg_set/PIP_DMD line 47 Cached Message Set Core Validation Problem


Physical format: 'XML'
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Sep 12, 2013 3:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

chirasukham wrote:
I was just yanking a chain.. If I understand correctly, this is not a new message set. Its part of a message set. (Message flow definition ?). ALso, I am not sure where the XSD says that I am creating an XML physical format.


Then you should not be yanking peoples' chain and rather find some place to acquire the proper knowledge other than on this forum.

Participants of the forum expect you to come prepared. You seem unprepared and have not accomplished the due diligence expected of you.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
chirasukham
PostPosted: Thu Sep 12, 2013 3:49 am    Post subject: Reply with quote

Novice

Joined: 07 May 2013
Posts: 19

OK, I stand duly admonished.
Apologies.
This does not even appear to be an XSD import issue.
I will create a new thread with another approach to the issue I am facing.
Thank you.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Sep 12, 2013 4:37 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I am not sure where the XSD says that I am creating an XML physical format.
The XSD doesn't explicitly say so, unless you know where to look. Physical formats ( XML or otherwise ) are added to a message set, and apply to all message definitions in the message set.
Quote:
If I understand correctly, this is not a new message set. Its part of a message set.
Right - but your overall task appears to be a new message flow, with a new message set. If so, you should be using XMLNSC, not MRM. XMLNSC does not require the XML physical format, and will not use it even if it happens to be present in the message set.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 12, 2013 5:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
Then you should not be yanking peoples' chain and rather find some place to acquire the proper knowledge other than on this forum.

Participants of the forum expect you to come prepared. You seem unprepared and have not accomplished the due diligence expected of you.


A little grumpy this morning are we? Did Siri tell you to get your own contact admin coffee?


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Sep 12, 2013 5:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Vitor wrote:
lancelotlinc wrote:
Then you should not be yanking peoples' chain and rather find some place to acquire the proper knowledge other than on this forum.

Participants of the forum expect you to come prepared. You seem unprepared and have not accomplished the due diligence expected of you.


A little grumpy this morning are we? Did Siri tell you to get your own contact admin coffee?



No, but here is how I implemented the coffee :

1. Bought an Intel NUC.

2. Installed IIB on NUC.

3. Installed WeMo.

4. Created message flow EmailInput -> Compute -> HttpRequest.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Sep 12, 2013 5:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You need to use RFC 1149 to transport coffee.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 12, 2013 5:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
Vitor wrote:
lancelotlinc wrote:
Then you should not be yanking peoples' chain and rather find some place to acquire the proper knowledge other than on this forum.

Participants of the forum expect you to come prepared. You seem unprepared and have not accomplished the due diligence expected of you.


A little grumpy this morning are we? Did Siri tell you to get your own contact admin coffee?



No, but here is how I implemented the coffee :

1. Bought an Intel NUC.

2. Installed IIB on NUC.

3. Installed WeMo.

4. Created message flow EmailInput -> Compute -> HttpRequest.


I use a Keurig kept constantly on standby.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XML, Output Queue and MessageSets.. guidance needed
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.