• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic