Soap Message error

SME
Giga Guru

Hi, my SNOW is trying to consume external web service but after I provide the wsdl in SOAP message module and click on Generate Sample SOAP messages. I get the below error :-

Unable to load WSDL: java.lang.RuntimeException: java.net.UnknownHostException: vtordaxdv02:java.net.UnknownHostException: vtordaxdv02

Can anyone tell what is the issue...how to fix it? Also, there is no place here where I can provide the mid server....?

1 ACCEPTED SOLUTION

Thanks Mike.



what we did now is because ServiceNow is not able to create those functions automatically. I manually created the function and used basic authentication. But the soap endpoint and function did not look correct thats why it gave bad request error.



To get over this error, AX guys are giving us soap message envelope and by using that we are able to get the response successfully. and status code 200.



Thanks for all help and support.


View solution in original post

33 REPLIES 33

Now I am getting this error :-



Unable to load WSDL: com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException:null




Also, I noticed that wsdl does not have any schema in it like the xsd tags......


This XML file does not appear to have any style information associated with it. The document tree is shown below.



<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:i0="http://schemas.microsoft.com/dynamics/2008/01/services"xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa10="http://www.w3.org/2005/08/addressing"xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="AssetServices" targetNamespace="http://tempuri.org/">



<wsp:Policy wsu:Id="NetTcpBinding_AssetConditionService_policy">



<wsp:ExactlyOne>



<wsp:All>



<msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"/>



<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">



<wsp:Policy>



<sp:TransportToken>



<wsp:Policy>



<msf:WindowsTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy">



<msf:ProtectionLevel>EncryptAndSign</msf:ProtectionLevel>


</msf:WindowsTransportSecurity>


</wsp:Policy>


</sp:TransportToken>



<sp:AlgorithmSuite>



<wsp:Policy>



<sp:Basic256/>


</wsp:Policy>


</sp:AlgorithmSuite>



<sp:Layout>



<wsp:Policy>



<sp:Strict/>


</wsp:Policy>


</sp:Layout>


</wsp:Policy>


</sp:TransportBinding>


<wsaw:UsingAddressing/>


</wsp:All>


</wsp:ExactlyOne>


</wsp:Policy>



<wsp:Policy wsu:Id="NetTcpBinding_AssetGroupService_policy">



<wsp:ExactlyOne>



<wsp:All>



<msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"/>



<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">



<wsp:Policy>



<sp:TransportToken>



<wsp:Policy>



<msf:WindowsTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy">



<msf:ProtectionLevel>EncryptAndSign</msf:ProtectionLevel>


</msf:WindowsTransportSecurity>


</wsp:Policy>


</sp:TransportToken>



<sp:AlgorithmSuite>



<wsp:Policy>



<sp:Basic256/>


</wsp:Policy>


</sp:AlgorithmSuite>



<sp:Layout>



<wsp:Policy>



<sp:Strict/>


</wsp:Policy>


</sp:Layout>


</wsp:Policy>


</sp:TransportBinding>


<wsaw:UsingAddressing/>


</wsp:All>


</wsp:ExactlyOne>


</wsp:Policy>



<wsp:Policy wsu:Id="NetTcpBinding_AssetLocationService_policy">



<wsp:ExactlyOne>



<wsp:All>



<msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"/>



<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">



<wsp:Policy>



<sp:TransportToken>



<wsp:Policy>



<msf:WindowsTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy">



<msf:ProtectionLevel>EncryptAndSign</msf:ProtectionLevel>


</msf:WindowsTransportSecurity>


</wsp:Policy>


</sp:TransportToken>



<sp:AlgorithmSuite>



<wsp:Policy>



<sp:Basic256/>


</wsp:Policy>


</sp:AlgorithmSuite>



<sp:Layout>



<wsp:Policy>



<sp:Strict/>


</wsp:Policy>


</sp:Layout>


</wsp:Policy>


</sp:TransportBinding>


<wsaw:UsingAddressing/>


