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 » WESB WSDL to IIB

Post new topic  Reply to topic
 WESB WSDL to IIB « View previous topic :: View next topic » 
Author Message
meena05
PostPosted: Mon Mar 21, 2016 6:32 am    Post subject: WESB WSDL to IIB Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

Hi ,

I am trying to convert WESB services to IIB.
Consumer had a requirement that the WSDL should not change.

How can I use WESB's service WSDL in IIB?

When I tried creating Message Model from existing WSDL. It created Inline schemas. My IIB WSDL did not match the WESB/Consumer WSDL file.

Please guide me. Thank you!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 21, 2016 6:36 am    Post subject: Re: WESB WSDL to IIB Reply with quote

Grand High Poobah

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

meena05 wrote:
When I tried creating Message Model from existing WSDL. It created Inline schemas. My IIB WSDL did not match the WESB/Consumer WSDL file.


What's bad about that? What about the end result doesn't match the consumer's expectations?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
meena05
PostPosted: Mon Mar 21, 2016 6:43 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

It failed at consumer end.
with error " invalid soap call exception"

Consumer WSDL has two xsd's.
When I took consumer WSDL and created Message Model. My message Model created three xsd's with different inline schema names.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 21, 2016 6:55 am    Post subject: Reply with quote

Grand High Poobah

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

meena05 wrote:
It failed at consumer end.
with error " invalid soap call exception"


And how did you determine that this was the result of a badly constructed WSDL and not (for example) a code or configuration error?

meena05 wrote:
Consumer WSDL has two xsd's.
When I took consumer WSDL and created Message Model. My message Model created three xsd's with different inline schema names.


Again, I ask why that is a problem?

Did you correctly import the XSDs prior to importing the WSDL?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
meena05
PostPosted: Mon Mar 21, 2016 7:19 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

The new IIB service URL is working for me in SOAP UI
But it is failing for Consumer.

Any Request/response inside the WSDL, IIB Message Model is converting them into Schemas by default. For consumer, WSDL has these objects within the WSDL file.
Except this I do not see any other differences.

Please advise.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Mar 21, 2016 7:23 am    Post subject: Reply with quote

Grand High Poobah

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

Did you request the ESB file and use the wizard to import it?
This should have created your WSDL and a bunch or other artifacts...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Mar 21, 2016 7:39 am    Post subject: Reply with quote

Grand High Poobah

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

meena05 wrote:
The new IIB service URL is working for me in SOAP UI
But it is failing for Consumer.


meena05 wrote:
Please advise.


Tell the customer whatever code bug they've got at their end might have been tolerated by WESB but it isn't by IIB.

Alternatively you could abandon the use of IIB's SOAP tooling and roll your own through an HTTPInput node. I wouldn't, but it's an option.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
meena05
PostPosted: Mon Mar 21, 2016 8:44 am    Post subject: Reply with quote

Apprentice

Joined: 26 Feb 2016
Posts: 39

Thank you for your quick responses. I will work with consumer on this. Will get back if any questions. Thanks again!
Back to top
View user's profile Send private message
timber
PostPosted: Mon Mar 21, 2016 9:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

Quote:
Any Request/response inside the WSDL, IIB Message Model is converting them into Schemas by default. For consumer, WSDL has these objects within the WSDL file.
Yes, IIB always does that. This does not change the meaning of the WSDL. IIB just prefers to keep the WSDL separate from the XSD.
Quote:
The new IIB service URL is working for me in SOAP UI
But it is failing for Consumer.
How *exactly* is it failing? Can you quote any error messages reported by the customer?

In my opinion, it's too early to talk about how to fix this - we don't even know what the problem is yet.
Back to top
View user's profile Send private message
Gralgrathor
PostPosted: Mon Mar 21, 2016 10:16 pm    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

timber wrote:
Yes, IIB always does that.

It does so in an incredibly stupid way, by the way. Especially if you look at IIB9's limitations regarding schema definitions. There are lots of scenario's in which two linked WSDLs partly overlap, and the way IIB splits up WSDLs makes resolving conflicts a *load of work.
_________________
A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine.
Back to top
View user's profile Send private message Send e-mail
timber
PostPosted: Tue Mar 22, 2016 12:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

Quote:
It does so in an incredibly stupid way, by the way.
To be clear, I'm not here to defend IIB's treatment of WSDLs. But it can be made to work, and I stand by the advice given above.
Quote:
Especially if you look at IIB9's limitations regarding schema definitions.
You are referring to the fact that
a) One Application cannot contain two definitions of the same XML Schema qualified name, but
b) If you import two WSDLs, and they both define the same QName in their inline xsds then you will always violate rule a)
IIBv10 provides a good workaround; you can put each imported WSDL into its own shared library, and get around the limitation.
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 » WESB WSDL to IIB
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.