Author |
Message
|
kumar.MBMQ |
Posted: Mon May 11, 2015 7:26 am Post subject: Multiple annotations found at this line: Deployable WSDL |
|
|
Voyager
Joined: 06 May 2011 Posts: 93
|
I have created a deployable WSDL, But when i try to deploy in EG, Below error pops up .
any idea why I am getting these errors ?
Multiple annotations found at this line:
- XSD: There is no xmlns declaration for namespace 'http://own.com/CDM/MRServiceResponse/
1/0/1/14'
- XSD: The location 'mal_InlineSchema4.xsd' has not been resolved because the import is unused
-----
and the second error is here
Multiple annotations found at this line:
- WS-I BP 1.1: (BP2402) The service does not contain any binding that uses a SOAP 1.1
binding.
- Start tag of element <wsdl:service> |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 11, 2015 7:57 am Post subject: Re: Multiple annotations found at this line: Deployable WSDL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kumar.MBMQ wrote: |
any idea why I am getting these errors ? |
Well....
kumar.MBMQ wrote: |
Multiple annotations found at this line:
- XSD: There is no xmlns declaration for namespace 'http://own.com/CDM/MRServiceResponse/
1/0/1/14' |
I'd say this is because an xmlns declaration missing for the namespace.
kumar.MBMQ wrote: |
- XSD: The location 'mal_InlineSchema4.xsd' has not been resolved because the import is unused |
I'd say this is because there's a section defined in the XSD that isn't referenced, and is only an error if you think you should be trying to reference the section in the XSD.
kumar.MBMQ wrote: |
and the second error is here
Multiple annotations found at this line:
- WS-I BP 1.1: (BP2402) The service does not contain any binding that uses a SOAP 1.1
binding.
- Start tag of element <wsdl:service> |
I'd say this is a missing binding.
What tool did you use to verify the WSDL was valid? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kumar.MBMQ |
Posted: Mon May 11, 2015 9:18 am Post subject: |
|
|
Voyager
Joined: 06 May 2011 Posts: 93
|
I 'm using Broker toolkit . |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon May 11, 2015 9:22 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Tools such as SoapUI can validate your WSDL.
there are also some free online WSDL Validators.
I ALWAYS use at least one of these to validate my WSDL's outside of Broker and before deployment with a flow. _________________ 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 |
|
 |
fjb_saper |
Posted: Mon May 11, 2015 9:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
kumar.MBMQ wrote: |
I 'm using Broker toolkit . |
And with right click, verify on the wsdl file you did not get any errors?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
amrorabi |
Posted: Sun Oct 14, 2018 7:07 am Post subject: |
|
|
Newbie
Joined: 07 Nov 2016 Posts: 1
|
As reference for anyone in the future, I have faced this issue:
XSD: The location 'mal_InlineSchema4.xsd' has not been resolved because the import is unused
and Solved by removing the importing that is not used actually by the WSDL elements. |
|
Back to top |
|
 |
|