</wsp:All>


</wsp:ExactlyOne>


</wsp:Policy>



<wsp:Policy wsu:Id="NetTcpBinding_AssetMajorTypeService_policy">



<wsp:ExactlyOne>



<wsp:All>



<msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"/>



<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">



<wsp:Policy>



<sp:TransportToken>



<wsp:Policy>



<msf:WindowsTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy">



<msf:ProtectionLevel>EncryptAndSign</msf:ProtectionLevel>


</msf:WindowsTransportSecurity>


</wsp:Policy>


</sp:TransportToken>



<sp:AlgorithmSuite>



<wsp:Policy>



<sp:Basic256/>


</wsp:Policy>


</sp:AlgorithmSuite>



<sp:Layout>



<wsp:Policy>



<sp:Strict/>


</wsp:Policy>


</sp:Layout>


</wsp:Policy>


</sp:TransportBinding>


<wsaw:UsingAddressing/>


</wsp:All>


</wsp:ExactlyOne>


</wsp:Policy>



<wsp:Policy wsu:Id="NetTcpBinding_AssetFixedAssetService_policy">



<wsp:ExactlyOne>



<wsp:All>



<msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1"/>



<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">



<wsp:Policy>



<sp:TransportToken>



<wsp:Policy>



<msf:WindowsTransportSecurity xmlns:msf="http://schemas.microsoft.com/ws/2006/05/framing/policy">



<msf:ProtectionLevel>EncryptAndSign</msf:ProtectionLevel>


</msf:WindowsTransportSecurity>


</wsp:Policy>


</sp:TransportToken>



<sp:AlgorithmSuite>



<wsp:Policy>



<sp:Basic256/>


</wsp:Policy>


</sp:AlgorithmSuite>



<sp:Layout>



<wsp:Policy>



<sp:Strict/>


</wsp:Policy>


</sp:Layout>


</wsp:Policy>


</sp:TransportBinding>


<wsaw:UsingAddressing/>


</wsp:All>


</wsp:ExactlyOne>


</wsp:Policy>


<wsdl:import namespace="http://schemas.microsoft.com/dynamics/2008/01/services" location="http://vtordaxdv02:8101/DynamicsAx/Services/AssetServices?wsdl=wsdl0"/>


<wsdl:types/>



<wsdl:binding name="NetTcpBinding_AssetConditionService" type="i0:AssetConditionService">



<wsp:PolicyReference URI="#NetTcpBinding_AssetConditionService_policy"/>


<soap12:binding transport="http://schemas.microsoft.com/soap/tcp"/>



<wsdl:operation name="getChangedKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetConditionService/getChangedKeys" style="document"/>



<wsdl:input name="AssetConditionServiceGetChangedKeysRequest">



<soap12:header message="i0:AssetConditionServiceGetChangedKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetConditionServiceGetChangedKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetConditionService/getKeys" style="document"/>



<wsdl:input name="AssetConditionServiceGetKeysRequest">



<soap12:header message="i0:AssetConditionServiceGetKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetConditionServiceGetKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="find">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetConditionService/find" style="document"/>



<wsdl:input name="AssetConditionServiceFindRequest">



<soap12:header message="i0:AssetConditionServiceFindRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetConditionServiceFindResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>


</wsdl:binding>



<wsdl:binding name="NetTcpBinding_AssetGroupService" type="i0:AssetGroupService">



<wsp:PolicyReference URI="#NetTcpBinding_AssetGroupService_policy"/>


<soap12:binding transport="http://schemas.microsoft.com/soap/tcp"/>



<wsdl:operation name="getChangedKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetGroupService/getChangedKeys" style="document"/>



<wsdl:input name="AssetGroupServiceGetChangedKeysRequest">



<soap12:header message="i0:AssetGroupServiceGetChangedKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetGroupServiceGetChangedKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="find">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetGroupService/find" style="document"/>



<wsdl:input name="AssetGroupServiceFindRequest">



