Author |
Message
|
achocks |
Posted: Tue May 01, 2012 9:18 am Post subject: MessageSet: Message Definition from WSDL Error |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
WMB Guru's,
I am trying to load the following WSDL to a messageset and getting the following error:
" Error loading WSDL file, check the WSDL for validity. The supplied WSDL must declare at least one WSDL binding to properly load."
The thing is , it does have SOAP binding information as you see below.
I am stuck. Any help would be greatly appreciated.
----------------------------------------
Code: |
<?xml version="1.0"?>
<definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s0="HTTP://SHADOW.COMPANYDOMAIN.COM/PAL/ALCCB17" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="HTTP://SHADOW.COMPANYDOMAIN.COM/PAL/ALCCB17">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="HTTP://SHADOW.COMPANYDOMAIN.COM/PAL/ALCCB17">
<s:element name="ALCCB17">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ALCCB17Input" type="s0:Alccb17_input"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Alccb17_input">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="Alccb17_org" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="Alccb17_office" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="Alccb17_sw" type="s:string"/>
</s:sequence>
</s:complexType>
<s:element name="ALCCB17Response">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ALCCB17Result" type="s0:Alccb17_area"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Alccb17_area">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_input" type="s0:Alccb17_areaAlccb17_input"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_msgs" type="s0:Alccb17_areaAlccb17_msgs"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_output" type="s0:Alccb17_areaAlccb17_output"/>
</s:sequence>
</s:complexType>
<s:complexType name="Alccb17_areaAlccb17_input">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_org" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_office" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_sw" type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="Alccb17_areaAlccb17_msgs">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_msg_lvl" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_msg_text" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_sys_text" type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="Alccb17_areaAlccb17_output">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_mentor_off" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_division" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_region" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_name" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_lst_chg_dt" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_lst_chg_userid" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_cnt" type="s:short"/>
<s:element minOccurs="0" maxOccurs="50" nillable="true" name="Alccb17_array" type="s0:Alccb17_areaAlccb17_outputAlccb17_array"/>
</s:sequence>
</s:complexType>
<s:complexType name="Alccb17_areaAlccb17_outputAlccb17_array">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_emp_nbr" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_admin_name" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_satellite_ind" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_email" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_pos_dt" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_term_dt" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_ssn_id" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Alccb17_pos_status" type="s:string"/>
</s:sequence>
</s:complexType>
</s:schema>
</types>
<message name="ALCCB17SoapOut">
<part name="parameters" element="s0:ALCCB17Response"/>
</message>
<message name="ALCCB17SoapIn">
<part name="parameters" element="s0:ALCCB17"/>
</message>
<portType name="ALCCB17Soap">
<operation name="ALCCB17">
<input message="s0:ALCCB17SoapIn"/>
<output message="s0:ALCCB17SoapOut"/>
</operation>
</portType>
<binding name="ALCCB17Soap" type="s0:ALCCB17Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="ALCCB17">
<soap:operation soapAction="HTTP://SHADOW.COMPANYDOMAIN.COM/PAL/ALCCB17/ALCCB17" style="document"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="ALCCB17">
<port name="ALCCB17Soap" binding="s0:ALCCB17Soap">
<soap:address location="http://MFWEBT.COMPANYDOMAIN.COM:6111/PAL/ALCCB17.zws"/>
</port>
</service>
</definitions> |
------------------------------- |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue May 01, 2012 9:37 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Try moving the different parts of the WSDL around, could be the importer is terminating the read too early.
Open a PMR to get help, but realize the WSDL import wizard has been very stable since WMB 6.1.0.9.
You did not mentiion what version you are on?
You can also turn on service trace and find out what part of the WSDL is being rejected. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
akidase |
Posted: Wed Mar 05, 2014 2:54 am Post subject: |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
I face the same problem as mentioned.
I am not sure how service trace captures data.. I did it and it resulted me with nothing as to which part of WSDL is broken/faulty
 |
|
Back to top |
|
 |
achocks |
Posted: Wed Mar 05, 2014 2:56 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
It worked for us when we gave the WSDL URL rather than the WSDL file in a local drive. You can give that a shot. |
|
Back to top |
|
 |
akidase |
Posted: Wed Mar 05, 2014 3:30 am Post subject: |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
In our case WSDL isn't hosted anywhere. I just have the file.  |
|
Back to top |
|
 |
|