Hi All,

I am getting the following error message when consuming a web service created 
using Developer studio.

ERROR (8940): Error during XML definition parsing

WSDL

<?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions targetNamespace="urn:BBRECUpdate" 
xmlns:s0="urn:BBRECUpdate" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
- <wsdl:types>
- <xsd:schema elementFormDefault="qualified" targetNamespace="urn:BBRECUpdate">
  <xsd:element name="Set" type="s0:InputMapping3" /> 
- <xsd:complexType name="InputMapping3">
- <xsd:sequence>
  <xsd:element name="REC" type="xsd:dateTime" /> 
  <xsd:element name="Request_ID" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="SetResponse" type="s0:OutputMapping3" /> 
- <xsd:complexType name="OutputMapping3">
- <xsd:sequence>
  <xsd:element name="Request_ID" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo" /> 
- <xsd:complexType name="AuthenticationInfo">
- <xsd:sequence>
  <xsd:element name="userName" type="xsd:string" /> 
  <xsd:element name="password" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="authentication" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="locale" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="timeZone" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="ARAuthenticate">
  <wsdl:part element="s0:AuthenticationInfo" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="SetSoapIn">
  <wsdl:part element="s0:Set" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="SetSoapOut">
  <wsdl:part element="s0:SetResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:portType name="PortPortType">
- <wsdl:operation name="Set">
  <wsdl:input message="s0:SetSoapIn" /> 
  <wsdl:output message="s0:SetSoapOut" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="PortSoapBinding" type="s0:PortPortType">
  <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"; /> 
- <wsdl:operation name="Set">
  <soap:operation soapAction="urn:BBRECUpdate/Set" style="document" /> 
- <wsdl:input>
  <soap:header message="s0:ARAuthenticate" part="parameters" use="literal" /> 
  <soap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output>
  <soap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="BBRECUpdateService">
- <wsdl:port binding="s0:PortSoapBinding" name="PortSoap">
  <soap:address 
location="http://maxxweb/arsys/services/ARService?server=servenetdevdbs&webService=BBRECUpdate";
 /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

XML using Soap UI

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:BBRECUpdate">
   <soapenv:Header>
      <urn:AuthenticationInfo>
         <urn:userName>Test</urn:userName>
         <urn:password>Tester</urn:password>
         <!--Optional:-->
         <urn:authentication></urn:authentication>
         <!--Optional:-->
         <urn:locale>en_CA</urn:locale>
         <!--Optional:-->
         <urn:timeZone>America/New_York</urn:timeZone>
      </urn:AuthenticationInfo>
   </soapenv:Header>
   <soapenv:Body>
      <urn:Set>
         <urn:REC>2012-02-13T00:00:00.0000000-05:00</urn:REC>
         <urn:Request_ID>000000000000003</urn:Request_ID>
      </urn:Set>
   </soapenv:Body>
</soapenv:Envelope>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to