<soap12:header message="i0:AssetGroupServiceFindRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetGroupServiceFindResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetGroupService/getKeys" style="document"/>



<wsdl:input name="AssetGroupServiceGetKeysRequest">



<soap12:header message="i0:AssetGroupServiceGetKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetGroupServiceGetKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>


</wsdl:binding>



<wsdl:binding name="NetTcpBinding_AssetLocationService" type="i0:AssetLocationService">



<wsp:PolicyReference URI="#NetTcpBinding_AssetLocationService_policy"/>


<soap12:binding transport="http://schemas.microsoft.com/soap/tcp"/>



<wsdl:operation name="getChangedKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetLocationService/getChangedKeys" style="document"/>



<wsdl:input name="AssetLocationServiceGetChangedKeysRequest">



<soap12:header message="i0:AssetLocationServiceGetChangedKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetLocationServiceGetChangedKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetLocationService/getKeys" style="document"/>



<wsdl:input name="AssetLocationServiceGetKeysRequest">



<soap12:header message="i0:AssetLocationServiceGetKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetLocationServiceGetKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="find">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetLocationService/find" style="document"/>



<wsdl:input name="AssetLocationServiceFindRequest">



<soap12:header message="i0:AssetLocationServiceFindRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetLocationServiceFindResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>


</wsdl:binding>



<wsdl:binding name="NetTcpBinding_AssetMajorTypeService" type="i0:AssetMajorTypeService">



<wsp:PolicyReference URI="#NetTcpBinding_AssetMajorTypeService_policy"/>


<soap12:binding transport="http://schemas.microsoft.com/soap/tcp"/>



<wsdl:operation name="find">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetMajorTypeService/find" style="document"/>



<wsdl:input name="AssetMajorTypeServiceFindRequest">



<soap12:header message="i0:AssetMajorTypeServiceFindRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetMajorTypeServiceFindResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getChangedKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetMajorTypeService/getChangedKeys" style="document"/>



<wsdl:input name="AssetMajorTypeServiceGetChangedKeysRequest">



<soap12:header message="i0:AssetMajorTypeServiceGetChangedKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetMajorTypeServiceGetChangedKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetMajorTypeService/getKeys" style="document"/>



<wsdl:input name="AssetMajorTypeServiceGetKeysRequest">



<soap12:header message="i0:AssetMajorTypeServiceGetKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetMajorTypeServiceGetKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>


</wsdl:binding>



<wsdl:binding name="NetTcpBinding_AssetFixedAssetService" type="i0:AssetFixedAssetService">



<wsp:PolicyReference URI="#NetTcpBinding_AssetFixedAssetService_policy"/>


<soap12:binding transport="http://schemas.microsoft.com/soap/tcp"/>



<wsdl:operation name="update">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/update" style="document"/>



<wsdl:input name="AssetFixedAssetServiceUpdateRequest">



<soap12:header message="i0:AssetFixedAssetServiceUpdateRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceUpdateResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="find">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/find" style="document"/>



<wsdl:input name="AssetFixedAssetServiceFindRequest">



<soap12:header message="i0:AssetFixedAssetServiceFindRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceFindResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="findKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/findKeys" style="document"/>



<wsdl:input name="AssetFixedAssetServiceFindKeysRequest">



<soap12:header message="i0:AssetFixedAssetServiceFindKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceFindKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="read">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/read" style="document"/>



<wsdl:input name="AssetFixedAssetServiceReadRequest">



<soap12:header message="i0:AssetFixedAssetServiceReadRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceReadResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/getKeys" style="document"/>



<wsdl:input name="AssetFixedAssetServiceGetKeysRequest">



<soap12:header message="i0:AssetFixedAssetServiceGetKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceGetKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="getChangedKeys">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/getChangedKeys" style="document"/>



<wsdl:input name="AssetFixedAssetServiceGetChangedKeysRequest">



<soap12:header message="i0:AssetFixedAssetServiceGetChangedKeysRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceGetChangedKeysResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>



