Author |
Message
|
achocks |
Posted: Tue Oct 23, 2012 9:20 am Post subject: Message Set from WSDL file - help please! |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
I am trying to call a webservice (WSDL was provided to me by the webservice provider) from my Flow using SOAP REQUEST node. For that I am trying to create a message set using WSDL...I am getting the followign error.
"Error Loading WSDL file. Check the WSDL for validity. The supplied WSDL must declare at least one WSDL binding to properly load"
Here are the things I have tried.
1) Validated the WSDL file using XML Spy. It is valid
2) Loaded the WSDL file in SOAPUI and was able to send requests and received response.
I am lost at this point, why I cannot load this to a message set.
Any help would be greatly appreciated.
Thanks in advance!
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.COMPANY.COM/PAL/Abcd17" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="HTTP://SHADOW.COMPANY.COM/PAL/Abcd17">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="HTTP://XYZ.ABC.COM/ABC/Abcd17">
<s:element name="Abcd17">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Abcd17Input" type="s0:Abcd17_input"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Abcd17_input">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="Abcd17_org" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="Abcd17_office" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="Abcd17_sw" type="s:string"/>
</s:sequence>
</s:complexType>
<s:element name="Abcd17Response">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="Abcd17Result" type="s0:Abcd17_area"/>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="Abcd17_area">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_input" type="s0:Abcd17_areaAbcd17_input"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_msgs" type="s0:Abcd17_areaAbcd17_msgs"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_output" type="s0:Abcd17_areaAbcd17_output"/>
</s:sequence>
</s:complexType>
<s:complexType name="Abcd17_areaAbcd17_input">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_org" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_office" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_sw" type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="Abcd17_areaAbcd17_msgs">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_msg_lvl" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_msg_text" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_sys_text" type="s:string"/>
</s:sequence>
</s:complexType>
<s:complexType name="Abcd17_areaAbcd17_output">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_mentor_off" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_division" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_region" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_name" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_lst_chg_dt" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_lst_chg_userid" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_cnt" type="s:short"/>
<s:element minOccurs="0" maxOccurs="50" nillable="true" name="Abcd17_array" type="s0:Abcd17_areaAbcd17_outputAbcd17_array"/>
</s:sequence>
</s:complexType>
<s:complexType name="Abcd17_areaAbcd17_outputAbcd17_array">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_emp_nbr" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_admin_name" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_satellite_ind" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_email" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_pos_dt" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_term_dt" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_ssn_id" type="s:string"/>
<s:element minOccurs="0" maxOccurs="1" nillable="true" name="Abcd17_pos_status" type="s:string"/>
</s:sequence>
</s:complexType>
</s:schema>
</types>
<binding name="Abcd17Soap" type="s0:Abcd17Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="Abcd17">
<soap:operation soapAction="HTTP://SHADOW.COMPANY.COM/PAL/Abcd17/Abcd17" style="document"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<message name="Abcd17SoapOut">
<part name="parameters" element="s0:Abcd17Response"/>
</message>
<message name="Abcd17SoapIn">
<part name="parameters" element="s0:Abcd17"/>
</message>
<portType name="Abcd17Soap">
<operation name="Abcd17">
<input message="s0:Abcd17SoapIn"/>
<output message="s0:Abcd17SoapOut"/>
</operation>
</portType>
<service name="Abcd17">
<port name="Abcd17Soap" binding="s0:Abcd17Soap">
<soap:address location="http://MFWEBT.COMPANY.COM:6111/ABC/Abcd17.zws"/>
</port>
</service>
</definitions>
|
|
|
Back to top |
|
 |
achocks |
Posted: Tue Oct 23, 2012 9:21 am Post subject: I am using WMB Toolkit 7.0.0.3 |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
I am using WMB Toolkit 7.0.0.3 |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 23, 2012 9:22 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
WSDLs/XSD normally have SomeRequest and SomeResponse. Yours does not.
XMLSpy and SoapUI are very loose validators. WMB is strict. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
achocks |
Posted: Tue Oct 23, 2012 9:30 am Post subject: Thanks lancelotlinc! |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
lancelotlinc...Thanks!! I am new to using webservice nodes in WMB. I am checking on your suggestions. Looking in to the 1-on-1 's of WSDL.
Any direction or sample you can provide will be very helpful.
Thanks in advance! |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 23, 2012 9:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you have the WSDL imported into Toolkit as a standalone WSDL - before you convert it to one or more sets of message definitions, you can use Toolkit to validate it first, it should be an option in a popup menu if you right-click on the wsdl file.
That may help find the issue.
There should also be a log file from the attempted import, that will be more clear about what was or wasn't found during the import.
You likely didn't import the dependent xsds. |
|
Back to top |
|
 |
