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 » IIB Not Setting Parser when Request Coming from APIC

Post new topic  Reply to topic
 IIB Not Setting Parser when Request Coming from APIC « View previous topic :: View next topic » 
Author Message
EricCox
PostPosted: Mon May 22, 2017 12:37 pm    Post subject: IIB Not Setting Parser when Request Coming from APIC Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

To all,

When I test with SoapUI I get this where it invokes the XMLNS Parser and works:
2017-05-22 11:19:18.294750 11567 UserTrace BIP6061I: Node 'ALS_REQUEST.HTTPS Input ALS' used parser type ''HTTPInputHeader'' to process a portion of the incoming message of length '468' bytes beginning at offset '364'. The parser type was selected based on value ''WSINPHDR'' from the previous parser.
2017-05-22 11:19:18.294788 11567 UserTrace BIP6061I: Node 'ALS_REQUEST.HTTPS Input ALS' used parser type ''XMLNS'' to process a portion of the incoming message of length '842' bytes beginning at offset '832'. The parser type was selected based on value ''XMLNS'' from the previous parser.


But when I test going through APIC IIB Does not invoke the XMLNS Parser and the service fails:
2017-05-22 11:28:18.695722 11567 UserTrace BIP6061I: Node 'ALS_REQUEST.HTTPS Input ALS' used parser type ''HTTPInputHeader'' to process a portion of the incoming message of length '692' bytes beginning at offset '364'. The parser type was selected based on value ''WSINPHDR'' from the previous parser.
Here is where it should invoke the parser as shown above.
2017-05-22 11:28:18.695756 11567 UserTrace BIP2537I: Node 'ALS_REQUEST.getRqId': Executing statement ''BEGIN ... END;'' at ('.ALS_REQUEST_Compute.Main', '2.2').

I'm trying to do REST>>>SOAP>>>REST/JSON. I have a REST API defined on APIC which invokes a SOAP Service. The SOAP Response comes back to APIC which then converts it to a JSON Response. When I do this from APIC Assemble Tab or do it from SoapUI this is when I notice the lack of invoking the XMLNS Parser. If I take that exact same XML Request from the Debug window in APIC Assemple and put it in SoapUI it works and invokes that Parser correctly. So for some reason it appears when the request is built and sent by APIC it is having some affect on the XMLNS Parser being invoked on IIB. I can't put my finger on why yet.

Does anyone have any hints or insights on what might be going on and how to fix it?

Thanks to all in advance.
EC
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 22, 2017 3:47 pm    Post subject: Reply with quote

Grand High Poobah

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

Can you confirm that you have correctly defined the parser on the SOAP Input node / SOAP Request node?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
EricCox
PostPosted: Tue May 23, 2017 3:56 am    Post subject: XMLNS Parser Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

FJ,

I took a close look at the parser setting on the HTTPInput Node. It is set to XMLNS On-Demand.

Is there another setting I need to look at changing?

Thanks,

I hope all is well.

EC
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 23, 2017 6:23 pm    Post subject: Reply with quote

Grand High Poobah

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

You talk about HTTPInput node... are you using SOAP or JSON on that node?
If using SOAP would it help switching to a SOAP Input node?
Is there an RFH header in play somewhere that would potentially superseed the parser?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
EricCox
PostPosted: Wed May 24, 2017 4:01 am    Post subject: APIC Forced to POST Reply with quote

Master

Joined: 08 Apr 2011
Posts: 292

APIC was passing along the GET method to IIB by default. I forced APIC to switch it to POST and it works.

Thanks FJ
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 24, 2017 12:30 pm    Post subject: Reply with quote

Grand High Poobah

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

You're welcome
Glad you have it working
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB Not Setting Parser when Request Coming from APIC
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.