<wsdl:operation name="create">



<soap12:operation soapAction="http://schemas.microsoft.com/dynamics/2008/01/services/AssetFixedAssetService/create" style="document"/>



<wsdl:input name="AssetFixedAssetServiceCreateRequest">



<soap12:header message="i0:AssetFixedAssetServiceCreateRequest_Headers" part="context" use="literal"/>


<soap12:body use="literal"/>


</wsdl:input>



<wsdl:output name="AssetFixedAssetServiceCreateResponse">



<soap12:body use="literal"/>


</wsdl:output>



<wsdl:fault name="AifFaultFault">



<soap12:fault name="AifFaultFault" use="literal"/>


</wsdl:fault>


</wsdl:operation>


</wsdl:binding>



<wsdl:service name="AssetServices">



<wsdl:port name="NetTcpBinding_AssetConditionService" binding="tns:NetTcpBinding_AssetConditionService">



<soap12:address location="net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices"/>



<wsa10:EndpointReference>



<wsa10:Address>


net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices


</wsa10:Address>



</wsa10:EndpointReference>


</wsdl:port>



<wsdl:port name="NetTcpBinding_AssetGroupService" binding="tns:NetTcpBinding_AssetGroupService">



<soap12:address location="net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices"/>



<wsa10:EndpointReference>



<wsa10:Address>


net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices


</wsa10:Address>



</wsa10:EndpointReference>


</wsdl:port>



<wsdl:port name="NetTcpBinding_AssetLocationService" binding="tns:NetTcpBinding_AssetLocationService">



<soap12:address location="net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices"/>



<wsa10:EndpointReference>



<wsa10:Address>


net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices


</wsa10:Address>



</wsa10:EndpointReference>


</wsdl:port>



<wsdl:port name="NetTcpBinding_AssetMajorTypeService" binding="tns:NetTcpBinding_AssetMajorTypeService">



<soap12:address location="net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices"/>



<wsa10:EndpointReference>



<wsa10:Address>


net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices


</wsa10:Address>



</wsa10:EndpointReference>


</wsdl:port>



<wsdl:port name="NetTcpBinding_AssetFixedAssetService" binding="tns:NetTcpBinding_AssetFixedAssetService">



<soap12:address location="net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices"/>



<wsa10:EndpointReference>



<wsa10:Address>


net.tcp://vtordaxdv02:8201/DynamicsAx/Services/AssetServices


</wsa10:Address>



</wsa10:EndpointReference>


</wsdl:port>


</wsdl:service>


</wsdl:definitions>


This last error looks like you're using SOAPUI. Are you now using SOAPUI to test your WSDL?


If so, when creating the project are you using a url or pointing to a wsdl file locally on your computer?



If you're using a url are you able to get to that url in a browser?



if using a local file then the error could stem from but not limited to one of these reasons:


  1. incorrect with the WSDL
  2. SOAPUI doesn't support that WSDL format
  3. If you have other java applications there could be a cross between the java files
  4. You may need to do more configuring of your SOAP UI application

Note: I do use SOAP UI from time to time but I'm not an expert with it.



Are you able to post screenshots of your setup within ServiceNow?


Please find the screen shot attached.


I have created this soap message. and I get this error when click on generate sample soap messages.soapmessage.JPG



Also, I am trying to consume AX web service. After, discussing with AX guys I came to know that they will be sending separate xsd file. that means schema information will not be in wsdl xml. Is it possible to have separate xsd in servicenow?


The first thing that I notice is that you more than likely copied the WSDL information from viewing it in a web browser. The first line should be taken out: "This XML file does not appear to have any style information associated with it. The document tree is show below."



I believe that the xsd file can be separate but if so you'll have to include a reference to the schema definition within the namespace. The xsd file should be accessible.


Do I have to do anything in SNOW to include a reference to the schema definition within the namespace. or its the AX who have to give the reference of the xsd in their wsdl?