• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Error in my WSDL file

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,

I have an error in my following WSDL file

at output Message and Binding Port Type (I have put them in Bold and Italics)

any pointers will be great help,

<?xml version="1.0" encoding="UTF-8"?>
<wsdl efinitions
xmlns:impl="http://audithistory.service.webservice.eah.cih.bmp.emdeon.com"
xmlns:intf="http://audithistory.service.webservice.eah.cih.bmp.emdeon.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://audithistory.service.webservice.eah.cih.bmp.emdeon.com">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://audithistory.service.webservice.eah.cih.bmp.emdeon.com"
xmlns:impl ="http://audithistory.service.webservice.eah.cih.bmp.emdeon.com"
xmlns:intf="http://audithistory.service.webservice.eah.cih.bmp.emdeon.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="auditHistoryRequest">
<complexType>
<xsd:sequence>
<xsd:element name="applicationName"
nillable="false" type="xsd:int" />
<xsd:element name="category" type="xsd:string" />
<xsd:element name="fromDate" type="xsd ate" />
<xsd:element name="toDate" type="xsd ate" />
<xsd:element name="limit" type="xsd:int" />
</xsd:sequence>
</complexType>
</xsd:element>
</schema>
</wsdl:types>

<wsdl:message name="auditHistoryRequest">
<wsdl art name="auditHistoryInput" element="impl:auditHistoryRequest"/>
</wsdl:message>

<wsdl:message name="auditHistoryResponse">
<wsdl art name="auditHistoryOutput" element="impl:auditHistoryResponse"/></wsdl:message>

<wsdl ortType name="AuditHistoryPortType"><wsdl peration name="retrieveAuditHistory">
<wsdl:input message="impl:auditHistoryRequest"/>
<wsdl utput message="impl:auditHistoryResponse" />
</wsdl peration>
</wsdl ortType>

<wsdl:binding name="AuditHistorySoapBinding" type="AuditHistoryPortType">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl peration name="retrieveAuditHistory">
<wsdl:input name="auditHistoryInput">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl utput name="auditHistoryOutput">
<wsdlsoap:body use="literal" />
</wsdl utput>
</wsdl peration>
</wsdl:binding>

<wsdl:service name="AuditHistoryService">
<wsdl ort binding="impl:AuditHistorySoapBinding"
name="AuditHistoryRequest">
<wsdlsoap:address location="https://localhost:9080/webservices/AuditHistory" />
</wsdl ort>
</wsdl:service>

</wsdl efinitions>
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While your schema in the WSDL types section defines {http://audithistory.service.webservice.eah.cih.bmp.emdeon.com}auditHistoryRequest, it fails to define {http://audithistory.service.webservice.eah.cih.bmp.emdeon.com}auditHistoryResponse which is used in the message {http://audithistory.service.webservice.eah.cih.bmp.emdeon.com}auditHistoryResponse.

Also to be on the safe side I would choose a different universal name on the message itself compared to the one used in the schema.

Have a look at this topic if you are looking for ideas.
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic