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 » Problems with namespaces.

Post new topic  Reply to topic
 Problems with namespaces. « View previous topic :: View next topic » 
Author Message
fpg8
PostPosted: Wed Apr 11, 2012 6:48 am    Post subject: Problems with namespaces. Reply with quote

Novice

Joined: 26 Mar 2012
Posts: 15

Hello, I have a problem with a requirement.

I have a wsdl from external interface whose namespace is: xmlns: NS1 = "http://pp.com.ar/COL/FACTCOBROTARJ_ALTA">

It worked all right until the client sent me a test message and see the output with the namespace renamed to:
xmlns: NS1 = "http://pp.com.ar/EBK/FACTCOBROTARJ_ALTA">

In my flow after trying it out for failure because you can not find the namespace.

I have some way to permit this change in namespace in the output of a node soap request?

thank you very much.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Apr 11, 2012 6:54 am    Post subject: Reply with quote

Jedi Knight

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

You, you can change the output through ESQL.
_________________
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
fpg8
PostPosted: Wed Apr 11, 2012 7:00 am    Post subject: Reply with quote

Novice

Joined: 26 Mar 2012
Posts: 15

lancelotlinc wrote:
You, you can change the output through ESQL.


Sorry but do not understand how,

I have a mapping node -> node SoapRequest.failure.

Where to put the node ESQL, if the node has a set of SoapRequest message whose namespace is "http://pp.com.ar/COL/FACTCOBROTARJ_ALTA" and not "http://pp.com.ar/EBK/FACTCOBROTARJ_ALTA"?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 11, 2012 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You have two separate SOAP functions.

You need two separate WSDLS, one that has one namespace and one that has the other.

The namespace defines the meaning of the name. A field called "FirstName" has any meaning in the universe. A field called "http://pp.com.ar/EBK/FACTCOBROTARJ_ALTA:FirstName" has exactly one meaning. And this is a different meaning than "http://pp.com.ar/COL/FACTCOBROTARJ_ALTA:FirstName".

You're not expressing sufficient training and understanding to be qualified for the task you're attempting. This doesn't mean you *aren't*, you're just not *showing* it.

You should sit down with someone at your site and talk through this with them.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Apr 11, 2012 7:16 am    Post subject: Reply with quote

Jedi Knight

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

"Sorry but do not understand how, "

There are ways you can acquire sufficient knowledge to complete this task. Knowing how is the key. You cannot learn "how" without knowledge.

You can have a coach or mentor.

You can go to training class. (WM663 for WMB v7)

You can read the Infocentre.

You can read books.

You can Google.
_________________
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
fpg8
PostPosted: Wed Apr 11, 2012 7:32 am    Post subject: Reply with quote

Novice

Joined: 26 Mar 2012
Posts: 15

Mqjeff, lancelotlinc. Thank you very much for your answers!
Continue to solve my problems as before, reading and researching.
Unfortunately IBM in Latin America has a policy not successful offering training on WMB.
regards.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 11, 2012 7:48 am    Post subject: Reply with quote

Grand High Poobah

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

fpg8 wrote:
Unfortunately IBM in Latin America has a policy not successful offering training on WMB.


Your knowledge gap in not in WMB. The problem you're experiencing is a web service one, as my most worthy associate explained. You're trying to map 1 operation onto 2 different names; WSDL does not allow this.

Because WSDL does not allow this, WMB does not offer a means of supporting it.

What you could do is pick one WSDL & write ESQL to change the namespace of any inbound operation to the one you're referencing in the SOAP call. This is well beyond the scope of a mapping node & exposes your flow to serious design risk.

But you could do it. Alternatively you could ask the client why they're sending samples that don't match the WSDL. You could have the wrong (out of date) WSDL. They could have the wrong (out of date) WSDL. That's one of the serious design risks I mention above.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Apr 11, 2012 8:10 am    Post subject: Reply with quote

Jedi Knight

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

fpg8 wrote:
Mqjeff, lancelotlinc. Thank you very much for your answers!
Continue to solve my problems as before, reading and researching.
Unfortunately IBM in Latin America has a policy not successful offering training on WMB.
regards.


Para sala de aula Instrutor Led contact admin, algumas classes podem estar disponíveis através de formato Live Virtual Classroom tomar remotamente em uma sala de aula perto de você ou entregue no seu desktop.

Este formato de entrega você pode economizar desafios de produtividade e diminuir o tempo gasto longe do trabalho e casa. Você pode optar por tomar o seu ensino técnico à distância em uma sala de aula perto de você ou entregue como uma classe ao vivo em seu desktop. É um passo acima de videoconferência tradicional, com cristalina, em tempo real, duas vias de áudio / visual e comunicação hands-on labs.
_________________
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: Wed Apr 11, 2012 9:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
Para sala de aula Instrutor Led contact admin, algumas classes podem estar disponíveis através de formato Live Virtual Classroom tomar remotamente em uma sala de aula perto de você ou entregue no seu desktop.

Latin America IS NOT EQUAL to Spanish. And Spanish Spanish is not Peruvian Spanish is not Venezuelan Spanish is not Mexican Spanish is not....

You've also just said something horrendously lewd in Portuguese.

fpg8 - I did not say "get training". I said "talk to someone locally at your site about how to solve this".
Back to top
View user's profile Send private message
fpg8
PostPosted: Wed Apr 11, 2012 9:59 am    Post subject: Reply with quote

Novice

Joined: 26 Mar 2012
Posts: 15

I think it adds nothing further commenting on this post.
Thank you very much everyone for your responses.
regards.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 11, 2012 10:44 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
You've also just said something horrendously lewd in Portuguese.


How horrendously lewd? Should be moderated lewd?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 11, 2012 10:49 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
You've also just said something horrendously lewd in Portuguese.


How horrendously lewd? Should be moderated lewd?


No, no. I'm mostly making a joke.

I recently spent a month with a gentleman from Brazil who kept explaining that everything we said was actually lewd in Portuguese.

I make no assertions as to the actual nature of the actual comments made.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 11, 2012 10:53 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Vitor wrote:
mqjeff wrote:
You've also just said something horrendously lewd in Portuguese.


How horrendously lewd? Should be moderated lewd?


No, no. I'm mostly making a joke.

I recently spent a month with a gentleman from Brazil who kept explaining that everything we said was actually lewd in Portuguese.

I make no assertions as to the actual nature of the actual comments made.


You have to remember my cultural background; grounded in a belief that you can speak any non-English based language by simply speaking English slowly, distinctly and from about 5 inches directly in front of your target's face.
_________________
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 Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problems with namespaces.
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.