achocks |
Posted: Tue Oct 23, 2012 9:42 am Post subject: Thanks MQJeff! |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
Thanks Jeff.
I validated the raw WSDL file using the Validate option in tool kit and it did not show any error.
Also there is no XSD dependencies in the WSDL . As you see in the attached code, all I got is one WSDl file with everything from the provider.
Since I couldn't import the WSDL, there are no logs.
Any suggestions?
Thanks in advance! |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 23, 2012 10:11 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
wbi_telecom |
Posted: Tue Oct 23, 2012 11:10 am Post subject: |
|
|
 Disciple
Joined: 15 Feb 2006 Posts: 188 Location: Harrisburg, PA
|
If you have an Enterprise version of XML spy which has SOAP menu, try creating a sample request message from your WSDL file (option under SOAP). You should see ABCDSoapin (the input message as per your WSDl) in the box that shows up right after you select the menu option from the bar. When you select that the XML Spy builds an empty request with dummy values. If your WSDL has any problems, you can see them under the problems view.
Cheers, |
|
Back to top |
|
 |
rekarm01 |
Posted: Tue Oct 23, 2012 6:52 pm Post subject: Re: Message Set from WSDL file - help please! |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
achocks wrote: |
Here are the things I have tried.
1) Validated the WSDL file using XML Spy. It is valid. |
No, it isn't valid. At least not the posted version of the wsdl:
Code: |
WSDL: The 'Abcd17' element referenced by the parameters part cannot be resolved, line 90
WSDL: The 'Abcd17Response' element referenced by the parameters part cannot be resolved, line 87
XSD: Type reference 'HTTP://SHADOW.COMPANY.COM/PAL/Abcd17#Abcd17_area' is unresolved, line 22
XSD: Type reference 'HTTP://SHADOW.COMPANY.COM/PAL/Abcd17#Abcd17_areaAbcd17_input' is unresolved, line 28
XSD: Type reference 'HTTP://SHADOW.COMPANY.COM/PAL/Abcd17#Abcd17_areaAbcd17_msgs' is unresolved, line 29
XSD: Type reference 'HTTP://SHADOW.COMPANY.COM/PAL/Abcd17#Abcd17_areaAbcd17_output' is unresolved, line 30
XSD: Type reference 'HTTP://SHADOW.COMPANY.COM/PAL/Abcd17#Abcd17_areaAbcd17_outputAbcd17_array' is unresolved, line 56
XSD: Type reference 'HTTP://SHADOW.COMPANY.COM/PAL/Abcd17#Abcd17_input' is unresolved, line 8 |
XMLSpy should have complained about an invalid XML schema.
achocks wrote: |
I am lost at this point, why I cannot load this to a message set. |
If the schema targetNamespace were modified so that it matched the wsdl targetNamespace ("HTTP://SHADOW.COMPANY.COM/PAL/Abcd17"), that would make the wsdl valid.
Whether the modified wsdl is correct is another matter, but at least the toolkit could generate a message set from it. |
|
Back to top |
|
 |
achocks |
Posted: Tue Oct 23, 2012 7:05 pm Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
Rekarm01 - Thank you so much for your help.
I did modified the WSDL file in too many places manually (for company privacy) and that might have made this WSDL invalid. This time I used global replace and there should not be any manual errors.
Can you PLEASE try this and let me know whether this is VALID?
Thanks in advance!
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://WESERVICE.COMPANY.COM/PAL/ALCCB17" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="HTTP://WESERVICE.COMPANY.COM/PAL/ALCCB17/">
<binding name="ALCCB17Soap" type="s0:ALCCB17Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="ALCCB17">
<soap:operation soapAction="HTTP://WESERVICE.COMPANY.COM/PAL/ALCCB17/ALCCB17/" style="document"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<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>
<service name="ALCCB17">
<port name="ALCCB17Soap" binding="s0:ALCCB17Soap">
<soap:address location="http://MFWEBT.COMPANY.COM:6111/PAL/ALCCB17.zws"/>
</port>
</service>
<types>
<s:schema elementFormDefault="qualified" targetNamespace="HTTP://WESERVICE.COMPANY.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>
</definitions>
|
|
|
Back to top |
|
 |
