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 » WBI 2.1 and Namespace

Post new topic  Reply to topic
 WBI 2.1 and Namespace « View previous topic :: View next topic » 
Author Message
belka
PostPosted: Wed Nov 24, 2004 12:33 pm    Post subject: WBI 2.1 and Namespace Reply with quote

Novice

Joined: 16 Jun 2004
Posts: 17

Hi.

we are using PeopleSoft Adapter with WBI 2.1 (CSD 7). Adapter messages are all prefixed with namespace and there is no way to turn that off (righ now).

Is there a way to strip off namespace prefix in WBI, so we can use the MessageSet imported into WBI.

I've tried to use RCD node to reset the incomming XML message to MRM with corresponding message set and message type, but MRM root node comes out empty. don't know if i'm doing enough.

here a sample message and corresponding xsd imported as a message set.

***********************************************
<?xml version="1.0" encoding="UTF-8"?>
<Q1:M_SPB_PROVIDER_CI xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/M_SPB_PROVIDER_CI" version="3.0.0" verb="Update" locale="en_US" delta="false">
<Q1:PERSON_ID>000000000000006</Q1:PERSON_ID>
<Q1:SPRO_PERSON_TYPE>SP</Q1:SPRO_PERSON_TYPE>
<Q1:USER_ACC_STATUS>1</Q1:USER_ACC_STATUS>
<Q1:FIRST_NAME>Mike</Q1:FIRST_NAME>
<Q1:MIDDLE_NAME/>
<Q1:LAST_NAME>Smith</Q1:LAST_NAME>
<Q1:NAME>Smith,Mike</Q1:NAME>
<Q1:TITLE>Hiring Manager</Q1:TITLE>
<Q1:PER_STATUS>N</Q1:PER_STATUS>
<Q1:INDP_PROVIDER>N</Q1:INDP_PROVIDER>
<Q1:SPB_SERVICE_PRV size="1">
<Q4:SPB_SERVICE_PRV xmlns:Q4="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_SERVICE_PRV" version="3.0.0" verb="" locale="en_US" delta="false">
<Q4:SP_FUNCTION_TYPE>PROV</Q4:SP_FUNCTION_TYPE>
<Q4:VENDOR_SETID>RCKWL</Q4:VENDOR_SETID>
<Q4:VENDOR_ID>0000000001</Q4:VENDOR_ID>
<Q4:LOCATION>HQ</Q4:LOCATION>
<Q4:PROVIDER_CONTACT>000000000000001</Q4:PROVIDER_CONTACT>
<Q4:SETID_PROJROLE>RCKWL</Q4:SETID_PROJROLE>
<Q4:PROJ_ROLE>ASSEMBLY OPR</Q4:PROJ_ROLE>
<Q4:WORK_STATUS/>
<Q4:SPF_YRS_EXPERIENCE>2</Q4:SPF_YRS_EXPERIENCE>
<Q4:TRAVEL_REQUIRED/>
<Q4:TELECOMMUTE/>
</Q4:SPB_SERVICE_PRV>
</Q1:SPB_SERVICE_PRV>

********************************************************
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xsd:schema targetNamespace="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/M_SPB_PROVIDER_CI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bx="http://www.ibm.com/websphere/crossworlds/2002/BOSchema" xmlns:SPB_SERVICE_PRV="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_SERVICE_PRV" xmlns:SPB_PROV_SKILLS="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_PROV_SKILLS" xmlns:SPB_PERS_PHONE="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_PERS_PHONE" xmlns:SPB_PERS_EMAIL="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_PERS_EMAIL" elementFormDefault="qualified">
<xsd:annotation>
<xsd:documentation>Tue Nov 23 09:55:15 CST 2004</xsd:documentation>
</xsd:annotation>
<xsd:import namespace="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_SERVICE_PRV" schemaLocation="SPB_SERVICE_PRV.xsd"/>
<xsd:import namespace="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_PERS_PHONE" schemaLocation="SPB_PERS_PHONE.xsd"/>
<xsd:import namespace="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_PERS_EMAIL" schemaLocation="SPB_PERS_EMAIL.xsd"/>
<xsd:import namespace="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/SPB_PROV_SKILLS" schemaLocation="SPB_PROV_SKILLS.xsd"/>
<xsd:element name="M_SPB_PROVIDER_CI">
<xsd:annotation>
<xsd:appinfo>
<bx:boDefinition version="3.0.0">
<bx:appSpecificInfo>CiName=M_SPB_PROVIDER_CI:setInteractiveMode=false:GetHistoryItems=true:EFFDT=false:SetEditHistoryItems=true:GetDummyRows=true</bx:appSpecificInfo>
</bx:boDefinition>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PERSON_ID" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
<bx:boAttribute>
<bx:appSpecificInfo>get=getPersonId:set=setPersonId:getKey=true</bx:appSpecificInfo>
<bx:attributeInfo isForeignKey="false" isKey="true"/>
</bx:boAttribute>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="255"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="SPRO_PERSON_TYPE" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
<bx:boAttribute>
<bx:appSpecificInfo>get=getSproPersonType:set=setSproPersonType</bx:appSpecificInfo>
<bx:attributeInfo isForeignKey="false" isKey="false"/>
</bx:boAttribute>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="255"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="USER_ACC_STATUS" minOccurs="0">
<xsd:annotation>
<xsd:appinfo>
<bx:boAttribute>
<bx:appSpecificInfo>get=getUserAccStatus:set=setUserAccStatus</bx:appSpecificInfo>
<bx:attributeInfo isForeignKey="false" isKey="false"/>
</bx:boAttribute>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="255"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="FIRST_NAME" minOccurs="0">
*************************************************

thanks.
_________________
-belka
Back to top
View user's profile Send private message MSN Messenger
JLRowe
PostPosted: Wed Nov 24, 2004 1:31 pm    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

2.1 does not support namespaces, support was added in WBIMB v5
Back to top
View user's profile Send private message Send e-mail
smeunier
PostPosted: Fri Dec 03, 2004 8:21 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

Hi,

I also had this problem using the mySap.com adapter. It was a pain as well. But i got around it. In the adapter configurat, set the output for mrm and not jms.

All you need to do really, is qualify the namespace

SET OutputRoot.XML.DC.rcvsad = RefToCtrl."MD_SAP_BO_sap_idoccontrol:IDoc_SADR_fields_in_total";
Back to top
View user's profile Send private message
RocknRambo
PostPosted: Sat Dec 04, 2004 9:21 am    Post subject: Reply with quote

Partisan

Joined: 24 Sep 2003
Posts: 355

If ur trying to form an outputRoot.XML from a message from adapter which is CwXML, u dont need need MRM .... just qualify the namespace in esql.


ex:

Code:
SET OutputRoot.XML.PERSON_ID = InputRoot.XML."Q1:M_SPB_PROVIDER_CI "."Q1:PERSON_ID;


Is this wht..r u trying to achieve.???

-RR
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 » WBI 2.1 and Namespace
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.