rekarm01 |
Posted: Wed Oct 24, 2012 12:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
achocks wrote: |
I did modified the WSDL file in too many places manually (for company privacy) and that might have made this WSDL invalid. |
Please try to confirm that the modified wsdl reproduces the same error as the original wsdl before posting it.
achocks wrote: |
Can you PLEASE try this and let me know whether this is VALID? |
It doesn't pass XMLSpy validation:
Code: |
File C:\Temp\alccb17.wsdl is not valid.
attribute 'message' in element input 'ALCCB17Request' (operation 'ALCCB17', portType 'ALCCB17Soap') refers to message 's0:ALCCB17SoapIn' but the namespace prefix 's0' does not match the message's 'ALCCB17SoapIn' namespace 'HTTP://WESERVICE.COMPANY.COM/PAL/ALCCB17/'!
Error location: definitions / portType / operation / input / @message |
After removing the trailing '/' from the wsdl definitions targetNamespace, it passes XMLSPY validation, but when creating a message definition file from the resulting wsdl file, the toolkit generates a warning:
Code: |
WS-I BP 1.1: (BP2018) wsdl:types element(s) in the WSDL namespace of the wsdl:definitions element were preceded by child elements other than wsdl:documentation or wsdl:import elements., Line: 35, Column: 2 |
The toolkit is still able to create message definitions from the wsdl though. |
|
Back to top |
|
 |
achocks |
Posted: Wed Oct 24, 2012 4:08 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
Thanks rekarm01.
Here are the two modifcations I did as per your suggestion.
1) Removed the trailng / from the target name space in the definition.
2) Moved the Types before the schema definitions.
But I am still getting the same exact error message "Error loading WSDL file, check the WSDL for validity. The supplied WSDL must declare at least one WSDL binding to properly load." when I tried to load the WSDL file using the NEW --> Message Definition file from --> WSDDL File -->Select File from outside worspace
I am using 7.0.0.3 version of Tootkit. Just wondering you may be using a different version or may be loading differently to WMB. Not sure though. Kindly let me know how you are loading the WSDL file.
Also I verified the below code (exactly as is) is loading fine in SOAPUI and vlidates in WMB without any error.But not loading. If you could create a message definition from the below without any modification, then it has to be my Broker missing some patches or something else..Any help would be greatly appreciated.
Thanks again!
Code: |
<?xml version="1.0"?>
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Greg Curtis (COMPANY SERVICES LLC) -->
<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://WEBSERVICE.COMPANY.COM/PAL/ALCCB17" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="HTTP://WEBSERVICE.COMPANY.COM/PAL/ALCCB17">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="HTTP://WEBSERVICE.COMPANY.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>
<binding name="ALCCB17Soap" type="s0:ALCCB17Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="ALCCB17">
<soap:operation soapAction="HTTP://WEBSERVICE.COMPANY.COM/PAL/ALCCB17/ALCCB17" style="document"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<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>
<service name="ALCCB17">
<port name="ALCCB17Soap" binding="s0:ALCCB17Soap">
<soap:address location="http://MFWEBT.COMPANY.COM:6111/PAL/ALCCB17.zws"/>
</port>
</service>
</definitions>
|
|
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 24, 2012 10:07 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
See the following wsdl:
It validates in the toolkit. I suggest you create a definition file from the wsdl file and then see how your message set deals with it:
Code: |
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Greg Curtis (COMPANY SERVICES LLC) -->
<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://WEBSERVICE.COMPANY.COM/PAL/ALCCB17"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="HTTP://WEBSERVICE.COMPANY.COM/PAL/ALCCB17">
<types>
<s:schema elementFormDefault="qualified" targetNamespace="HTTP://WEBSERVICE.COMPANY.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>
<binding name="ALCCB17Soap" type="s0:ALCCB17Soap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="ALCCB17">
<soap:operation soapAction="HTTP://WEBSERVICE.COMPANY.COM/PAL/ALCCB17/ALCCB17" style="document"/>
<input>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<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>
<service name="ALCCB17">
<port name="ALCCB17Soap" binding="s0:ALCCB17Soap">
<soap:address location="http://MFWEBT.COMPANY.COM:6111/PAL/ALCCB17.zws"/>
</port>
</service>
</definitions> |
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
achocks |
Posted: Thu Oct 25, 2012 4:06 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
Thanks fjb_saper!!
wow..The issue is the first line '<?xml version="1.0"?>;
Cannot believe WMB is not handling that.
Again - Thank you so much!
' |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Oct 25, 2012 5:18 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
achocks wrote: |
Thanks fjb_saper!!
wow..The issue is the first line '<?xml version="1.0"?>;
Cannot believe WMB is not handling that.
Again - Thank you so much!
' |
WMB handles it just fine. Its the developer that needs adjustment. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|